QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
396 stars 358 forks source link

Undefined symbol: _OBJC_CLASS_$_QBRTCs #1372

Closed jayroland88 closed 3 weeks ago

jayroland88 commented 6 months ago

New Issue Checklist

Environment details

Info Value
iOS Version 13.0
Quickblox iOS SDK version e.g. 2.9.
QuickbloxWebRTC SDK version e.g. 2.8.1
Xcode Version Xcode 15.3
Repro with our demo sample YES

Did this work before? Yes it did, then i upgraded to 2.19

Expected behavior no errors during building of project

Actual behavior These errors appear: Screenshot 2024-

Steps to reproduce the behavior

  1. Use M1 Laptop arm64:
  2. create xcode swift project use spm and add https://github.com/QuickBlox/ios-quickblox-sdk.git & https://github.com/QuickBlox/ios-quickblox-sdk-webrtc.git
  3. try to access any of these and build and see error:
  4. // QBRTCBaseSession // QBRTCCameraCapture // QBRTCClient // QBRTCConfig // QBRTCRemoteVideoView // QBRTCSession // QBRTCVideoFormat //Undefined symbol: _OBJCCLASS$_QBRTCAudioSession //Undefined symbol: _OBJCCLASS$_QBRTCAudioSessionConfiguration //Undefined symbol: _OBJCCLASS$_QBRTCClient //Undefined symbol: _OBJCCLASS$_QBRTCConfig //Undefined symbol: _OBJCCLASS$_QBRTCClient

Any others comments -N/A

IlliaChemolosov commented 6 months ago

@jayroland88 Hello there!

Could you please specify whether you're attempting to run the project using the simulator or a physical device when encountering these errors?

jayroland88 commented 6 months ago

Simulator - should not work with https://github.com/QuickBlox/ios-quickblox-sdk.git I get that.

But these: // QBRTCClient // QBRTCConfig // QBRTCSession should be in https://github.com/QuickBlox/ios-quickblox-sdk.git correct?

IlliaChemolosov commented 6 months ago

@jayroland88 Hello

The QuickbloxWebRTC SDK currently does not support simulators, thus call-related samples may encounter issues when attempting to run on the simulator. We are actively developing a solution to enable simulator support in the upcoming version.

mendimr commented 5 months ago

@jayroland88 Hello

The QuickbloxWebRTC SDK currently does not support simulators, thus call-related samples may encounter issues when attempting to run on the simulator. We are actively developing a solution to enable simulator support in the upcoming version.

I don't get it how and why this is not fixed, M1 was released in 2020, all devs are moving to it and still there is no support for it. This makes developing really hard since no SwiftUI preview or any UI testing can be done in the Simulator.

Our aim is not to test QBWebRTC in simulators just to be clear. I tried running WebRTC and it builds perfectly on my simulator.

IlliaChemolosov commented 3 weeks ago

Quickblox iOS SDK version 2.20.0 and QuickbloxWebRTC SDK version 3.1.0 include support for the simulator.