Lipo Error: can't open input file

10.3k Views Asked by At

I'm getting this error:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: can't open input file: /Users/snowcrash/Library/Developer/Xcode/DerivedData/MyApp-awldrudjpictkjfutpthiwoocing/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/MyApp.build/Distribution-iphoneos/MyApp.build/Objects-normal/armv7/MyApp (No such file or directory)

Any suggestions?

4

There are 4 best solutions below

0
On

In my case, it was a stale library. I had -xxxunusedlibrary in 'Other linker flags' in Build Settings.

The library had been removed but the settings didn't clear automatically.

0
On

Go to Project target-> Build setting-> Build Active Architecture only and set this Build Active Architecture only to YES. And it's working fine now..

0
On

I have encountered this problem because command can't find the file generated by build. Please check whether your static library path is consistent with the command file path.

0
On

I also got the same problem. I was using cocoapods, and some other person committed the code after adding new pods with different cocoapods version. you need to clean the project again installing the pods and run the xcode.