为什么Xcode会在归档分发应用程序时给我代码验证失败警告?

时间:2011-08-23 12:49:51

标签: ios xcode distribution adhoc

在iOs开发门户网站中,我有:

  • 创建了分发证书
  • 创建了具有唯一包ID
  • 的应用ID
  • 使用证书和创建分发配置文件 app id

在xcode项目中我有:

  • 设置正确的包ID
  • 将发布代码签名更改为分发配置文件I. 在门户网站中创建

当我构建和存档时,我收到以下警告,并且存档未显示在管理器中:

  

2011-08-23 13:45:28.417验证[25432:607] * 警告:违约   到标准的代码签名工具警告:应用程序失败的代码签名   验证。签名无效,或者没有签名   Apple提交证书。 (-19011)   /用户/ sabobin /库/开发商/ Xcode中/ DerivedData / Playlist_Sequencer-hkzrncwdptzbvwbceggardugetvd / ArchiveIntermediates / MusicPlaylist / IntermediateBuildFilesPath / UninstalledProducts /播放列表   Sequencer.app:在磁盘上有效   /用户/ sabobin /库/开发商/ Xcode中/ DerivedData / Playlist_Sequencer-hkzrncwdptzbvwbceggardugetvd / ArchiveIntermediates / MusicPlaylist / IntermediateBuildFilesPath / UninstalledProducts /播放列表   Sequencer.app:满足其指定要求测试要求:   未能满足代码要求     - (null)

有谁知道为什么?

1 个答案:

答案 0 :(得分:-1)

请参阅本文中的回答。

How to use device instead of Simulator

它可能无法直接解决您的问题,但可以帮助您将代码签名平方并允许您存档您的应用。