Jitsi-meet: iOS: Support for the new build system in Xcode 10 (fix build in Xcode 11)

Created on 5 Jun 2019  Â·  7Comments  Â·  Source: jitsi/jitsi-meet

Xcode 11 (beta 1) seems to have removed the option to build for iOS using the legacy build system so please revert #3660 and fix the issues caused by the new build system.

Building for iOS (on macOS) is not supported by the legacy build system.

⟩ xcodebuild -workspace ios/jitsi-meet.xcworkspace -scheme JitsiMeet -destination='generic/platform=iOS' -configuration Release archive

User defaults from command line:
    destination = generic/platform=iOS

Prepare build
note: Using legacy build system

=== BUILD TARGET JitsiMeet OF PROJECT sdk WITH CONFIGURATION Release ===

Resolving target dependencies
Target 'Pods-JitsiMeet' of project 'Pods' was rejected as an implicit dependency for 'libPods-JitsiMeet.a' because it doesn't contain platform 'macosx' in its supported platforms 'iphonesimulator, iphoneos'


Check dependencies
target 'JitsiMeet' has bitcode enabled (ENABLE_BITCODE = YES), but it is not supported for the 'macosx' platform
Building for iOS (on macOS) is not supported by the legacy build system.

** ARCHIVE FAILED **
 xcodebuild -version
Xcode 11.0
Build version 11M336w

Most helpful comment

Leaving more comments won't help solve the issue faster, you are just stressing out developers.

All 7 comments

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Oops, missed this one sorry.

Xcode 11 (beta 1) seems to have removed the option to build for iOS using the legacy build system

I haven't tried Xcode beta yet, but now that there have been more releases out... is it gone for good?

please revert #3660 and fix the issues caused by the new build system.

If only I knew how.

This seems to have changed in the Xcode 11 GM. Running the command in the docs fails with a slightly different error than in beta 1:

⟩ xcodebuild -workspace ios/jitsi-meet.xcworkspace -scheme JitsiMeet -destination='generic/platform=iOS' -configuration Release archive

User defaults from command line:
    destination = generic/platform=iOS

Prepare build
note: Using legacy build system

=== BUILD TARGET JitsiMeet OF PROJECT sdk WITH CONFIGURATION Release ===

Resolving target dependencies
Target 'Pods-JitsiMeet' of project 'Pods' was rejected as an implicit dependency for 'libPods-JitsiMeet.a' because it doesn't contain platform 'macosx' in its supported platforms 'iphonesimulator, iphoneos'


Check dependencies
target 'JitsiMeet' has bitcode enabled (ENABLE_BITCODE = YES), but it is not supported for the 'macosx' platform
Building for Mac Catalyst is not supported by the legacy build system.

adding -sdk iphoneos to the command allows the build to continue in the GM. The build does actually fail but I'm not sure exactly what the issue is there and it doesn't seem to be related to the build system so I'll leave that for another issue.

Thanks for confirming! I'll give Xcode 11 a try shortly (just installed it), but I've been quite swamped lately.

Please tell I had also the same issue after I update into Xcode 11, I cannot able to achieve the build.! Please tell what to do for that issue.

I'm also experiencing Xcode 11 build issue

Leaving more comments won't help solve the issue faster, you are just stressing out developers.

Was this page helpful?
0 / 5 - 0 ratings