Xcode 10.1 doesn't show 'distribute app' option when archiving, can't archive

青春壹個敷衍的年華 提交于 2019-12-03 20:03:17

问题


I suddenly got this weird issue with Xcode 10.1.

When I archive app store target for my app I cant see "distribute app" option, instead it now says "Distribute Content" and neither I can export ipa nor upload to app store directly.

My archive comes under "Other items" in Organizer instead of iOS apps.

It seems to work fine with development target though.

Here is the screen shot.

Anyone with any knowledge about it please help.

Thanks


回答1:


Please make changes as follows 
Change Skip install to NO



回答2:


Faced the same issue few days ago. This usually occurs when you have multiple schemes in a project.

  • Go to edit scheme (Next to stop button)
  • Select the target of which you want to archive.
  • In build option, remove other targets or you may unselect archive checkbox.
  • Re-archive



回答3:


Unticking the 'Find Implicit Dependencies' tick box solved it for me. Hope this helps.




回答4:


I had the same problem in different projects in the last few days.

In one of the projects, a solution had to delete the .xcproject subproject file.

In another project, the solution was to uninstall .xcworkspace (I use cocoapods) and run pod install.



来源:https://stackoverflow.com/questions/55467829/xcode-10-1-doesnt-show-distribute-app-option-when-archiving-cant-archive

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