Hello :)
I'm having some trouble building for iOS from source. I can't use binaries because we need to apply patches. Anyway, hitting this:
gn gen out/ios --args='target_os="ios" target_cpu="arm64"' --ide=xcode
ERROR at //webrtc.gni:545:32: Assignment had no effect.
xctest_module_target = "//test:google_test_runner_objc"
^-------------------------------
You set the variable "xctest_module_target" here and it was unused before it went
out of scope.
Via these template invocations:
rtc_test("rtc_unittests") //BUILD.gn:592
test("rtc_unittests") //webrtc.gni:504
mixed_test("rtc_unittests") //testing/test.gni:882
ios_app_bundle("rtc_unittests") //testing/test.gni:149
executable("rtc_unittests_executable") //build/config/ios/rules.gni:589
See //build/config/ios/rules.gni:589:3: whence it was called.
executable(_executable_target) {
^-------------------------------
See //testing/test.gni:149:3: whence it was called.
target(invoker.target_type, target_name) {
^-----------------------------------------
See //testing/test.gni:882:5: whence it was called.
mixed_test(_test_target) {
^-------------------------
See //webrtc.gni:504:3: whence it was called.
test(target_name) {
^------------------
See //BUILD.gn:592:3: whence it was called.
rtc_test("rtc_unittests") {
^--------------------------
Here's my build script:
Any help appreciated :)