My implementation is a simple app running an SDK. I wanted to add the Zoom SDK to my SDK, but the app crashes after MobileRTC initialisation without a clear reason. Can you help?
Thanks for using Zoom SDK. Our iOS SDK should be compatible with Swift. We have a lot of users who is using Swift for development. What error code are you getting? Could you provide your SDK log file and the .crash file?
It would also be helpful if you could provide the following information:
A clear and concise description of what the question is.
Knowing the version can help us to identify your issue faster.
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]
Add any other context about the problem here.
It is a bit complicated to explain, I did compile your SDK with our swift app successfully, but failed when trying to compile with our swift framework.
I can’t figure out how to upload the crash file here, I don’t have a log file
Thanks for the reply. For the SDK log, you can find the way to enable it and retrieve it from here:https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/sdk-initialization#2-log-feature
Once you have the SDK log, could you put the log and the .crash file in a shared drive(Like Google Drive), and share the link with us? If you do not want to share the log file here, you can send me a private in-forum message regarding this.
I’ve put the crash log here:
I can’t currently create a log file for the SDK since I moved the SDK to the app level, it’s not crashing anymore. If you still need it, I’ll go back and try again.
Another thing, now that the SDK is in the app level, I get an error when trying to upload to the app connect:
ERROR ITMS-90171: “Invalid Bundle Structure - The binary file ‘UnifiedApp.app/Frameworks/MobileRTC.framework/MobileRTC’ is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.”
I followed all the instructions here:
Can you help?
Thanks for the prompt reply. I will pass this information to our engineering team and look into. Hopefully the root cause can be found in the crash file.
BTW, which version of SDK are you using? Are you using the device-only version(the one directly download from Github master), or the all version? You can find the version info here: https://github.com/zoom/zoom-sdk-ios/releases
I’m using version number: v4.4.55130.0712. Downloaded from https://github.com/zoom/zoom-sdk-ios.
Thanks for your reply. Could you help to confirm the following:
MobileRTC.frameworkis shown in the
General > Embedded Binaries,
General > Linked Frameworks and Libraries, and
Build Phases > Link Binary With Libraries
MobileRTCResources.bundleis added correctly and shown in
Build Phases > Copy Bundle Resources?
After analyzing the crash log, it seems like the crash happens with this method:
Can you try to comment out this method and see if the crash still exist? Could you share a code snippet of the implementation of this method?
Hope this helps. Thanks!