gpt4 book ai didi

iphone - 当用户取消操作时如何修复 CodeSign? (而我没有)

转载 作者:可可西里 更新时间:2023-11-01 03:35:15 27 4
gpt4 key购买 nike

我正在编译一个旨在分发的 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

我已经从头开始设置了 3 次 xcode。用谷歌搜索。没有结果。我不知道还能尝试什么。有什么建议吗?

最佳答案

您在项目build设置中是否有权利值。如果是则删除它并重试

关于iphone - 当用户取消操作时如何修复 CodeSign? (而我没有),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3024330/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com