Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on CI after adding LiveKit dependency - No such module 'WebRTC' #172

Closed
daniloapr opened this issue Sep 14, 2022 · 2 comments
Closed

Comments

@daniloapr
Copy link

daniloapr commented Sep 14, 2022

After adding livekit_client: ^1.1.2 dependency, the Codemagic CI stoped working. It's working fine on actual device or emulator.

Any clues on how can I fix it?

    /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/livekit_client-1.1.3/ios/Classes/LiveKitPlugin.swift:1:8: error: no such module 'WebRTC'
    import WebRTC
           ^
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    /Users/builder/clone/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'ReachabilitySwift' from project 'Pods')
    /Users/builder/clone/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'OrderedSet' from project 'Pods')
    /Users/builder/clone/ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'FMDB' from project 'Pods')

    Result bundle written to path:
    	/var/folders/w2/rrf5p87d1bbfyphxc7jdnyvh0000gn/T/flutter_tools.VLlsGm/flutter_ios_build_temp_dirbSGFOC/temporary_xcresult_bundle


Swift Compiler Error (Xcode): No such module 'WebRTC'
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/livekit_client-1.1.3/ios/Classes/LiveKitPlugin.swift:0:7

Encountered error while archiving for device.

flutter doctor

[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5.1 21G83 darwin-arm, locale en-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.71.0)
[✓] Connected device (5 available)
[✓] HTTP Host Availability

• No issues found!
@cloudwebrtc
Copy link
Contributor

hey @daniloapr, Can you try to upgrade flutter to 3.3.1? This is an xcode setting problem. Regarding arm 32bit, ios 32bit has been deprecated in the new flutter. There is an issue in the upgrade and it should be resolved

@cloudwebrtc
Copy link
Contributor

cloudwebrtc commented Oct 17, 2022

This is a transitional issue with the version of flutter and Xcode. It should be fixed by updating to the latest Xcode and flutter sdk, so close this issue. If the issue still exists, please reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants