07-20-2023, 03:03 PM
I am using [Restkit][1] for a Mac app. I can run the App from Xcode, but when I Archive the app and start the `.app` bundle I get the following error:
Dyld Error Message:
Library not loaded: /Library/Frameworks/RestKit.framework/Versions/A/RestKit
Referenced from: /Users/USER/Desktop/*/MyApp.app/Contents/MacOS/MyApp
Reason: image not found
The framework `Restkit.framework` is a product of the Restkit project dependency within my project. I am also using another framework `Sparkle.framework` which I also copy to the `.app` bundle and which is referenced correctly.
What do I have to change in my project, that `MyApp` does not reference the framework via `/Library/Frameworks/...` but rather use the framework from the app bundle like the `Sparkle.framework`.
I am using Restkit at commit `c19a500`
[1]:
Dyld Error Message:
Library not loaded: /Library/Frameworks/RestKit.framework/Versions/A/RestKit
Referenced from: /Users/USER/Desktop/*/MyApp.app/Contents/MacOS/MyApp
Reason: image not found
The framework `Restkit.framework` is a product of the Restkit project dependency within my project. I am also using another framework `Sparkle.framework` which I also copy to the `.app` bundle and which is referenced correctly.
What do I have to change in my project, that `MyApp` does not reference the framework via `/Library/Frameworks/...` but rather use the framework from the app bundle like the `Sparkle.framework`.
I am using Restkit at commit `c19a500`
[1]:
[To see links please register here]