I am getting following error while installing the application on my device. before running in device i am tested in simulator uploaded fine but in device i am getting this error :
plz help me how to solve this ..........
_OBJC_CLASS_$_GDataYouTubeMediaGroup", referenced from:
objc-class-ref in YoutubeUploader.o
"_OBJC_CLASS_$_GDataUtilities", referenced from:
objc-class-ref in YoutubeUploader.o
"_OBJC_CLASS_$_GDataMediaTitle", referenced from:
objc-class-ref in YoutubeUploader.o
"_OBJC_CLASS_$_GDataServiceGoogleYouTube", referenced from:
objc-class-ref in YoutubeUploader.o
"_OBJC_CLASS_$_GDataMediaKeywords", referenced from:
objc-class-ref in YoutubeUploader.o
"_kGDataServiceDefaultUser", referenced from:
-[YoutubeUploader uploadVideoFile] in YoutubeUploader.o
"_kGDataSchemeYouTubeCategory", referenced from:
-[YoutubeUploader uploadVideoFile] in YoutubeUploader.o
"_OBJC_CLASS_$_GDataMediaDescription", referenced from:
objc-class-ref in YoutubeUploader.o
"_OBJC_CLASS_$_GDataEntryYouTubeUpload", referenced from:
objc-class-ref in YoutubeUploader.o
"_OBJC_CLASS_$_GDataMediaCategory", referenced from:
objc-class-ref in YoutubeUploader.o
ld: symbol(s) not found for architecture armv6
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You are using the GData library but haven't linked/added it.
Check out GData Objective-C Client Setup in XCode 4 on how to build/link the GData library correctly.
Related
I have searched the web for a possible solution, but without any luck.
Currently i'm trying to integrate the default AWS frameworks into my project. But i can't get rid of the following errors.
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FBSDKLoginManager", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_AWSSNSGetEndpointAttributesInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_AWSSNSSubscribeInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_GIDSignIn", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSGoogleSignInProvider.o)
"_OBJC_CLASS_$_AWSSNSSetEndpointAttributesInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_AWSSNS", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_FBSDKGraphRequest", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_AWSSNSCreatePlatformEndpointInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSUnsubscribeInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_AWSSNSErrorDomain", referenced from:
___88-[AWSPushManager interceptApplication:didRegisterForRemoteNotificationsWithDeviceToken:]_block_invoke.239 in AWSMobileHubHelper(AWSPushManager.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 tryed removing "-ObjC" from "Other linker flags", without luck.
Because these frameworks aren't the only frameworks i use, not all solutions work for me. Simply removing 'ARM64' is no solution.
Please help.
I integrated the SDKTools via CocoaPods, with use_frameworks! and it is throwing me these errors:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_AFHTTPRequestSerializer", referenced from:
objc-class-ref in SKTDownloadObjectHelper.o
"_OBJC_CLASS_$_AFNetworkReachabilityManager", referenced from:
objc-class-ref in SKTDownloadManager.o
"_OBJC_CLASS_$_SKAdvisorSettings", referenced from:
objc-class-ref in SKTNavigationManager+Factories.o
"_OBJC_CLASS_$_SKAnimationSettings", referenced from:
objc-class-ref in SKTNavigationManager+UI.o
"_OBJC_CLASS_$_SKAnnotation", referenced from:
objc-class-ref in SKTNavigationManager+UI.o
"_OBJC_CLASS_$_SKMapView", referenced from:
objc-class-ref in SKTNavigationManager+Styles.o
"_OBJC_CLASS_$_SKMapViewStyle", referenced from:
objc-class-ref in SKTNavigationConfiguration.o
"_OBJC_CLASS_$_SKMapsService", referenced from:
objc-class-ref in SKTDownloadManager+Additions.o
objc-class-ref in SKTDownloadObjectHelper.o
"_OBJC_CLASS_$_SKNavigationSettings", referenced from:
objc-class-ref in SKTNavigationManager.o
"_OBJC_CLASS_$_SKPositionerService", referenced from:
objc-class-ref in SKTNavigationManager+BackgroundMode.o
objc-class-ref in SKTNavigationManager+Factories.o
objc-class-ref in SKTNavigationManager+NavigationState.o
objc-class-ref in SKTNavigationManager+UI.o
objc-class-ref in SKTNavigationManager.o
objc-class-ref in SKTNavigationUtils.o
"_OBJC_CLASS_$_SKReverseGeocoderService", referenced from:
objc-class-ref in SKTNavigationUtils.o
"_OBJC_CLASS_$_SKRouteSettings", referenced from:
objc-class-ref in SKTNavigationManager+Factories.o
"_OBJC_CLASS_$_SKRoutingService", referenced from:
objc-class-ref in SKTNavigationManager+BackgroundMode.o
objc-class-ref in SKTNavigationManager+NavigationState.o
objc-class-ref in SKTNavigationManager+Settings.o
objc-class-ref in SKTNavigationManager+Styles.o
objc-class-ref in SKTNavigationManager+UI.o
objc-class-ref in SKTNavigationManager.o
"_OBJC_CLASS_$_SKTrailSettings", referenced from:
objc-class-ref in SKTNavigationManager.o
"_OBJC_CLASS_$_SKVisualAdviceConfiguration", referenced from:
objc-class-ref in SKTNavigationManager+Factories.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Without the use_frameworks! flag, everything works fine. But I have to use this flag in order to use other pods.
This is a swift project btw.
Any help is highly appreciated since I've been trying to solve this for days now.
You need to add AFNetworking.
I did it using cocoapods like this:
cd /project/path
touch myPodfile
Now open your Podfile and add:
pod "AFNetworking", "~> 2.0"
Then:
pod setup
pod install
Old question, but I had the same issue and what solved for me was to run:
pod integrate
pod install
Basically a new install of the pods.
i have followed this : http://code.google.com/p/metasyntactic/wiki/ProtocolBuffers
i was able to compile the Person.proto file
got the .h and .m files added to to my static lib project (libIOS)
the UI Project references the libIOS
now when i compile i get the following errors in UI project
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_PBExtensionRegistry", referenced from:
objc-class-ref in libIOS.a(Person.pb.o)
"_OBJC_CLASS_$_PBGeneratedMessage", referenced from:
_OBJC_CLASS_$_Person in libIOS.a(Person.pb.o)
"_OBJC_CLASS_$_PBGeneratedMessage_Builder", referenced from:
_OBJC_CLASS_$_Person_Builder in libIOS.a(Person.pb.o)
"_OBJC_CLASS_$_PBMutableExtensionRegistry", referenced from:
objc-class-ref in libIOS.a(Person.pb.o)
"_OBJC_CLASS_$_PBUnknownFieldSet", referenced from:
objc-class-ref in libIOS.a(Person.pb.o)
"_OBJC_IVAR_$_PBGeneratedMessage.memoizedSerializedSize", referenced from:
-[Person serializedSize] in libIOS.a(Person.pb.o)
"_OBJC_METACLASS_$_PBGeneratedMessage", referenced from:
_OBJC_METACLASS_$_Person in libIOS.a(Person.pb.o)
"_OBJC_METACLASS_$_PBGeneratedMessage_Builder", referenced from:
_OBJC_METACLASS_$_Person_Builder in libIOS.a(Person.pb.o)
"_computeInt32Size", referenced from:
-[Person serializedSize] in libIOS.a(Person.pb.o)
"_computeStringSize", referenced from:
-[Person serializedSize] in libIOS.a(Person.pb.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
the project libIOS complies fine no errors
the project UI gives the above errors
I have worked in google calendar. Now i have download the sample code from this link:
"http://code.google.com/p/iphone-gcal/".
But in this code it is some Gdata codes are missing. So i have implemented that code but also i got this below errors. Please some body help me to solve this errors.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GDataDateTime", referenced from:
objc-class-ref in RootViewController.o
objc-class-ref in EditingViewController.o
"_OBJC_CLASS_$_GDataEntryCalendarEvent", referenced from:
objc-class-ref in EditingViewController.o
"_OBJC_CLASS_$_GDataQueryCalendar", referenced from:
objc-class-ref in RootViewController.o
"_OBJC_CLASS_$_GDataServiceGoogleCalendar", referenced from:
objc-class-ref in RootViewController.o
"_OBJC_CLASS_$_GDataWhen", referenced from:
objc-class-ref in RootViewController.o
objc-class-ref in EditingViewController.o
"_OBJC_CLASS_$_GDataWhere", referenced from:
objc-class-ref in EditingViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
You need to add the gdata .m files (GDataDateTime.m, GDataEntryCalendarEvent.m, etc.) to your target's “Compile Sources” build phase.
One way to do this is using the File Inspector. See this answer for an animated example.
In order to distribute my app via App store,
Is it nessecary to make my app excutable in both armv6 and armv7?
After I upgraded xcode version to 4, My app don't be compiled.
Because external libraries don't support armv7.
This is error message.
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_WXRadioItem", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in SkinViewController.o
"_ExpandString", referenced from:
-[DebugController runPressed:] in DebugController.o
-[DebugController lngPressed:] in DebugController.o
-[SkinViewController expandString:] in SkinViewController.o
"_Status_SetNewStatusByKey", referenced from:
-[WunderRadioAppDelegate applicationDidReceiveMemoryWarning:] in WunderRadioAppDelegate.o
"_OBJC_CLASS_$_FavoriteViewController", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_CMAudioPlayerAudioIsAvailableNotification", referenced from:
-[DebugController gotRunNotification:] in DebugController.o
-[DebugController gotLngNotification:] in DebugController.o
"_OBJC_CLASS_$_EnhancedAlertView", referenced from:
objc-class-ref in DebugController.o
"_OBJC_CLASS_$_RadioTimeBrowser", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in SkinViewController.o
"_OBJC_CLASS_$_Reachability", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_gStreamingAudioPlayerTimerMax", referenced from:
-[PreferenceViewController initWithNibName:bundle:] in PreferenceViewController.o
-[PreferenceViewController makemp3Buffer:] in PreferenceViewController.o
"_OBJC_CLASS_$_WebViewController", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_CMAudioPlayerAudioDidStopNotification", referenced from:
-[DebugController gotLngNotification:] in DebugController.o
-[SkinViewController initWithNibName:bundle:] in SkinViewController.o
"_OBJC_CLASS_$_MusicViewController", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_OBJC_CLASS_$_WBSettingsManager", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in PreferenceViewController.o
"_OBJC_CLASS_$_SettingsAndKeyChainStorage", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in DebugController.o
objc-class-ref in SkinViewController.o
"_CMAudioPlayerAudioIsDoneNotification", referenced from:
-[DebugController gotLngNotification:] in DebugController.o
"_OBJC_CLASS_$_WebAudioPlayer", referenced from:
objc-class-ref in SkinViewController.o
"_OBJC_CLASS_$_URLBackgroundOperation", referenced from:
objc-class-ref in SkinViewController.o
"_CMAudioPlayerAudioDidPlayNotification", referenced from:
-[SkinViewController initWithNibName:bundle:] in SkinViewController.o
"_Status_SetNewStatusString", referenced from:
-[SkinViewController setShowingPlay:] in SkinViewController.o
"_Status_GetCurrentStatus", referenced from:
-[LevelMeterView updateBargraph:] in LevelMeterView.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
Any help/suggetion would be appreciated.
Thanks in advance.
Yes you can submit it that way, but it's not preferable since the compiler will not optimize for newer phones. You should get updated libraries to support armv7 and i386