在 xcode 版本 10.2 中为产品类型“应用程序"签署二进制文件时,空身份无效 [英] An empty identity is not valid when signing a binary for the product type 'Application' in xcode version 10.2
问题描述
我已经编译了 webrtc ios 源代码,然后我使用了命令:
I have compile webrtc ios source code ,then I used the command:
gn gen out/ios --args='target_os="ios" target_cpu="arm64"' --ide=xcode
然后我用 Xcode 打开工作区.
then I open the workspace with Xcode.
但是当我编译代码时,Xcode 在下面给了我这个错误.
but when I compile the code, Xcode gives me this error below.
为产品类型应用程序"签署二进制文件时,空身份无效.(在目标AppRTCMobile"中)
An empty identity is not valid when signing a binary for the product type 'Application'. (in target 'AppRTCMobile')
我的 Xcode 版本是 10.2,最新版本.
my Xcode version is 10.2, the latest version.
我真的不知道这是怎么发生的,谁能帮帮我?
I really don't know how did this happen,can anyone can help me?
我的代码符号设置是:
看起来一切正常.
推荐答案
我添加了 CODE_SIGNING_ALLOWED=NO
作为附加参数并为我解决了这个问题.
I added CODE_SIGNING_ALLOWED=NO
as an additional parameter and that fixed this issue for me.
这篇关于在 xcode 版本 10.2 中为产品类型“应用程序"签署二进制文件时,空身份无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!