导出或提交到App Store时Xcode崩溃

时间:2022-11-19 15:06:02

I'm having problems submitting to the App Store. Both Xcode 6.1 and 5.1.1 crash when I attempt to export an .ipa or use the submit feature after the app has been archived. Here are the steps to reproduce:

我在向App Store提交时遇到问题。当我尝试导出.ipa或在应用程序归档后使用提交功能时,Xcode 6.1和5.1.1都会崩溃。以下是重现的步骤:

Build -> Archive -> Organizer -> Export -> Save for iOS App Store Deployment

构建 - >存档 - >管理器 - >导出 - >保存iOS App Store部署

The "Fetching list of teams..." dialogue appears briefly and then Xcode crashes. This also occurs when clicking the Submit button on the Organizer window. This also occurs for Ad Hoc exports. This is odd as I was able to create an ad hoc distribution a few days ago without issue.

“提取队列表......”对话框暂时出现,然后Xcode崩溃。单击“管理器”窗口上的“提交”按钮时也会发生这种情况。对于Ad Hoc导出也会发生这种情况。这很奇怪,因为几天前我能够创建一个临时发布而没有问题。

I am also unable to select the Team attribute for the target in the project files general settings (General -> Identity -> Team).

我也无法在项目文件常规设置中选择目标的Team属性(常规 - >身份 - >团队)。

The crash report for all of the issues above are similar. I have double checked the developer center to ensure that I have an App Store provisioning profile for this app. I have also read of people having a similar issue if they had not agreed to the latest developer center terms. As far as I can tell, I don't have any outstanding agreements that require action. I've tried removing my account from Xcode and reinstalling. I'm guessing this is an account issue but I'm not sure what I can do to fix it.

上述所有问题的崩溃报告都是类似的。我仔细检查了开发人员中心,以确保我有一个App Store配置文件。如果他们未同意最新的开发人员中心条款,我也会读到有类似问题的人。据我所知,我没有任何需要采取行动的未决协议。我已经尝试从Xcode中删除我的帐户并重新安装。我猜这是一个帐户问题,但我不知道我能做些什么来解决它。

10 个解决方案

#1


23  

close the Xcode and keep the organizer is opened and try to submit; it's working with me

关闭Xcode并保持组织者打开并尝试提交;它正在和我合作

enjoy!

请享用!

#2


14  

It was crashing for me in XCode 9.3 and the reason was I have not accepted the latest agreement at developer.apple.com. Right after accepting the latest agreement it just worked.

它在XCode 9.3中崩溃了,原因是我没有接受developer.apple.com上的最新协议。在接受最新协议后,它刚刚起作用。

#3


1  

In my case the problem was that there was a new user agreement waiting approval in my dev account so the solution was to login to my account here https://developer.apple.com/ and then agreeing to the user agreement they had.

在我的情况下,问题是我的开发帐户中有一个新的用户协议等待批准,因此解决方案是登录我的帐户https://developer.apple.com/然后同意他们的用户协议。

#4


0  

I had the same problem starting from yesterday, 11/13/2014.

从昨天,2014年11月13日开始,我遇到了同样的问题。

Whenever tried to communicate with server it crashed

每当试图与服务器通信时它就崩溃了

  • Preferences -> Apple ID -> View Details
  • 首选项 - > Apple ID - >查看详细信息
  • Organizer -> Validate
  • 组织者 - >验证
  • Organizer -> Export -> Save for Ad Hoc Deployment
  • 管理器 - >导出 - >保存进行特别部署

View Details works today, but Validate and Export are still crashing.

查看详细信息现在可用,但验证和导出仍然崩溃。

[Edited] Reference to this thread: Xcode crashing when fetching team list

[编辑]引用此线程:获取团队列表时Xcode崩溃

In case you want to export an ipa:

如果您要导出ipa:

xcodebuild archive -project $projectname.xcodeproj -scheme $schemename -archivePath projectname.xcarchive
xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name”

#5


0  

Export an .ipa from Organizer and use the Application Loader to upload your app to iTunesConnect.

从管理器导出.ipa并使用Application Loader将您的应用程序上传到iTunesConnect。

#6


0  

It turns out the Apple Membership is expired in my case. Check Membership Center if there is anything worth noticing.

事实证明,Apple会员资格已经过期了。检查会员中心是否有值得注意的事项。

#7


-1  

If the data at the developer center looks good, open Xcode Prefs, click Accounts, click "View Details", click the refresh button. Then quit and relaunch Xcode for good measure, and see if uploading now works. This voodoo has always worked for me in the past.

如果开发人员中心的数据看起来不错,请打开Xcode Prefs,单击“帐户”,单击“查看详细信息”,然后单击“刷新”按钮。然后退出并重新启动Xcode以获得良好的衡量标准,并查看现在上传是否有效。这个伏都教过去一直对我有用。

[Addition] In the release notes for Xcode 6.1.1 Apple suggests trying this if you crash during App Store submission: App Store Submission • Using the distribution workflow after deleting an account from Xcode's preferences may lead to a crash. (18964743) Workaround: Delete all files ending with ".db" in ~/Library/Developer/Xcode/.

[补充]在Xcode 6.1.1的发行说明中,Apple建议在App Store提交期间崩溃时尝试此操作:App Store提交•从Xcode的首选项中删除帐户后使用分发工作流程可能会导致崩溃。 (18964743)解决方法:删除〜/ Library / Developer / Xcode /中以“.db”结尾的所有文件。

#8


-1  

I was getting a crash in 6.3.2. Then I tried closing Xcode before submitting and realized that I was using the same build number as my rejected version of the app. I updated the build number and it submitted without having to close Xcode.

我在6.3.2遇到了崩溃。然后我尝试在提交之前关闭Xcode,并意识到我使用了与我拒绝的应用版本相同的内部版本号。我更新了内部版本号,并且无需关闭Xcode即可提交。

#9


-2  

This issue was resolved by Apple.

此问题已由Apple解决。

Apple Developer Forums Thread (developer account required)

Apple Developer Forums Thread(需要开发人员帐户)

#10


-2  

close the Xcode and keep the organizer is opened and try to submit; it's working with me also

关闭Xcode并保持组织者打开并尝试提交;它也和我一起工作

#1


23  

close the Xcode and keep the organizer is opened and try to submit; it's working with me

关闭Xcode并保持组织者打开并尝试提交;它正在和我合作

enjoy!

请享用!

#2


14  

It was crashing for me in XCode 9.3 and the reason was I have not accepted the latest agreement at developer.apple.com. Right after accepting the latest agreement it just worked.

它在XCode 9.3中崩溃了,原因是我没有接受developer.apple.com上的最新协议。在接受最新协议后,它刚刚起作用。

#3


1  

In my case the problem was that there was a new user agreement waiting approval in my dev account so the solution was to login to my account here https://developer.apple.com/ and then agreeing to the user agreement they had.

在我的情况下,问题是我的开发帐户中有一个新的用户协议等待批准,因此解决方案是登录我的帐户https://developer.apple.com/然后同意他们的用户协议。

#4


0  

I had the same problem starting from yesterday, 11/13/2014.

从昨天,2014年11月13日开始,我遇到了同样的问题。

Whenever tried to communicate with server it crashed

每当试图与服务器通信时它就崩溃了

  • Preferences -> Apple ID -> View Details
  • 首选项 - > Apple ID - >查看详细信息
  • Organizer -> Validate
  • 组织者 - >验证
  • Organizer -> Export -> Save for Ad Hoc Deployment
  • 管理器 - >导出 - >保存进行特别部署

View Details works today, but Validate and Export are still crashing.

查看详细信息现在可用,但验证和导出仍然崩溃。

[Edited] Reference to this thread: Xcode crashing when fetching team list

[编辑]引用此线程:获取团队列表时Xcode崩溃

In case you want to export an ipa:

如果您要导出ipa:

xcodebuild archive -project $projectname.xcodeproj -scheme $schemename -archivePath projectname.xcarchive
xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name”

#5


0  

Export an .ipa from Organizer and use the Application Loader to upload your app to iTunesConnect.

从管理器导出.ipa并使用Application Loader将您的应用程序上传到iTunesConnect。

#6


0  

It turns out the Apple Membership is expired in my case. Check Membership Center if there is anything worth noticing.

事实证明,Apple会员资格已经过期了。检查会员中心是否有值得注意的事项。

#7


-1  

If the data at the developer center looks good, open Xcode Prefs, click Accounts, click "View Details", click the refresh button. Then quit and relaunch Xcode for good measure, and see if uploading now works. This voodoo has always worked for me in the past.

如果开发人员中心的数据看起来不错,请打开Xcode Prefs,单击“帐户”,单击“查看详细信息”,然后单击“刷新”按钮。然后退出并重新启动Xcode以获得良好的衡量标准,并查看现在上传是否有效。这个伏都教过去一直对我有用。

[Addition] In the release notes for Xcode 6.1.1 Apple suggests trying this if you crash during App Store submission: App Store Submission • Using the distribution workflow after deleting an account from Xcode's preferences may lead to a crash. (18964743) Workaround: Delete all files ending with ".db" in ~/Library/Developer/Xcode/.

[补充]在Xcode 6.1.1的发行说明中,Apple建议在App Store提交期间崩溃时尝试此操作:App Store提交•从Xcode的首选项中删除帐户后使用分发工作流程可能会导致崩溃。 (18964743)解决方法:删除〜/ Library / Developer / Xcode /中以“.db”结尾的所有文件。

#8


-1  

I was getting a crash in 6.3.2. Then I tried closing Xcode before submitting and realized that I was using the same build number as my rejected version of the app. I updated the build number and it submitted without having to close Xcode.

我在6.3.2遇到了崩溃。然后我尝试在提交之前关闭Xcode,并意识到我使用了与我拒绝的应用版本相同的内部版本号。我更新了内部版本号,并且无需关闭Xcode即可提交。

#9


-2  

This issue was resolved by Apple.

此问题已由Apple解决。

Apple Developer Forums Thread (developer account required)

Apple Developer Forums Thread(需要开发人员帐户)

#10


-2  

close the Xcode and keep the organizer is opened and try to submit; it's working with me also

关闭Xcode并保持组织者打开并尝试提交;它也和我一起工作