Kotlin / kotlin-examples

Various examples for Kotlin
3.21k stars 1.04k forks source link

dyld: Library not loaded runtime error when running the example iOS project on iPhone #125

Closed haiyuansun closed 4 years ago

haiyuansun commented 4 years ago

I got this error when I trying to run this project on my iPhone 11 pro, iOS 13:

dyld: Library not loaded: @rpath/SharedCode.framework/SharedCode
  Referenced from: /private/var/containers/Bundle/Application/3C8734D7-3283-4290-969F-A8F7D817822D/KotlinIOS.app/KotlinIOS
  Reason: no suitable image found.  Did find:
    /private/var/containers/Bundle/Application/3C8734D7-3283-4290-969F-A8F7D817822D/KotlinIOS.app/Frameworks/SharedCode.framework/SharedCode: code signature invalid for '/private/var/containers/Bundle/Application/3C8734D7-3283-4290-969F-A8F7D817822D/KotlinIOS.app/Frameworks/SharedCode.framework/SharedCode'

while it won't happen on simulators.

lehanphong commented 4 years ago

@haiyuansun how can U fix this. I have same issue. help me!