WebRTC iOS编译错误 no mobile provisioning profile found for "org.webrtc.WebRTC".
程序员文章站
2022-04-28 19:13:47
编译的时候,出现错误
ninja: Entering directory `out/ios_64'
[2100/2114] CODE SIGNING //webrtc/...
编译的时候,出现错误
ninja: Entering directory `out/ios_64'
[2100/2114] CODE SIGNING //webrtc/sdk:rtc_sdk_framework_objc(//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=********************* -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.
解决方法:
默认的bundle identity是不能产生供应配置文件的(providing file);
例如找到定义了默认的bundle identity地方;
webrtc/sdk/objc/Framework/Info.plist:10:
webrtc/examples/objc/AppRTCMobile/ios/Info.plist:24:
用自己的bundle identity替换掉就可以了。
怎么找到自己的bundle identity呢?Xcode->preference->AppleID里找到有效的 providing file。
下一篇: Mysql基础day02 各种连接查询
推荐阅读
-
ios设备在运行时出现 ”A valid provisioning profile for this executable was not found“错误的解决方案
-
WebRTC iOS编译错误 no mobile provisioning profile found for "org.webrtc.WebRTC".
-
WebRTC iOS编译错误 no mobile provisioning profile found for "org.webrtc.WebRTC".
-
ios设备在运行时出现 ”A valid provisioning profile for this executable was not found“错误的解决方案