问题
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