Xcode 7.2 successful archives will not show in organizer, but will show in archives folder about derived data folder

半腔热情 提交于 2019-12-04 05:11:13

Figured it out.

  1. Searched Installation Directory in Build Settings
  2. Removed @executable_path/../Frameworks as the value for Installation Directory
  3. Typed the following for the Installation Directory $(LOCAL_APPS_DIR)

Reference: "Xcode successfully archived my application, but the Archives Organizer does not list my archive" section https://developer.apple.com/library/ios/technotes/tn2215/_index.html

In XCode Project\Targets\Build Settings make sure

Skip Install = NO

for your Archive scheme, if you created one, or Release scheme

In my case (Xcode 8.3.3), the Installation Directory was pointing to /Applications which seemed correct, so that wasn't the issue. What worked was:
1. restart Xcode
2. Product ➞ Clean
3. delete the whole 'Derived Data' folder (to see where it is: Xcode ➞ Preferences... ➞ Locations ➞ Derived Data)
4. Product ➞ Clean

I had the same problem when I created debug build pointing to our QA environment. Debug build was just Zero byte. As @kareem mention above I figure that release/distributio build are having path as /Applications.

I just duplicated for my debug build and bingo !!! Yes you can add /Application instead of current value which was '@executable_path/../Frameworks'

This way if you archive your debug build, you will have actual archive just like release build

All credit goes to kareem. I just try to enhanced by adding another prespective.

Easiest step that worked for me.

  1. Delete folder Derived Data (to see where it is: Xcode ➞ Preferences... ➞ Locations ➞ Derived Data)
  2. Generate the archive, select the Xcode ➞ Product ➞ Archive
  3. Once the process is complete the archive will be displayed in the Archive screen of the Organizer dialog.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!