IOS 5.0 ADDPlus implementation issue- - ios

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

Related

How to resolve this Stripe Payment integration Error?

"_OBJC_CLASS_$_STPPaymentCardTextField", referenced from:
objc-class-ref in PaymentViewController.o
"_OBJC_CLASS_$_Stripe", referenced from:
objc-class-ref in StripeHandlerViewController.o
objc-class-ref in AppDelegate.o
objc-class-ref in PaymentViewController.o
(maybe you meant: _OBJC_CLASS_$_StripeHandlerViewController)
"_OBJC_CLASS_$_STPAPIClient", referenced from:
objc-class-ref in StripeHandlerViewController.o
objc-class-ref in PaymentViewController.o
"_StripeDomain", referenced from:
-[StripeHandlerViewController createBackendChargeWithToken:completion:] in StripeHandlerViewController.o
___71-[StripeHandlerViewController createBackendChargeWithToken:completion:]_block_invoke in StripeHandlerViewController.o
-[PaymentViewController save:] in PaymentViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I try to integrate Stripe payment in my old project, so i added some example file in myproject. it show this errors so i google it and add this file to Build phase--> Compile sources but it still show this error.
Please help me to find solution.
ld: symbol(s) not found for architecture x86_64
You are trying to build this for the simulator and the linker is telling you that the library is missing the binary for the x86_64 (simulator). I'm not familiar with that library but you are most likely missing the framework that's specifically for the simulator or that library doesn't have simulator support.

Add card.io in Custom framework face below issue

I want to create a custom framework but also want to add card.io framework into my custom framework. So, anyone have an idea to create this in proper way. If yes then please provide me any idea or demo if possible.Currently I facing below error at the build time.
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_CardIOPaymentViewController", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_CardIOUtilities", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

GoogleMaps for iOS Linker Error

While building the Application i am getting the following error i have searched a lot but i am unable to figure out what is the problem.
ld: warning: ignoring file /Users/username/GoogleMaps/GoogleMaps.framework/GoogleMaps, missing required architecture arm64 in file /Users/username/GoogleMaps/GoogleMaps.framework/GoogleMaps (2 slices)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GMSPolyline", referenced from:
objc-class-ref in GPSController.o
"_OBJC_CLASS_$_GMSCameraPosition", referenced from:
objc-class-ref in GPSController.o
"_OBJC_CLASS_$_GMSMutablePath", referenced from:
objc-class-ref in GPSController.o
"_OBJC_CLASS_$_GMSMarker", referenced from:
objc-class-ref in GPSController.o
"_OBJC_CLASS_$_GMSMapView", referenced from:
objc-class-ref in GPSController.o
"_OBJC_CLASS_$_GMSServices", 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)
I am using GoolgeMaps SDK 1.4.3
PS:- I am relatively new to iOS programming so please avoid any blunders.
Adding value $(inherited) to BuildSettings->Linking->Other Linker Flags of your target
If you are developing an SDK/framework/POD you should do the same as above but under target name PROJECTNAME_tests.
Should fix the issue.
I had this problem too, and my solution was to add the frameworks to
Target -> Build Phases -> Link Binary With Libraries
ok I figured out the Problem
My Library was not built for 64-bit but i was trying to use that settings for my app, after i removed arm64 from architecture i successfully build the application.

Bluetooth Related Linker Errors in XCode 6.1.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

GData iPhone Archive Error

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.

Resources