Created
November 25, 2017 02:17
-
-
Save jaisonv/ca1fa4578c449080539ed50d87a98268 to your computer and use it in GitHub Desktop.
Error running tests on framework when your framework has third party frameworks dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When adding a third framework to yours you may face the following error if you try to run tests: | |
The bundle “[framework-name]Tests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle. | |
(dlopen_preflight([framework-path]): Library not loaded: @rpath/[third-framework-name].framework/[third-framework-name] | |
Referenced from: [derived-data-framework-path] | |
Reason: image not found) | |
Program ended with exit code: 82 | |
This problem can be solved by adding "$(PROJECT_DIR)" to the "Runpath Search Paths" on the framework's Build Settings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment