6

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?

Snowcrash
  • 80,579
  • 89
  • 266
  • 376

4 Answers4

6

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..

gunas
  • 1,889
  • 1
  • 16
  • 29
2

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.

Pradeep Kachhawaha
  • 6,589
  • 2
  • 14
  • 13
0

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.

spencer.sm
  • 19,173
  • 10
  • 77
  • 88
user3754239
  • 31
  • 1
  • 3
0

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.

less
  • 1
  • 1