I have found these error while trying to run an XCODE application that uses NinevehGL framework:
ld: truncated fat file. Slice from 1478656 to 2279616 is past end of file with length 2270604 file './NinevehGL.framework/NinevehGL' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I don't really know whats the problem and how to solve an error like these I didn't find any documentation handling these kind of problem .
I had a similar error on one of my project:
ld: truncated fat file. Slice from 1067056 to 2127456 is past end of file with length 770048 file '/Users/jenkins-slave-pepper/workspace/iosbuild/App/Pods/FirebaseInstanceID/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID' for architecture armv7
The solution was to clear the pod cache and re-download everything.
rm -rf ~/Library/Caches/CocoaPods
rm -rf `pwd`/Pods/
pod update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With