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

App Crashes on Iphone 7 please check #107

Open
Yagnik13 opened this issue May 12, 2020 · 11 comments
Open

App Crashes on Iphone 7 please check #107

Yagnik13 opened this issue May 12, 2020 · 11 comments

Comments

@Yagnik13
Copy link

dyld: Library not loaded: /System/Library/Frameworks/Combine.framework/Combine

Referenced from: ~/Library/Developer/CoreSimulator/Devices/4BF617DD-3014-4666-A6DB-CDC5C05DDDAC/data/Containers/Bundle/Application/F37682F8-DFE2-4D7E-BF9F-26D2A73C32CD/appName/Frameworks/MMPlayerView.framework/MMPlayerView
Reason: no suitable image found. Did find:
/System/Library/Frameworks/Combine.framework/Combine: mach-o, but not built for iOS simulator

@MillmanY
Copy link
Owner

Step1: AVFoundation, SwiftUI and Combine Framework in Build Phases -> Link Binary With Libraries

Step2: In Build Settings -> Other Linker Flags ->
-weak_framework Combine
-weak_framework AVfoundation
-weak_framework SwiftUI

@Yagnik13
Copy link
Author

@MillmanY thanks for replay

step2 is done successfully but for step1 i can not find combine framework in Build phases please

Guide me how to add combine framework.

@MillmanY
Copy link
Owner

MillmanY commented May 13, 2020

only step2 also crash or not ? in my case i add step2 will not crash
I take a screenshot for "Build phase"
https://github.com/MillmanY/MMPlayerView/blob/master/demo/buildPhase.png

@Yagnik13
Copy link
Author

@MillmanY it will generate same crash.

let me clear one thing that my simulator OS is 12 so please check again in iPhone 7 with OS 12 actually i got crash in real device(iPhone 7) which is having latest OS but i don't have crash log otherwise i'll show you that also.

@MillmanY
Copy link
Owner

Are you fine in simulator?

@Yagnik13
Copy link
Author

No @MillmanY i have issue on both side (Simulator/Device)

@MillmanY
Copy link
Owner

MillmanY commented May 13, 2020

I try simulator(12.4)r is fine
I don't have Real device for os 12

@Yagnik13
Copy link
Author

okay i'll check again and let you know

@HB-Dimple
Copy link

Same issue for me!

@veeru1011
Copy link

Same Issue App crash on iPhone 6 (Device and Simulator) both

@Yagnik13
Copy link
Author

Yagnik13 commented Jun 4, 2020

Hey @MillmanY ,

i'm facing same issue in iPhone 5s (Device and Simulator)
OS : 12.4.5

please check and let me know

Logs

dyld: Library not loaded: /System/Library/Frameworks/Combine.framework/Combine
Referenced from: /Users/Library/Developer/CoreSimulator/Devices/0C6D6A8C-5360-431F-AB82-2A7136286A46/data/Containers/Bundle/Application/44701F14-D732-4DBF-8D69-94564A8666FD/AppName/Frameworks/MMPlayerView.framework/MMPlayerView
Reason: no suitable image found. Did find:
/System/Library/Frameworks/Combine.framework/Combine: mach-o, but not built for iOS 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

4 participants