xcode Xcode5 GM 崩溃,“没有可用于签名的身份”然后崩溃

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18748779/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 03:46:48  来源:igfitidea点击:

Xcode5 GM crashes, "no identities are available for signing" then crash

xcodecrashxcode5

提问by arajio

My Xcode 5 GM crashes every time when "no identities are available for signing" I clicked [choose].

我的 Xcode 5 GM 每次在“没有可用于签名的身份”时崩溃,我单击 [选择]。

here is crash log

这是崩溃日志

Process:         Xcode [7923]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         5.0 (3332.22)
Build Info:      IDEApplication-3332022000000000~2
Code Type:       X86-64 (Native)
Parent Process:  launchd [143]
User ID:         501

Date/Time:       2013-09-12 02:56:10.487 +0900
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Application Specific Information:
objc_msgSend() selector name: respondsToSelector:
ProductBuildVersion: 5A1412

and here is video. http://youtu.be/Kwo1vq8FP-Y

这是视频。 http://youtu.be/Kwo1vq8FP-Y

Please help.

请帮忙。

回答by Muke

You can create a new app distribution provisioning profile to fix it. It works to me.

您可以创建一个新的应用分发配置文件来修复它。它对我有用。

回答by Mike

On a brand new project, with a brand new Xcode 5, with a brand new developer account, with freshly created certificates, app ID, and distribution provisioning profile, I the exact same problem.

在一个全新的项目中,使用全新的 Xcode 5,使用全新的开发人员帐户,使用新创建的证书、应用程序 ID 和分发配置文件,我遇到了完全相同的问题。

Compare your Provisioning Profile's Bundle Identifier with what is on your project's info tab!

将您的 Provisioning Profile 的 Bundle Identifier 与项目信息选项卡上的内容进行比较!

I had created my app ID (as I always do) using all lowercase letters.

我已经使用所有小写字母创建了我的应用程序 ID(就像我一直做的那样)。

When Xcode creates a new project, the template has Bundle identifier set to com.company.${PRODUCT_NAME} which resulted in a capitalized product name. This will also result in the same problem.

当 Xcode 创建一个新项目时,模板将 Bundle 标识符设置为 com.company.${PRODUCT_NAME},这导致了大写的产品名称。这也会导致同样的问题。

This. This right here is that lighting bolt of pain right above your eye. Like an ice pick.

这个。这就是你眼睛上方的那道痛苦的闪电。就像冰镐一样。

回答by Michael Miscampbell

I had the same issue to fix this for me I did not have a valid Distribution Provisioning Profile attached to the build. Hope this fixes the problem for you.

我有同样的问题来为我解决这个问题我没有一个有效的分发配置文件附加到构建。希望这可以为您解决问题。

Thanks, Michael

谢谢,迈克尔

回答by mokagio

I used the shenzhengem and Application Loader.

我使用了深圳gem 和 Application Loader。

Step 1

第1步

Be sure to have all your profiles and certificates imported in Xcode, and set properly at targetlevel.

确保在 Xcode 中导入所有配置文件和证书,并在目标级别正确设置。

Step 2

第2步

Generate the ipa. This I couldn't do with Xcode, because it keeps crashing.

生成ipa。这是我无法用 Xcode 做的,因为它一直在崩溃。

ipa build -c Release

ipa build -c 发布

Don't forget to use the Release configuration.

不要忘记使用 Release 配置

Step 3

第 3 步

Upload the generated .ipawith Application Loader.

上传.ipa使用 Application Loader生成的。


Hope this helps. Happy coding!


希望这可以帮助。快乐编码!