Omid
Omid

Reputation: 178

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 :

enter image description here

Upvotes: 0

Views: 64

Answers (1)

TheJeff
TheJeff

Reputation: 4101

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.

Upvotes: 1

Related Questions