I'm trying to get a project running on an iPhone 5C, one that needs a lot of frameworks. I added all that was needed in Link Libraries.
The project works on an iPhone 5S and an iPad, but on an iPhone 5C it returns the following error:
dyld: Library not loaded: /System/Library/Frameworks/AVKit.framework/AVKit
Referenced from: /var/mobile/Applications/28EC3D4B-1011-45EA-8A6C-7D62DBC9CC09/cnContainerApp.app/cnContainerApp
Reason: image not found
Then it would seem as if AVKit.framework has not been added. Oh, but it is.
Now some of the suggestions I've read online was to:
- Put it in Embedded Binaries - Tried that, but it didn't do anything. I'm also reluctant to try and touch anything on a project that works on every other device.
- Clean and build - Tried it, didn't do anything.
- Delete derived data - Nope.
- Switch
Embedded Framework with Swift
toYes
- Eh, my project was exported from Unity. No real Swift files as far as I know. - My
Runpath Search Paths
has@executable_path/Frameworks
already.
iPhone 5C has the version of 7.0, while the Xcode project has the deployment target of 6.
If it means anything the version of the iPhone 5S it worked on was 8.4.
Any other suggestions?