Wednesday, May 6, 2015

[iOS]Generice Xcode Archive vs iOS App Archive

The type of Generice Xcode Archive can't be submit to Apple store or Crashlytics, but you directly debug running on device and simulator, it's in the Other Items rather than iOS Apps in Archives(Xcode > Window > Organizer) window.

Check the settings below when this happened:

  1. Skip install is NO for the main project target
  2. Skip install is YES for framework (sub-projects) targets
  3. In Build Phases for sub-projects, Copy Headers needs to be in Project, not Public (does not apply if building static library)
  4. Installation Directory under Deployment is valid (/Applications for example)

NOTE: since Xcode 7, the solution above doesn't work, what you have to do is to remove all the reference library sources from app target > Build Phases > Target Dependencies & Linked Binary with Libraries

No comments:

Post a Comment