@rpath/libswiftCore.dylib问题

时间:2023-12-25 17:53:25

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /private/var/containers/Bundle/Application/B717F869-0BCE-42C9-8CA8-D845F0499F73/8Minute.app/Frameworks/Charts.framework/Charts
  Reason: no suitable image found.  Did find:

解决办法:

Restarting Xcode, iPhone, computer
Cleaning & rebuilding
Revoking and creating new certificate/provision profile
Runpath Search Paths is $(inherited) @executable_path/Frameworks
Embedded Content Contains Swift Code is 'Yes'
Code Signing Identity is developer