When I'm building my Xcode 4 apps I'm getting this warning:
ld: warning: directory not found for option '-L/Users/frenck/Downloads/apz/../../../Downloads/Google Analytics SDK/Library'
ld: warning: directory not found for option '-L/Users/frenck/Downloads/apz/../Google Analytics SDK/Library'
But I do not have Google Analytics in my app, I deleted all of it how can I remove the error? And archiving an app gives me the error:
clang: error: no such file or directory: 'armv6'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I've tried so many things but I'm still getting this error when I'm trying to make an .IPA file
You need to do this:
-L
flag, then delete the values in Library Search Paths
-F
flag, then delete the values in Framework Search Paths
And regarding the second error, sorry i can't help you out with that one. Hope someone else can help you out.
There are two errors that people seem to be confusing.
If it is a "directory not found for option '-L/..." error, that means it's a Library Error, and you should try to:
If it is a "directory not found for option '-F/...", that means it's a Framework Error, and you should try to:
This might happen when you move the referenced file around.
My problem was that I opened the original .xcodeproj instead of the .xcworkspace that was generated by CocoaPods.
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