当 CodeSign 提示用户取消操作时如何修复? (而我没有)
我正在编译一个旨在分布式的 iPhone 应用程序。这是我的第一个应用程序,因此我遵循了“iPhone 配置文件”说明。不幸的是,它失败了:
CodeSign build/*_*_.app
cd "/Users/videojuegos/Documents/*_*_"
setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign -f -s "iPhone Distribution: ******" "--resource-rules=/Users/videojuegos/Documents/*_*_/build/*_*_.app/ResourceRules.plist" --entitlements "/Users/videojuegos/Documents/*_*_/build/Unity-iPhone.build/Distribution-iphoneos/Unity-iPhone.build/*_*_.xcent" "/Users/videojuegos/Documents/*_*_/build/*_*_.app"
/Users/videojuegos/Documents/*_*_/build/*_*_.app: The operation was cancelled by the user.
Command /usr/bin/codesign failed with exit code 1
我认为 Keychain 不允许 Codesign 工作,但据我所知,情况并非如此。
我还尝试从终端运行这些命令,但失败并显示以下消息:
Users/videojuegos/Documents/*_*_/build/Unity-iPhone.build/Distribution-iphoneos/Unity-iPhone.build/*_*_.xcent: cannot read entitlement data
我已从头开始进行 xcode 设置 3 次。谷歌搜索了一下。没有结果。我不知道还能尝试什么。有什么建议吗?
I'm compiling an iPhone app meant to be Distributed. It's my first app so I followed the "iPhone Provisioning Profiles" instructions. Unfortunately it fails with this:
CodeSign build/*_*_.app
cd "/Users/videojuegos/Documents/*_*_"
setenv IGNORE_CODESIGN_ALLOCATE_RADAR_7181968 /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign -f -s "iPhone Distribution: ******" "--resource-rules=/Users/videojuegos/Documents/*_*_/build/*_*_.app/ResourceRules.plist" --entitlements "/Users/videojuegos/Documents/*_*_/build/Unity-iPhone.build/Distribution-iphoneos/Unity-iPhone.build/*_*_.xcent" "/Users/videojuegos/Documents/*_*_/build/*_*_.app"
/Users/videojuegos/Documents/*_*_/build/*_*_.app: The operation was cancelled by the user.
Command /usr/bin/codesign failed with exit code 1
I thought Keychain wasn't allowing Codesign to work but as far as I can tell that isn't the case.
I also attempted running these commands from a terminal and it failed with this message:
Users/videojuegos/Documents/*_*_/build/Unity-iPhone.build/Distribution-iphoneos/Unity-iPhone.build/*_*_.xcent: cannot read entitlement data
I have made the xcode setting from scratch three times. Googled it. No results. I don't have any idea what else to try. Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您在项目构建设置中是否有权利值。如果有则删除并重试
Do you have an entitlements value in the project build settings. If so then delete it and try again