hello folks got stuck in this error.
clang: error: no such file or directory: '/Users/astutesol/Library/Developer/Xcode/DerivedData/Cricket_App-fhjgxyyxntnfoudotqonxggicgck/Build/Products/Debug-iphoneos/libCordova.a'
any suggestions please
Close Xcode and clear Derived data from (/Users/astutesol/Library/Developer/Xcode/DerivedData)
Now, open project clean->build. And try.
Related
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
I am trying to build VLCkit with below instruction
https://wiki.videolan.org/VLCKit/
but I met an error which I do not understand as below
[[1;32minfo[0m] Preparing build dirs
Current branch master is up to date.
clang: error: no input files
clang: error: no input files
clang: error: no input files
[[1;32minfo[0m] Building tools
/Users/apple/01_workspace/02_video/VLCKit/buildVLCKit.sh: line 38: pushd: extras/tools: No such file or directory
Could you help me to explain what is this error, and how can I fix it?
I am using Mac OS Sierra version 10.12.6 and Xcode Version 8.3.3
I am receiving the following linker error on iOS 9 and above. I am stuck with this issue for quite sometime. Any help would be appreciable.
ld: file not found: /System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have fixed this issue my removing WebKit.framework from the project's file system and again adding it only thru Build phases.
I downloaded mbalertview from the git and try to compile and run but i got this error
_vImageBoxConvolve_ARGB8888", referenced from:
-[MBFlatAlertView boxblurImage:boxSize:] in MBFlatAlertView.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
please help me.
Apparently vImageBoxConvolve_ARGB8888() is not defined. See if the Accelerate framework is properly included in the project.
So I'm building an application with CorePlot, and when I tried to run it i got the following errors:
ld: warning: ignoring file /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker- chbhtqlxwipamtailjamrakmkpuy/Build/Products/Debug-iphoneos/libCorePlot-CocoaTouch.a,
file was built for archive which is not the architecture being linked (armv6)
ld: duplicate symbol _main in /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main-cocoatouch.o and /Users/tcbl/Library/Developer/Xcode/DerivedData/FaceTracker-chbhtqlxwipamtailjamrakmkpuy/Build/Intermediates/FaceTracker.build/Debug-iphoneos/FaceTracker.build/Objects-normal/armv6/main.o for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I read somewhere that I need to add to other linker flags: -ObjC -all_load -lCorePlot But this doesn't seem to be anywhere in the project info or build settings, and I'm not sure if this even has anything to do with my error. Any help demystifying this would be much appreciated.
If you select your project and go to the Build Settings tab, you should find it listed under Linking. Make sure you have the advanced/complete view of the tab. The field you want to enter those under is "Other Linker Flags".
Hope that helps!