Xcode 10 fatal error: lipo: can't open input file

3k Views Asked by At

I'm building a static library in objective-c, in Xcode 9 I could build without problem but I'm blocked in Xcode 10. Initially I had these two problems that I resolved with the answers below

Xcode 10 Error: Multiple commands produce

Xcode 10: unable to attach DB error

Now I have this lipo error, and I already tried the solution of adding arm64 to the valid architecture and build only valid architecture

build settings pictures

** BUILD SUCCEEDED **

fatal error: lipo: can't open input file: /Users/Alex/Library/Developer/Xcode/DerivedData/myNewLibrary-gvpwgkkoffdnkybybgkafnqwepcx/Build/Products/Debug-iphoneos/arm64/myNewLibrary/myNewLibrary (No such file or directory) Command PhaseScriptExecution failed with a nonzero exit code

Anyone have idea how to resolve ? thanks

0

There are 0 best solutions below