Cannot generate iOS App archive in xcode
ios, iphone, macos, xcode
Solution
Check Build Settings:
- Skip install is NO for the main project target
- Skip install is YES for framework (sub-projects) targets
- In Build Phases for sub-projects, Copy Headers needs to be in Project, not Public (does not apply if building static library)
- Installation Directory under Deployment is valid (/Applications for example)
Problem
I have a problem generating a iOS App archive from an application. The application compiles just fine and even works in the simulator. Now I wanted to make som ad hoc testing and cannot generate the iOS App Archive. When I click on the Product -> Archive it generates a generic xcode archive. Can anyone help me. I should mention, that I have already generated an iOS App Archive of this application. It has just stopped to generate iOS Archive for some reason. Thanks a lot.