I'm trying to add PayPal into my iOS application that uses Parse.
After following the official PayPal guide on GitHub I'm getting this error:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SLComposeViewController", referenced from:
objc-class-ref in Parse(PF_Twitter.o) "_OBJC_CLASS_$_SLRequest", referenced from:
objc-class-ref in Parse(PF_Twitter.o) "_SLServiceTypeTwitter", referenced from:
-[PF_Twitter getAccessTokenForReverseAuthAsync:localTwitterAccount:] in
Parse(PF_Twitter.o)
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o) ld: symbol(s) not found for architecture arm64 clang: error: linker
command failed with exit code 1 (use -v to see invocation)
Any Ideas?
Add Framework Social.framework and Accounts.framework from project settings.
Please check parse.com integration Help Links
Related
I moved a source code from another MAC machine to mine Mac, Previously the code was fine, when I stared building an error occurred Parse.h not found , after searching on google, I figured out that error after clearing that error Now, I am facing this:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
objc-class-ref in ParseFacebookUtilsV4(PFFacebookUtils.o)
objc-class-ref in ParseFacebookUtilsV4(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
objc-class-ref in ParseFacebookUtilsV4(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBSDKLoginManager", referenced from:
objc-class-ref in ParseFacebookUtilsV4(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBSDKSettings", referenced from:
objc-class-ref in ParseFacebookUtilsV4(PFFacebookAuthenticationProvider.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I AM NOT USING PODS in code.
Help me !
Thanks
I want to have my current cordova pp compatible for 64 bit iOS. I downloaded cordova 3.7 into my project but I am unable to build. I am getting the following error.
Undefined symbols for architecture arm64:
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_RootViewController in RootViewController.o
"_OBJC_METACLASS_$_CDVPlugin", referenced from:
_OBJC_METACLASS_$_DataBasePlugin in DataBasePlugin.o
_OBJC_METACLASS_$_LoginStatusPlugin in LoginStatusPlugin.o
"_OBJC_IVAR_$_CDVViewController._commandQueue", referenced from:
-[RootViewController didReceiveMemoryWarning] in RootViewController.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_RootViewController in RootViewController.o
"_OBJC_CLASS_$_CDVPlugin", referenced from:
_OBJC_CLASS_$_DataBasePlugin in DataBasePlugin.o
_OBJC_CLASS_$_LoginStatusPlugin in LoginStatusPlugin.o
"_OBJC_CLASS_$_CDVPluginResult", referenced from:
objc-class-ref in DataBasePlugin.o
objc-class-ref in LoginStatusPlugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have also tried the steps from below link
https://shazronatadobe.wordpress.com/2014/03/12/xcode-5-1-and-cordova-ios/
I followed the below link to add the lib file to my project
http://outof.me/embedding-cordovalib-in-your-iosphonegap-app-project/
Please help
I'm trying to connect my iOS app with parse.com and push notifications. A have added frameworks.
So, compilation fails on
Undefined symbols for architecture armv7:
"_SLServiceTypeTwitter", referenced from:
-[PF_Twitter getAccessTokenForReverseAuthAsync:localTwitterAccount:] in Parse(PF_Twitter.o)
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
"_OBJC_CLASS_$_SLComposeViewController", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
"_OBJC_CLASS_$_SLRequest", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
"_ACAccountTypeIdentifierTwitter", referenced from:
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
"_OBJC_CLASS_$_ACAccountStore", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What is wrong?
If you want to use Twitter and Facebook login, you also have to add the Social.framework and the Accounts.framework.
Add these frameworks and you should be good to go, this is also mentioned in the documentation here.
Can you add the remaining frameworks from this image, it may solve your issue
I am new in phonegap app development in iOS. After adding CordovaLib.xcodeproj in my xcode project, I made architecture changes in buildsettings as suggested here. Other linker flag is -all_load and -Obj-C When I build the project, I get Apple Mach-O linker errors described below. I have not mentioned i386 anywhere in my build settings. How do I negate this error?
Undefined symbols for architecture i386:
"_CDVPluginHandleOpenURLNotification", referenced from:
-[AppDelegate application:handleOpenURL:] in AppDelegate.o
"_OBJC_CLASS_$_CDVPlugin", referenced from:
_OBJC_CLASS_$_LoginPlugin in LoginPlugin.o
"_OBJC_CLASS_$_CDVPluginResult", referenced from:
objc-class-ref in LoginPlugin.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_MainViewController in MainViewController.o
"_OBJC_METACLASS_$_CDVPlugin", referenced from:
_OBJC_METACLASS_$_LoginPlugin in LoginPlugin.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_MainViewController in MainViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am trying to archive my First iOS Project and I get the following errors. It seems like there is something bugged with the Facebook SDK and Google Plus SDK which i have used for Authentication. I have come across similar questions on stackoverflow but none's solutions helped me. Any help would be appreciated. Thanks in advance.
<pre>
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FBRequest", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_GTMLogger", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_GTLQueryPlus", referenced from:
objc-class-ref in LoginViewController.o
"_kGTLAuthScopePlusLogin", referenced from:
-[LoginViewController getInfoForGoogle] in LoginViewController.o
"_OBJC_CLASS_$_GTLServicePlus", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_GPPURLHandler", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_FBSession", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in LoginViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
</pre>
The framework you are using is not arm64 ready, ie not for 64bit devices, you can either check if an updated framework is available, or exclude arm64 that from your build
Set the architecture in build settings to Standard architectures(armv7,armv7s)
Xcode 5 and iOS 7: Architecture and Valid architectures