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

Undefined symbol: _OBJC_CLASS_$_QBRTCs #1372

Open
jayroland88 opened this issue May 3, 2024 · 4 comments
Open

Undefined symbol: _OBJC_CLASS_$_QBRTCs #1372

jayroland88 opened this issue May 3, 2024 · 4 comments

Comments

@jayroland88
Copy link

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 jayroland88 changed the title //Undefined symbol: _OBJC_CLASS_$_QBRTCs Undefined symbol: _OBJC_CLASS_$_QBRTCs May 3, 2024
@IlliaChemolosov
Copy link
Member

@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
Copy link
Author

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
Copy link
Member

@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
Copy link

mendimr commented Jun 1, 2024

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

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

3 participants