解决 Code Signing Error: No profiles for com.example were found (使用CMake构建iOS工程时的证书问题)

您所在的位置:网站首页 小学教资综合素质题型 解决 Code Signing Error: No profiles for com.example were found (使用CMake构建iOS工程时的证书问题)

解决 Code Signing Error: No profiles for com.example were found (使用CMake构建iOS工程时的证书问题)

#解决 Code Signing Error: No profiles for com.example were found (使用CMake构建iOS工程时的证书问题)| 来源: 网络整理| 查看: 265

Code Signing Error: No profiles for ‘com.example’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.example’

在一台新编译机上使用 CMake 构建 iOS 工程时,遇到了这个找不到 provisioning file 的问题。

尝试登陆到编译机上用 Xcode 随便打开个 iOS 工程却能正常的编译打包。

解决方法是:创建一个新的 iOS 工程,填写一个以 com.example. 开头的 bundle id,打开 Automatically manage signing,Xcode 会自动下载一个合适的 provisioning profile。

然后重新跑编译脚本,此时可能触发 codesign 命令要求输入账户密码,填好后勾选始终允许。问题解决~

参考:https://github.com/ruslo/polly/issues/102#issuecomment-264078385



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3