I am building and archiving an app to upload it to the App store. I could build and archive the app in the Xcode. But the archive is not appearing in the list. Following is what I have done so far.
I have the set the version and build number under the General tab.
Then I have also set up the Team and app identifier and other information required under the Signing & Capabilities tab.
Then I set the Generic IOS device for Simulator.
Then I archive the app.
The build was successful without any issue. But when I go to the Window -> Organiser, I cannot find the archive as follow. There is no archive for the app at all.
I looked up for the solution and I tried setting the Skip install to NO as follow and archived again.
Still, the archive is not appearing. It is working for the other app. Not for this app. What could be the possible reason and how can I fix it?
2
Answers
I have found the problem. After setting the Skip install options, I needed to restart the XCode.
It’s possible that Spotlight has not indexed the archive. Look to see if the archive is on the filesystem and then open it from the command line:
The
open
command will cause archive to be opened by Xcode Organizer.If it still isn’t showing, but the archive is definitely on the filesystem, look at
Products
directory inside the archive. There should only be a single product, which is inApplications/yourapp.app
. If there is more than one thing underProducts
then you will need to figure out what else is there and stop it from being copied there during the archive process. Many times it will be some other framework, and you can prevent it from being installed into the archive by enabling theSKIP_INSTALL
flag for the framework.