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:
But I'm still not getting the 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