Archive does not appear in xcode4 organizer

限于喜欢 提交于 2019-12-17 15:32:51

问题


I am trying to submit an app to iTunes using the new xcode4.

I followed the apple instructions but after doing product> archive, I still do not see anything in my organizer.

Can anyone help?


回答1:


I got the same problem. Took me whole night to solve. The doc gave the wrong instruction - therefore all your archives are created but their size is zero. You can verify this by going to their directory (...derived data...)

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.




回答2:


For the "Release" configuration do the following:

Set "Skip Install" to YES on your project

Set "Skip Install" to NO on your application target

Set "Skip Install" to YES on all static library targets that are included

Choose Product -> Archive from the menu.

This worked for me, and is based on advice from the Apple Dev Forums.




回答3:


Changed to value to NO on Target Skip Install and this worked for me. Checked values on Project and it was set to Default to YES. I agree! Some moronic space case from apple screw this one up! Thanks Apps4U




回答4:


For me setting the above plus setting ALWAYS_SEARCH_USER_PATHS to "Yes" made archiving possible.




回答5:


I needed to restart my Xcode in order for the settings to take effect.




回答6:


Used tutorial from this link: http://www.idev101.com/code/Distribution/build.html.

Instructions for Skip Install suggested set to YES. Archive did not show in Xcode | Window | Organizer.

Reset Skip Install to its default NO. Archive is now showing in Organizer.




回答7:


Restart Xcode after you archive. The archive will now appear in Organiser.




回答8:


Turns out I need to set the correct distribution profile at "Code Signing Identity" under build setting.

Set it to the correct Distribution Profile ( First, you need to get it at developer.apple.com/ios )




回答9:


Besides the correct 'Code Signing Identity' and 'Skill install' configuration, you must also check if your Install directories in Project and Targets are $(LOCAL_APPS_DIR).




回答10:


I had to switch the scheme from using the ipad 6.0 simulator to iOS Device. I then had the option to archive.




回答11:


I had to do "Product | Archive" and then it showed up for me.




回答12:


No luck with 'Skip Install'. In my case I created a new schmeme and assigned my target - and it appears on organizer.

My fault was that I had multiple schemes and multiple targets, some targets (even in divergent project files but all together in the same workspace) had the same name. I renamed the target files and recreated the needed schemes and archive now shows up in organizer.



来源:https://stackoverflow.com/questions/5280914/archive-does-not-appear-in-xcode4-organizer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!