Google Cast iOS SDK v3.3 archive upload issue

不羁岁月 提交于 2019-12-24 06:45:50

问题


I use latest version of Xcode (8.2.1 b8C1002) and latest version of GoogleCast.framework (3.3.0)

Obviously i followed these steps to integrate the SDK

When i try to upload my archived application i found these issues

someone had this trouble and found a solution?

Thanks in advance


回答1:


iOS Sender v3.3 added a shell script strip_unused_archs.sh to the SDK package that strips unused architectures from an app bundle. This enables submitting to the App Store. For example, this script removes simulator slices, which are included in the framework but are not allowed in the App Store.




回答2:


Add strip_unused_archs.sh In Project -> Build Phases -> New Run Script Phase

strip_unused_archs.sh will scan entire your project's framework path to create new frameworks that are only built for your current target. If you build for simulator, you will only get x86_64 slice. If you build for real devices or "Generic iOS devices," you get arm64. If your app support older devices, other older archs (e.q. armv7) remain.

Note that not only does GoogleCast framework get stripped, all frameworks under Framework Search Path do.



来源:https://stackoverflow.com/questions/41568266/google-cast-ios-sdk-v3-3-archive-upload-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!