MillmanY / MMPlayerView

Custom AVPlayerLayer on view and transition player with good effect like youtube and facebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App Crashes on Iphone 7 please check

Yagnik13 opened this issue · comments

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

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

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

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

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

Are you fine in simulator?

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

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

okay i'll check again and let you know

Same issue for me!

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

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