Im writing to you as I am deeply in need of some assistance.
I'm trying to compile an app to my iPhone from Xcode, however, I keep encountering the issue of having this error come up when I press run:
ld: warning: directory not found for option '-F2'
ld: '/Users/[My-name]/Documents/XCode Projects/Store Testing Projects Here/BallGame 1.1/StartApp.framework/StartApp(STAJsonAd.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Now, I have checked and made sure that both my framework search paths and Library search paths are both empty. This is why I am having such an issue, I cannot for the life of me figure out the issue here! Why is Xcode trying to link something that is not specified to link to!
Thanks in advance, cheers.
Do you have more than one TARGETS?
You can change the value in Build Settings→Build Options→Enable BitCode to NO.
Related
I am trying to archive (create an IPA) for a project, but I get stuck with the following error...
ld: '/Users/anupsaund/Desktop/mobileapp-ios/GoogleAnalytics/libAdIdAccess.a(TAGActualAdIdAccess.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/anupsaund/Desktop/mobileapp-ios/GoogleAnalytics/libAdIdAccess.a' for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone help me understand where the error could be?
IS it in the google analytics library or somewhere else?
How would I go about getting the verbosity via Xcode to show me the calling code where the error threw?
Any help would be greatly appreciated.
Bitcode is enabled in your project settings but your app was compiled without it. To fix this you can simply set Enable Bitcode in the project and library settings to No. Hope this helped!
I'm using a third-party framework which helps me to connect a device(Frameworks device). I'm getting
MySignalsConnectKit' was built without full bitcode. All frameworks
and dylibs for bitcode must be generated from Xcode Archive or Install
build for architecture armv7 clang: error: linker command failed with
exit code 1 (use -v to see invocation)
error while trying to achieving. I can successfully build. I searched it but still can't solve the problem. Thank you!
Problem is probably because your third-party framework wasn't built with bitcode. If your application is archived with "Enable bitcode: YES" than all your frameworks must be built with bitcode also. Try to change it to NO, it may help. But then your archive will not contain bitcode. Better would be to get MySignalsConnectKit built with bitcode and use that build instead of one without bitcode.
Once I seem to have got rid of all the syntax errors, while converting my project to Swift 3.0.
I now hit this one:
ld: '/Users/......./ParseUI.framework/ParseUI(PFLogInViewController.o)' does not contain bitcode.
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE),
obtain an updated library from the vendor, or disable bitcode for this
target. for architecture arm64
clang: error: linker command failed with exit code 1
(use -v to see invocation)
After trying a few option change in Xcode which did not have any effect, I don't see any clear solution to solve this issue.
Anyone has a simple and clear answer to that?
In XCode, Select your project in Explorer > Select your Target> Make "Enable Bitcode" to No. And recompile your code.
If you enable bitcode in your target, then all the pods need to have enabled bitcode. But in your case Alamofire looks to be not bitcode enabled. So as long as it is so, you can't go ahead with "Enable Bitcode" option as Yes for your code.
I'm am building to an iphone running iOS9 on xcode 7.1.1 The project uses the parse framework and I get this linker error
ld: '/Users/alexanderbollbach/Desktop/motorvate-ios2-master/Pods/ParseFacebookUtils/libParseFacebookUtilsLib.a(PFFacebookAuthenticationProvider.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm aware of the new bitcode requirements and the app-thining paradigm but am unfamiliar with how to implement it. Is this something on parses end or can I resolve it myself?
Are you using pod to integrate parse ? if yes than it should be resolved ...
delete your derived data and make clean-rebuild again
see here the discussion
https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/254
I upgraded to xcode 5 recently. When I try to run my app that is already working with xcode 4.6, i get this error:
ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/InterfaceBuilderKit.framework/InterfaceBuilderKit' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Anyone know of a way to fix this?
This issue cause from your target setting that has been added automatically in Xcode 5.0
Try these
in your project target look for "Search Paths"->"Framework Search Paths" make sure the value for the field is empty.
in your project target look for "Linking"->"Other linker Flags" make sure the value is empty.
Hope it help