owt-client-native
owt-client-native copied to clipboard
IOS build error
I downloaded the OWT client and compiled it according to the official website(OWT 5.0.x branch + webrtc 83-sdk). It Works.
But I want to use OWT ”5.0.x“ branch + webrtc ”88-sdk“ branch, but I can't compile it.
The error is as follows: ERROR at //third_party/webrtc/examples/BUILD.gn:647:21: Assignment had no effect. is_xctest = true ^--- You set the variable "is_xctest" here and it was unused before it went out of scope. See //testing/test.gni:284:5: whence it was called. target(ios_test_target_type, _test_target) { ^------------------------------------------- See //third_party/webrtc/webrtc.gni:426:3: whence it was called. test(target_name) { ^------------------ See //third_party/webrtc/examples/BUILD.gn:646:7: whence it was called. rtc_test("apprtcmobile_tests") { ^------------------------------- See //BUILD.gn:10:7: which caused the file to be included. "//third_party/webrtc/examples", ^------------------------------
Builded Command is: scripts/build.py --arch arm64 --ssl_root /Users/myname/Documents/WorkDir/openssl_v110 --scheme release --skip_tests
What should be done?
Thanks
5.0.x uses 83-sdk branch. The commit hash of owt-deps-webrtc native SDK depends on can be found in DEPS. If you want to use another version, you may need to fix issues by yourself.