简体   繁体   中英

Cocoa framework issue when archiving for iTunes Connect

I'm a beginner in iOS development and I recently added a framework using CocoaPods : it is SwiftyJSON.

When I archive the project in order to publish it on the Store there's a problem : how to include the Pods project containing SwiftyJSON's library ?

The error is : error with API file to heavy...

That's my project :

在此处输入图片说明

Usually when something is red, it means that the project cannot find it anymore. Make sure that The reference to the framework is still pointing to the files.

Does your project build fine?

Also, under "Build Phases", make sure that the framework is listed under "Link Binary With Libraries". Here is a picture of that section:

http://images.revealapp.com/integration_guide/copy-library-bundle-resources.jpg

Some other suggestions from this thread https://forums.developer.apple.com/thread/18493 :

  • Make sure you've updated to the latest java version.
  • Disable bitcode
  • Disable symbols
  • Make sure your bundle identifier matches what is in your apple developer account.

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