I am trying to run a Swift app on my iPhone 4s. It works fine on the simulator, and my friend can successfully run it on his iPhone 4s. I have iOS 8 and the official release
If you're getting an error like this:
The bundle "YourFrameworkTests" couldn't be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle. (dlopen_preflight(/some/path/.../YourFrameworkTests.xctest/YourFrameworkTests): Library not loaded: @rpath/SomeOther.framework/SomeOther Referenced from: /some/path/...)
and use CocoaPods in your framework, then try to edit the Podfile
and remove inherit! :search_paths
from the Test
target, and run pod install
again.
For more details, see https://github.com/CocoaPods/CocoaPods/issues/8868.