dyld: Library not loaded: @rpath/libswiftCore.dylib / Image not found

前端 未结 27 2742
我在风中等你
我在风中等你 2020-11-27 14:01

I am running my app from xcode to my iOS device and I get this and black screen on iOS device.

Console text:

dyld: Library not loaded: @rpath/libswif         


        
27条回答
  •  渐次进展
    2020-11-27 14:45

    I had the same error message, that is how I solved it :

    The issue came from the certificates generated automatically by Xcode. I had to revoke these certificates dans generate them back from developer.apple.com

    The solution is then : - Go to developer.apple.com / certificates --> Revoke certificates OR go in Xcode > preferences > accounts > View details > select Sigining identities > clic setting whell > revoke - Got to developper.apple.com and follow instructions to generate new certificates - In Xcode in my project : go to Code Signing Identity and sign both Debug lines with the generated certificate - Both release lines are set to "iOS Developer" - Then project > clean - Build and run on device

提交回复
热议问题