quickblox-ios-sdk icon indicating copy to clipboard operation
quickblox-ios-sdk copied to clipboard

Undefined symbol: _OBJC_CLASS_$_QBRTCs

Open jayroland88 opened this issue 3 months ago • 4 comments

New Issue Checklist

  • [ yes] I have read the Documentation
  • [yes] I have searched for a similar issue in the project and found none

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: OBJC_CLASS$_QBRTCAudioSession //Undefined symbol: OBJC_CLASS$_QBRTCAudioSessionConfiguration //Undefined symbol: OBJC_CLASS$_QBRTCClient //Undefined symbol: OBJC_CLASS$_QBRTCConfig //Undefined symbol: OBJC_CLASS$_QBRTCClient

Any others comments -N/A

jayroland88 avatar May 03 '24 00:05 jayroland88

@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?

IlliaChemolosov avatar May 09 '24 08:05 IlliaChemolosov

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?

jayroland88 avatar May 10 '24 16:05 jayroland88

@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.

IlliaChemolosov avatar May 11 '24 10:05 IlliaChemolosov