QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
BSD 3-Clause "New" or "Revised" License
397 stars 360 forks source link

Undefined symbol: _OBJC_CLASS_$_QBRTCs #1372

Open jayroland88 opened 2 months ago

jayroland88 commented 2 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 2 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 2 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 2 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 1 month 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.