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

Sample iOS Swift-PIP app is crashing #6439

Closed
umairgillani94 opened this issue Apr 28, 2020 · 13 comments
Closed

Sample iOS Swift-PIP app is crashing #6439

umairgillani94 opened this issue Apr 28, 2020 · 13 comments
Labels
ios Issue related to the iPhone/iPad operating system mobile Issue related to any mobile system running Jitsi Meet

Comments

@umairgillani94
Copy link

This Issue tracker is only for reporting bugs and tracking code related issues.

Before posting, please make sure you check community.jitsi.org to see if the same or similar bugs have already been discussed.
General questions, installation help, and feature requests can also be posted to community.jitsi.org.

Description

The sample app is crashing on iOS 13 and Xcode 11, whereas it's working fine for iOS 12 and Xcode 11

Current behavior

The sample app is crashing when I build on iOS 13 using Xcode 11, whereas it's working fine for iOS 12

Expected Behavior

It should work on iOS 13 as well

Possible Solution


Steps to reproduce

Just run the sample iOS swift PIP app on iOS 13

Environment details

Xcode 11.3
iOS 13
Jitsi 2.5.2

@saghul
Copy link
Member

saghul commented Apr 28, 2020

Can you post the crash?

@umairgillani94
Copy link
Author

Can you post the crash?

image

this is what i see when app get started

@nedimf
Copy link

nedimf commented Apr 28, 2020

Can you post code you are using?

@jefaokpta
Copy link

the same happens with me.
image

Xcode 11.4
Project NoPodsSample
iOS 13.3

I'm compiling the sdk 2.7.0
jitsi-meet-ios-sdk-2.7.0# lipo -info ios/sdk/JitsiMeet.framework/JitsiMeet
Architectures in the fat file: ios/sdk/JitsiMeet.framework/JitsiMeet are: x86_64 arm64

On simulators runs ok.
sorry my pour English

@saghul
Copy link
Member

saghul commented Apr 29, 2020

Did you enable signing of embedded frameworks?

@umairgillani94
Copy link
Author

Did you enable signing of embedded frameworks?

image

i am using pods and they are embedded

@umairgillani94
Copy link
Author

Can you post code you are using?

i am using this sample code
https://github.com/jitsi/jitsi-meet-sdk-samples/tree/master/ios/swift-pip/JitsiSDKTest

@umairgillani94
Copy link
Author

the same happens with me.
image

Xcode 11.4
Project NoPodsSample
iOS 13.3

I'm compiling the sdk 2.7.0
jitsi-meet-ios-sdk-2.7.0# lipo -info ios/sdk/JitsiMeet.framework/JitsiMeet
Architectures in the fat file: ios/sdk/JitsiMeet.framework/JitsiMeet are: x86_64 arm64

On simulators runs ok.
sorry my pour English

this the the same error i am facing @saghul can you please help

@saghul saghul added the mobile Issue related to any mobile system running Jitsi Meet label Apr 29, 2020
@jefaokpta
Copy link

Did you enable signing of embedded frameworks?

image

yes, they are signing enable.

please take a look, I inverted the order of the frameworks and the library not loaded changed to WebRTC.

Screen Shot 2020-04-29 at 11 47 16

I'm newbie in iOS development and don't know if the order of the frameworks matters.

@nedimf
Copy link

nedimf commented May 2, 2020

Guys found a fix for this, at least I think. For me problem was with every Cocoa Pods, running it on real device resulted in crash.
Solution
Update your iOS to latest version and you have to update your Xcode to latest version.
I think there is know issue and they have introduced fix for it.
Try it out and i hope it works for you all.

@jefaokpta @saghul @umairgillani94

@jefaokpta
Copy link

Guys found a fix for this, at least I think. For me problem was with every Cocoa Pods, running it on real device resulted in crash.
Solution
Update your iOS to latest version and you have to update your Xcode to latest version.
I think there is know issue and they have introduced fix for it.
Try it out and i hope it works for you all.

@jefaokpta @saghul @umairgillani94

Awesome ! Thats works for me! Xcode was already on latest version, I just needed update my Iphone. Thanks so much!

@nedimf
Copy link

nedimf commented May 4, 2020

No problem man, glad I could help 😄

@Echolon Echolon added the ios Issue related to the iPhone/iPad operating system label May 12, 2020
@saghul
Copy link
Member

saghul commented May 13, 2020

I updated all SDK sample apps this morning and all are working fine AFAICT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios Issue related to the iPhone/iPad operating system mobile Issue related to any mobile system running Jitsi Meet
Projects
None yet
Development

No branches or pull requests

5 participants