0

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!

2 Answers 2

1

Finally, got it! Provisioning profile for the game, installed on my machine, was expired. When looked into package content for another time I installed (double clicked) embedded.provisionprofile included into it and all worked!

Sign up to request clarification or add additional context in comments.

Comments

0

My issue also was the same like you, embedded.provisionprofile. After double clicking and installing the profile, it worked.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.