iosxcode

Xcode is creating generic archive instead of iOS App Archive


I'm a beginner in iPhone development and I tried to create an ipa with my profile and valid certificate but Xcode is creating a generic archive file instead of an iOS app archive because in my code there are two .xcodeproj in there.

I followed the following steps from a stack overflow answer:

  1. Skip install is NO for the main project target
  2. Skip install is YES for framework (sub-projects) targets
  3. Sub-projects need to have Copy Headers in Project not Public
  4. Installation Directory under Deployment is valid (/Applications for example)

But I'm still not getting the solution.


Solution

  • In my case problem was "Skip install" set to "NO" for one of embedded static libraries. Also useful link: https://developer.apple.com/library/mac/technotes/tn2215/_index.html