I am working on a Swift project with cocoapods. Here is Podfile:
pod \'GPUImage\', \'~> 0.1.4\'
After i run pod
it's my bad, i got the solution:
You then need to add a new Copy Files build phase, set the Destination to Frameworks, and add the GPUImage.framework build product to that. This will allow the framework to be bundled with your application (otherwise, you'll see cryptic "dyld: Library not loaded: @rpath/GPUImage.framework/GPUImage" errors on execution).
In my case, just change Develop account in Signing & Capabilities then build app again. It works
I had the same issue with the following library versions:
Finally I solved this issue by the following steps:
First step:
Second Step:
cd ~/Library/Developer/Xcode/DerivedData
rm -rf Build/*
see below if you have a customized build locationrm -rf ModuleCache/*
Third Step:
If you have defined a custom build location:
- Go with Finder or the Terminal to the location of the build files. The location for these files is defined in Xcode. To check where these files are:
- Open Xcode
- Go to
Settings -> Locations -> Derived Data
- Go to that location and delete the
Build
folder
Then everything work well.
Hope this can help somebody in the future.