I'm using xcode 5. I just got some errors saying:
ld: warning: ignoring file /Users/wog-khatzpetalio/Desktop/LiveGateApp/NoInterfaceBuilder/LiveGate/Parse.framework/Parse, missing required architecture x86_64 in file /Users/wog-khatzpetalio/Desktop/LiveGateApp/NoInterfaceBuilder/LiveGate/Parse.framework/Parse (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_PFObject", referenced from:
objc-class-ref in LiveGate.o
"_OBJC_CLASS_$_PFQuery", referenced from:
objc-class-ref in LiveGate.o
"_OBJC_CLASS_$_Parse", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
My App is working in all simulator except for iPhone 64 bit.
What should be the possible cause of this error?
Change your architectures into this one
It means you do not have the Parse library properly included in your project. It's possible that something is preventing it from linking, say if the parse library did not support armv64 and you were using the default set of architectures in your project.
Related
I used TI smartConfig Framework in my APP to Configure CC3000 Modules.The Code downloaded from Texas Instruments Site was not working in Simulator and Showing the following error, but it's working when Device connected.
ld: warning: ignoring file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_DEBUG_ARM_64.a, missing required architecture i386 in file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_DEBUG_ARM_64.a (2 slices)
ld: warning: ignoring file/Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_RELEASE_ARM_64.a, missing required architecture i386 in file /Naresh/CC3000_Smartconfig_iOS_Source-1.1/src/CC3x/libFTC_RELEASE_ARM_64.a (2 slices)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FirstTimeConfig", referenced from:
objc-class-ref in CC3xUtility.o
objc-class-ref in CC3xMainViewController.o
objc-class-ref in CC3xMainViewController_iPad.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
According to this post, it does not work on Simulator because you need real hardware to test its functionality. However, apparently they think that apps using this library don't have any other function/UI to test in simulator. That's why they don't provide universal library.
I am currently getting an error when I want to build project on a 64bit System. (iPad, iPhone).
I am getting this error :
ld: warning: ignoring file /(project Path)/SKMaps.framework/SKMaps, missing required architecture x86_64 in file /(project Path)/SKMaps.framework/SKMaps (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_SKAnnotation", referenced from:
objc-class-ref in MapViewController.o
"_OBJC_CLASS_$_SKMapView", referenced from:
objc-class-ref in MapViewController.o
"_OBJC_CLASS_$_SKMapsInitSettings", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_SKMapsService", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On non 64-Bit Systems it works like a charm! But it shows error the other way around.
Need some guidance on this. Thanks.
You will need the SDK build for arm64. Send an email to dev#skobbler.com and you should receive the build.
This is my error::
ignoring file
/Users/iton/Desktop/WebRtc/WebRtc/Opentok.framework/Opentok, missing
required architecture i386 in file
/Users/iton/Desktop/WebRtc/WebRtc/Opentok.framework/Opentok (2 slices)
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_OTPublisher", referenced from:
objc-class-ref in ViewController.o "_OBJC_CLASS_$_OTSession", referenced from:
objc-class-ref in ViewController.o "_OBJC_CLASS_$_OTSubscriber", referenced from:
objc-class-ref in ViewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1
(use -v to see invocation)
It looks like that you are trying to run an application with the OpenTok libraries in the local simulator.
Unfortunately, this is not possible as the OpenTok library do not provide an x86 version of their runtime libraries.
For this reason you need to use a real, physical device even for test
I am getting below warning
ld: warning: ignoring file [path]/libMAKit.a, missing required architecture i386 in file Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MAViewController", referenced from: _OBJC_CLASS_$_AnalysisViewController in AnalysisViewController.o
"_OBJC_CLASS_$_MAChartView", referenced from: objc-class-ref in AnalysisViewController.o
"_OBJC_CLASS_$_MAKitTheme_WelterWeightDark", referenced from: objc-class-ref in AnalysisViewController.o
"_OBJC_METACLASS_$_MAViewController", referenced from: _OBJC_METACLASS_$_AnalysisViewController in AnalysisViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Looks like libMAKit.a not have simulator (i386) architecture, if you have source you can rebuild it but frequently third party libs ships without i386 architecture and can be usable only on real device
Try to find some missing files (red letters) like images. We spend most of one day just to figure it out that I didn't had all the images locally. (Sorry if it's bad english)
I need some assistance. I added Parse SDK and it works fine during testing. When I attempt to build it, it gives me four 'Apple Mach-O Linker' errors:
ld: warning: ignoring file
/Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse,
missing required architecture arm64 in file
/Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse
(3 slices) Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PFPush", referenced from:
objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_PFInstallation", referenced from:
objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_Parse", referenced from:
objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code
1 (use -v to see invocation)
It sounds as if your library is not built for 64-bit iOS but you're trying to use that setting for your app. Try removing arm64 from the architecture entry in your build settings.
Cleaning the code and then building again solve the problem for me!