Reputation: 101
It seems all my searches to figure this out are fruitless. Knowing me it's one stupid checkbox or pulldown I'm missing. Is it maybe my install? Do I need to uninstall Xcode 4 and reinstall?
I've gone through all these steps and tricks and fixes all over the net and on SO, yet nothing gets me closer to getting an archive to pop up in my organizer. When I go to look at the archive that was built, it's just a zero k file. I get a build succeed, I change skip install to both yes and no ... I do all these things I find on the net, I'm going crazy. I'm pretty sure my certificates are all set up correctly, I have things checked where I'm told to be checked. It's driving me crazy. 99% of the solutions I see are:
"Anyway, in the "Skip Install", set the value for "Release" as "NO" (the help doc told you the opposite). Once you set it to "NO", archive again. You'll immediately see your app showing up in the archive organizer."
Well, it's not working or any further answers after aren't either.
Upvotes: 10
Views: 12830
Reputation: 792
I had this issue after I updated to High Sierra. I went to my library folder. /Users/your_user/Library/Developer/Xcode/Archives In this folder was an empty folder named to the date I had created this archive. But the folder was empty. I removed the folder and archived again. That fixed the issue for me.
Upvotes: 9
Reputation: 512
Archive
only seems to include those build products that are set to be "installed", so make sure that you deactivate Skip Install
in your build settings:
Additionally, Xcode needs an Install Path
. For Applications this is usually /Applications
, but when e.g. building a plugin you might want to set this to just /
, which will put the build product in the root of your archive. Note that you must use a "real" path, not a relative one like ~/Library
.
Upvotes: 22
Reputation: 23558
I did the following to make it work for me:
Absolute path
to products directory
. and that was it!
hint: to get an idea of the offending files that's causing your archive to create an archive file rather than an ipa do this:
usr/local/include
will identify the culprit header files you need to move from Public to Project or the files that you have to change from absolute path to products directory. but that directory (ie usr/local/include) varies depending on your sublibrary directory structureUpvotes: 0
Reputation: 518
For me, I had to also change the following blank build setting, to something like...
"Installation Directory" --> /Applications
Finally, it started appearing in Organizer/Archives.
P.S. Interestingly, without this setting the old archive file was being created, but it was always empty.
Upvotes: 3
Reputation: 12512
Make sure you use Product > Archive, instead of Product > Build For > Archive.
Upvotes: 14
Reputation: 25412
Go through this checklist, and you should find an answer somewhere:
If you are still having problems, you should delete all of your provisioning, revoke all of your certificates, reissue them all, and reinstall them all. Try resetting your code signing after that, and if it still doesn't work, use one of your two free TSIs given to you by Apple Dev Support. If nothing works, they can fix it for you I'm sure.
Hope this helps.
Upvotes: 0
Reputation: 2233
I just had this issue and what resolved it for me was this:
Hope this helps (more that #1 above helps).
Upvotes: 0