Reputation: 3921
I recently added GPUImage to my podfile in Xcode, as follows:
pod 'GPUImage', '~> 0.1.4'
I don't think the problem I'm having is GPUImage specific, but rather has to do with the fact that GPUImage is the only pod I've added that includes extra resources.
My build keeps failing with "Shell Script Invocation Error, exit code 23".
./Pods/GPUImage/framework/Resources/lookup.png
./Pods/GPUImage/framework/Resources/lookup_amatorka.png
./Pods/GPUImage/framework/Resources/lookup_miss_etikate.png
./Pods/GPUImage/framework/Resources/lookup_soft_elegance_1.png
./Pods/GPUImage/framework/Resources/lookup_soft_elegance_2.png
building file list ... rsync: link_stat "/Pods/GPUImage/framework/Resources/lookup.png" failed: No such file or directory (2)
rsync: link_stat "/Pods/GPUImage/framework/Resources/lookup_amatorka.png" failed: No such file or directory (2)
rsync: link_stat "/Pods/GPUImage/framework/Resources/lookup_miss_etikate.png" failed: No such file or directory (2)
rsync: link_stat "/Pods/GPUImage/framework/Resources/lookup_soft_elegance_1.png" failed: No such file or directory (2)
rsync: link_stat "/Pods/GPUImage/framework/Resources/lookup_soft_elegance_2.png" failed: No such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
Command /bin/sh failed with exit code 23
I think it's a problem with some sort of build path/pod configuration, but I tried for quite a while to fix it myself and am ready to ask for help... The real annoyance is that I'm not even using those resources! If I go into my Pods-resources.sh file and manually comment out all the "install_resource" lines, everything builds just fine and my project works fine. Of course, that is only a temporary/fragile solution, I'd like to just fix the issue at the source.
Any ideas on how to fix this issue?
Some things I've tried:
Upvotes: 6
Views: 6812
Reputation: 10938
Well the files seem to be in the repository so maybe you should check inside your local Pods directory.
Also you could try to delete the directory and pod install
again.
Upvotes: 0
Reputation: 3805
For me, it was something different than Cfr's answer. I had an old Pod file I removed from the Podfile, but somehow, it was still on the Schemes. I removed it from the Managed schemes and it worked.
Upvotes: 0
Reputation: 5133
I'm experiencing the same problem with cocoapods beta (--pre
). Reinstall stable version:
sudo gem uninstall --all cocoapods
sudo gem install cocoapods
Upvotes: 13