简体   繁体   中英

Can't upload app with frameworks to iTunes Connect

I'm trying to upload an iOS - Swift app to the App Store using XCode 8. Trying to create the IPA file returned an error saying:

framework did not contain a "archived-expanded-entitlements.xcent" resource

(my app uses AWSSDK and FBSDK).

Doing some research i found that i needed to delete the frameworks from embedded binaries, but doing that gave me another error:

Library not loaded, Reason: image not found

I'm not sure about what should i do because when i search for the first error it says that i should delete the frameworks from embedded binaries, when i search for the second error it says that i should add the frameworks to embedded binaries.

Ok, after doing some research i found that Facebook SDK doesn't has to be on Embedded binaries (thus generating the first error), but AWS SDK has to (thus generating the second error). Also, as a side note, when you add AWS SDK as a Framework you should also add a custom script that removes testing architectures and manages signing. This script (and instructions) could be easily found on the AWS Docs for preparing the SDK after a bit of cold minded search.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM