Kotlin/kotlin-examples

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

haiyuansun opened this issue · 1 comments

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.

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