I have an app with several custom dynamic frameworks which means I am using iOS 8 as the SDK on Xcode 6.2. My Mac is on Yosemite. The frameworks have Swift sources and resources.
The app is distributed enterprise so I just create an IPA and distribute internally via a webpage where the user can download and install the app.
The app installs and runs on iPhone 5(iOS 8.1.2), iPod Touch(iOS 8.2) and simulators BUT NOT on iPhone 6(iOS 8.1.2). The error is always dyld: Library not loaded: @rpath/Custom.framework/. Whenever I remove and add the frameworks back to try to fix it another framework pops up as not loaded on the iPhone 6. (Why!!!)
The following were set:
- @executable_path/Frameworks
- Embedded Content Contains Swift code - Yes
- Frameworks in embedded binaries
- Embedded Frameworks
- Link Binary With Libraries
What is causing these issues and what can I do to make sure that the app runs consistently on all devices and iOS 8 versions.
Most of the solutions I find are trial and error suggestions.