【发布时间】:2017-03-13 04:57:33
【问题描述】:
在使用来自https://webrtc.org/native-code/ios/ 的构建系统指令时,除了以下错误之外一切正常
Error: no mobile provisioning profile found for
当我做xcrun security find-identity -v -p codesigning 时,我确实看到了我的证书,有没有办法修复它?
$ gn gen out/ios_64 --args='target_os="ios" target_cpu="arm64"'
Done. Made 719 targets from 110 files in 2444ms
$ ninja -C out/ios_64 AppRTCMobile
ninja: Entering directory `out/ios_64'
[2086/2100] CODE SIGNING //webrtc/sdk:r...(//build/toolchain/mac:ios_clang_arm64)
FAILED: WebRTC.framework/WebRTC WebRTC.framework/_CodeSignature/CodeResources WebRTC.framework/embedded.mobileprovision
python ../../build/config/ios/codesign.py code-sign-bundle -t=iphoneos -i=3F06B010E7BE32A3D212219D02DF440B0F20D6A3 -e=../../build/config/ios/entitlements.plist -b=obj/webrtc/sdk/WebRTC WebRTC.framework
Error: no mobile provisioning profile found for "org.webrtc.WebRTC".
ninja: build stopped: subcommand failed.
【问题讨论】:
-
XCode 版本能用吗?另外,你有多个证书吗?有时它只是默认选择第一个,如果你有一个过期的它可能不起作用。
-
“请不要只评论一次,而是继续跟进”不知道你在说什么?
标签: ios xcode google-chrome webrtc ninja