I am trying to add an AdManager File in my iphone app so that it has differernt types of ads. (revmob, adwhirl, chartboost etc). At the same time I want the In App-Purchase functionality as well. I am working correct on that but there is some issues and bugs which I don't understand what are, I even added all the required frameworks.
Undefined symbols for architecture i386:
"_OBJC_METACLASS_$_CDataScanner", referenced from:
_OBJC_METACLASS_$_CJSONScanner in CJSONScanner.o
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
-[RevMobStoreController openStoreWithITunesItemId:] in RevMobAds(RevMobStoreController.o)
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
objc-class-ref in RevMobAds(RevMobStoreController.o)
"_OBJC_IVAR_$_CDataScanner.current", referenced from:
-[CJSONScanner scanNotQuoteCharactersIntoString:] in CJSONScanner.o
"_OBJC_CLASS_$_CDataScanner", referenced from:
l_OBJC_$_CATEGORY_CDataScanner_$_CDataScanner_Extensions in CDataScanner_Extensions.o
_OBJC_CLASS_$_CJSONScanner in CJSONScanner.o
"_OBJC_IVAR_$_CDataScanner.end", referenced from:
-[CJSONScanner scanNotQuoteCharactersIntoString:] in CJSONScanner.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Did you add the StoreKit framework?
That would certainly resolve the first couple of linker errors.
Related
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)
Hi I have looked over similar questions and tried everything but I can seem to fix my code. Every time I try and archive it I get
Apple Mach-O Linker Errors for Parse User, Object, File, Query, Parse
and a linker command failed with exit code 1.
First I get an ld:
warning: ignoring file .., missing required architecture arm 64 in
file Parse.framework.Parse
Then the following errors:
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_PFUser",
referenced from:
objc-class-ref in SignupViewController.o
objc-class-ref in LoginViewController.o
objc-class-ref in InboxViewController.o
objc-class-ref in EditFriendsViewController.o
objc-class-ref in FriendsViewController.o
objc-class-ref in CameraViewController.o "_OBJC_CLASS_$_PFObject", referenced from:
objc-class-ref in CameraViewController.o "_OBJC_CLASS_$_PFFile", referenced from:
objc-class-ref in CameraViewController.o "_OBJC_CLASS_$_PFQuery", referenced from:
objc-class-ref in InboxViewController.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)
Please can someone with experience of this issue help me as I've spent about 3 hours researching this already.
I know it's something to do with the Linked Frameworks but I don't get what?
Things I've tried:
Updating to the latest version of Parse Framework.
Including various other Frameworks that might have been missing.
Changed the Architectures in Build Setting to Standard Architectures (armv7, arm64)
Changed Build active Architecture only to No.
I just want this X-code project to build and archive with 64-bit support but there seems to be something fundamentally wrong with how I'm implementing Parse for 64-bit
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
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.
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