While working on update to my project (XCode 8.3) I faced the following crash:
dyld: Library not loaded: @executable_path/../Frameworks/libfmod.dylib
Referenced from: /Users/IK/Library/Developer/Xcode/DerivedData/PathOfLight_OSX-fibtvsfsodlsmdhggpkzuifkihzq/Build/Products/Debug/PathOfLight_fullAppStore.app/Contents/MacOS/PathOfLight_fullAppStore
Reason: no suitable image found. Did find:
/Users/IK/Library/Developer/Xcode/DerivedData/PathOfLight_OSX-fibtvsfsodlsmdhggpkzuifkihzq/Build/Products/Debug/PathOfLight_fullAppStore.app/Contents/MacOS/../Frameworks/libfmod.dylib: code signature invalid for '/Users/IK/Library/Developer/Xcode/DerivedData/PathOfLight_OSX-fibtvsfsodlsmdhggpkzuifkihzq/Build/Products/Debug/PathOfLight_fullAppStore.app/Contents/MacOS/../Frameworks/libfmod.dylib'
I tried many advices from the similar topics:
- Downloaded new Apple WWDR certificate
- Rebooted computer, cleared project and derived data several times
- Changed and cleared Runpath Search Paths
- Checked, that dylib exists in Frameworks in the bundle
Note again, this was a working project, that was submitted to the store about a year ago.
I'll appreciate any ideas how to make it work!