【问题标题】:App runs on simulator but not on device应用程序在模拟器上运行,但不在设备上
【发布时间】:2011-04-13 22:49:43
【问题描述】:

每次我在我的设备上运行我的应用程序时都会收到此错误:

[BEROR]CodeSign error: code signing is required for product type 
'Application' in SDK 'iOS 4.3'

但是当我在模拟器上运行它时,没有任何问题。 有没有人对可能导致这种差异的原因提出建议? 谢谢。

【问题讨论】:

  • 新问题:我遵循了答案链接上的说明:/Users/fgringo/Library/Developer/Xcode/DerivedData/GuessTheBalls-cmqhhylrtlhqjoalguqkqvuxgsgv/Build/Products/Debug-iphoneos/GuessTheBalls.app : 目标文件格式无效或不合适 命令 /usr/bin/codesign 失败,退出代码为 1 是否相同?

标签: xcode device code-signing


【解决方案1】:

为了部署到设备,您需要一个签名密钥和证书。当您为 Apple iphone 开发者许可证付费时,Apple 将签署您的证书请求。

然后您告诉您的 xcode 项目在部署到您的 iphone/ipod 之前使用您的签名密钥进行签名

这感觉就像是:Xcode 'CodeSign error: code signing is required'

【讨论】:

  • 好吧,我是一名付费开发者。我尝试删除我所有的配置内容并再次下载,但没有运气。有更多想法?
猜你喜欢
  • 1970-01-01
  • 2011-11-10
  • 2012-04-16
  • 2014-09-01
  • 2012-09-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多