jitsi-meet: Not able to join the meeting using iOS SDK | Sample code is also having the same issue if we use SDK using the master code
Description:
I have taken pull from the master branch and created a new SDK using the terminal. Now from the native iOS app, I am trying to join the meeting but the user can connect a meeting for a while and just get disconnected.
I tested the same thing using the sample code available here but the same issue is there in the sample code as well.
Steps to reproduce:
- Clone master repo and run NPM install - (deleted package-lock.json first)
- Create SDK using the bellow command
mkdir -p ios/sdk/out xcodebuild clean \ -workspace ios/jitsi-meet.xcworkspace \ -scheme JitsiMeetSDK xcodebuild archive \ -workspace ios/jitsi-meet.xcworkspace \ -scheme JitsiMeetSDK \ -configuration Release \ -sdk iphonesimulator \ -destination='generic/platform=iOS Simulator' \ -archivePath ios/sdk/out/ios-simulator \ VALID_ARCHS=x86_64 \ ENABLE_BITCODE=NO \ SKIP_INSTALL=NO \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES xcodebuild archive \ -workspace ios/jitsi-meet.xcworkspace \ -scheme JitsiMeetSDK \ -configuration Release \ -sdk iphoneos \ -destination='generic/platform=iOS' \ -archivePath ios/sdk/out/ios-device \ VALID_ARCHS=arm64 \ ENABLE_BITCODE=NO \ SKIP_INSTALL=NO \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES xcodebuild -create-xcframework \ -framework ios/sdk/out/ios-device.xcarchive/Products/Library/Frameworks/JitsiMeetSDK.framework \ -framework ios/sdk/out/ios-simulator.xcarchive/Products/Library/Frameworks/JitsiMeetSDK.framework \ -output ios/sdk/out/JitsiMeetSDK.xcframework cp -a node_modules/react-native-webrtc/apple/WebRTC.xcframework ios/sdk/out - Instead of pod library, use this SDK in the sample code downloaded from here - https://github.com/jitsi/jitsi-meet-sdk-samples
- try to create one room and join that meeting, I am getting one error like bellow
[JitsiMeetSDK] [modules/xmpp/strophe.util.js] Strophe: error: undefined /Users/pankaj/Library/Developer/Xcode/DerivedData/JitsiSDKTest-glhtiqikkatwtthimvbobirxgbvh/Build/Products/Debug-iphonesimulator/JitsiMeetSDK.framework/main.jsbundle:1502 - TypeError: undefined is not an object (evaluating 'S.email')example-app[11049:315949] [JitsiMeetSDK] [modules/xmpp/strophe.util.js] Strophe: User connection callback caused an exception: TypeError: undefined is not an object (evaluating 'S.email')
I have not added any changes to the master repository for now after merging the latest code from the master repo I am also facing this issue in my current repository which was previously working fine.
Expected behavior:
User should be able to join the meeting.
Actual behavior:
Server information:
- Jitsi Meet version: (HEAD -> master, tag: jitsi-meet_6981, tag: jitsi-meet_6980, tag: 5895)
- Operating System: Mac OS BigSur
- Xcode 13.0
Client information:
- Browser / app version:
- Operating System:
Additional information:
Thanks in Advance.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (9 by maintainers)
I have added giphy iOS SDK manually and created SDK. Tested it with our application and it’s working as expected. Thanks @saghul