Skip to content

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

Closed
@daniloapr

Description

@daniloapr

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions