Following the instructions here: http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/
I added GData to my iOS 5 project. When it's time to archive the project I get the following error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GDataServiceGoogleYouTube", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_GDataEntryYouTubeVideo", referenced from:
objc-class-ref in DataManager.o
objc-class-ref in ListController.o
objc-class-ref in ShareController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've checked the build settings for the GData.xcodeproj -> GDataTouchStaticLib, and this is what I set them to as seen by this pic: )
Any help is appreciated, to help get my project archived.
You haven't linked the libraries properly. Make sure you follow the directions carefully when it comes to adding the library paths. See Undefined symbols for architecture armv7 for more information.
Related
I have follow the Sender synth example, with XCode 10.1, Audiokit 4.5.5. But when I try to build it (part Audiobus and Integration), it fails with this error:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_ABPort", referenced from:
objc-class-ref in Audiobus.o
"_OBJC_CLASS_$_ABAudiobusController", referenced from:
objc-class-ref in Audiobus.o
"_OBJC_CLASS_$_ABAudioSenderPort", referenced from:
objc-class-ref in Audiobus.o
"_OBJC_CLASS_$_ABAudioFilterPort", referenced from:
objc-class-ref in Audiobus.o
"_ABConnectionsChangedNotification", referenced from:
SenderSynth.Audiobus.(startObservingAudiobusConnections in _37936C4CF5A242669D2CAF61EB84EA24)() -> () in Audiobus.o
SenderSynth.Audiobus.(stopObservingAudiobusConnections in _37936C4CF5A242669D2CAF61EB84EA24)() -> () in Audiobus.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried to build with my iphone SE connected via usb and with Audiobus app installed on it.
I tried also targeting simulator, but same error occurs with x86_64 rather than arm64.
I searched and try many things but did not find any solution. I read many times the tutorial but I don't see anything I forgot.
What is missing. Could someone help me please?
These are symbols from the AudioBus SDK; you need to link with the SDK and using your API key to resolve these errors.
If you have this issue, try adding "$(inherited)" to your targets build settings under "other linker flags".
https://heroes.audiob.us/discussion/706/sendersynth-tutorial-audiobus-error/p1
I updated my cocoapods version to 1.0 and am now getting a slew of errors regarding architecture. This is what my errors look like:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_Reachability", referenced from:
objc-class-ref in ReachabilityManager.o
(maybe you meant: _OBJC_CLASS_$_ReachabilityManager)
"_OBJC_CLASS_$_PBJVision", referenced from:
objc-class-ref in NewSpinViewController.o
"_PBJVisionPhotoImageKey", referenced from:
-[NewSpinViewController vision:capturedPhoto:error:] in NewSpinViewController.o
"_kReachabilityChangedNotification", referenced from:
-[NoInternetViewController viewDidLoad] in NoInternetViewController.o
"_PBJVisionPhotoThumbnailKey", referenced from:
-[NewSpinViewController vision:capturedPhoto:error:] in NewSpinViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've spent hours trying to fix this by toggling settlings under build settings but nothing is working for me.
This is what I currently have for my Architectures
Anyone have any ideas?
Try this: delete derived data and compile again. Sometimes the pod libraries simply don't get compiled even you cleaned the project, this happened to me when I updated to cocoapods 1.0.1.
I'm relatively new to iOS development. I'm not sure what to do about resolving the following errors that I believe are due to referencing a bluetooth library. What can I do to debug/fix this?
Undefined symbols for architecture armv7:
"_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from:
_nclSStartScan in libNCLiOS.a(nclCb.o)
"_CBAdvertisementDataManufacturerDataKey", referenced from:
-[Boss centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in libNCLiOS.a(nclCb.o)
"_OBJC_CLASS_$_CBUUID", referenced from:
objc-class-ref in libNCLiOS.a(nclCb.o)
"_OBJC_CLASS_$_CBCentralManager", referenced from:
objc-class-ref in libNCLiOS.a(nclCb.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I haven't done Bluetooth related development on IOS but the messages might be related to the missing Bluetooth framework in the project files.
Have you added them ?
IOBluetooth.framework
IOBluetoothUI.framework
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!
When i am trying to implement share through AddPlus , following error displayed. what can i do? Anybody knows?
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_Facebook", referenced from:
objc-class-ref in libAddThis.a(ATFacebook.o)
"_OBJC_CLASS_$_ATReachability", referenced from:
objc-class-ref in libAddThis.a(ATGenericUtility.o)
"_OBJC_CLASS_$_SBJSON", referenced from:
objc-class-ref in libAddThis.a(ATTwitter.o)
objc-class-ref in libAddThis.a(ATWebServiceAPI.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Have you checked all your frameworks are properly referenced ? if I am not mistaken the following are required for addThis:
Security.framework,
CoreData.framework,
SystemConfiguration.framework,
MessageUI.framework,
Twitter.framework,
the following are needed for the new facebook SDK also set them as optional for versions prior to ios6
Social.framework,
AdSupport.framework,
Accounts.framework