I have an existing Objective-C project that is already using CocoaPods.
After adding the pod 'Purchases' to my podfile my project no longer runs.
It quits with the error messages:
dyld: Library not loaded: @rpath/libswiftCore.dylib
libswiftCore.dylib' (no such file)
I am on Xcode 13.0
I checked the solutions on this page https://stackoverflow.com/questions/26024100/dyld-library-not-loaded-rpath-libswiftcore-dylib, and based on that, have confirmed the following:
For both my project and target:
- Build Settings > Build Options > Always Embed Swift Standard Libraries is set to Yes
For my target:
- Build Settings > Linking > Runpath Search Paths is set to @executable_path/Frameworks
I also Cleaned the project and deleted all Derived Data.
What else do I need to do to resolve this error?
Best answer by AndyView original