0

I get the error message "dyld: Library not loaded: @rpath/Charts.framework/Charts" for reason "Reason: no suitable image found."

I have tried various answers such as restarting Xcode.

I used pods for the installation of Charts, so adding the framework to embedded binaries is not applicable.

Has anyone found a solution to this?

Jess Murray
  • 1,273
  • 1
  • 10
  • 32

2 Answers2

0

Have you tried suggestions from their issue tracker?

You can find it here

keyv
  • 2,430
  • 1
  • 18
  • 15
  • Yes but they suggest adding it to 'embedded binaries' which I don't need as i used pods? – Jess Murray Apr 30 '16 at 20:30
  • 1
    when i try adding it to embedded binaries i get a different error message "App installation failed. the application does not have a valid signature" – Jess Murray Apr 30 '16 at 20:33
  • have you tried to regenerate certificates/provision profiles? – keyv Apr 30 '16 at 21:17
  • How would i go about doing that? delete the certificates from the keychain access? – Jess Murray May 01 '16 at 07:07
  • create new ones in Developer Portal and update them via xcode. – keyv May 02 '16 at 10:53
  • have a look here, for example http://stackoverflow.com/questions/26083134/swift-code-crash-log-dyld-library-not-loaded-rpath-libswiftcore-dylib?rq=1 – keyv May 02 '16 at 10:53
0

For me, it was a certificate issue. My mac's clock was reset, so the keychain certificate could not be validated.

I imported Apple's WWDR certificate https://developer.apple.com/support/certificates/expiration/ and did clean build.

I hope it helps!

Kirandeep Kaur
  • 105
  • 1
  • 2
  • 14