I have to integrate Paypal API into my iPhone App. I have included required libraries also. But I am getting only one following error.
"_SecTrustEvaluate", referenced from:
-[PPMobileConnect connection:didReceiveAuthenticationChallenge:]
in libPayPalMEP.a(PPMobileConnect.o)
-[AdaptivePaymentsSOAP11BindingOperation
connection:didReceiveAuthenticationChallenge:]
in libPayPalMEP.a(AdaptivePayments.o)
ld: symbol(s) not found collect2: ld
returned 1 exit status
How could I resolve this.
I include libxml2,libz also.
What i am missing?
Thanks
karthik
Add the Security.framework. Hope it help!
Related
I'm getting 2 Mach-O Linker Errors in regards to the CloudApp API. I have been been searching for numerous answers in both StackOverflow, Apple's Developer forums, and elsewhere that would at least be remotely close to be problem, but they have not been very helpful. This has been boggling my mind for the past few days and I can't seem to fix it.
Here are the two errors:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_CLAPIEngine", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help would be appreciated. If you have any questions, just ask. Thanks in advance.
You're not linking in the framework as part of the build process
Build the cloud library first. Then ensure that the libCloud.a library is linked to your application
Did anyone tried this function (sqlite3_column_origin_name) on Objective-C? It exists in sqlite3.h but I get an error when I try to use it:
Undefined symbols for architecture i386:
"_sqlite3_column_origin_name", referenced from:
+[SQLCommunication executeSelect:] in SQLCommunication.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Thanks
I use sqlite3_column_name(). I also find sqlite3_column_origin_name() does not work in IOS.
For resolve your question see this link and changing the definition #define SQLITE_ENABLE_FTS4 to this #define SQLITE_ENABLE_COLUMN_METADATA
ld: warning: in /Users/kunwarhanda/Documents/Augmented/WikitudeAPI/libWikitudeAPI.a, missing required architecture i386 in file
Undefined symbols:
"_OBJC_CLASS_$_WTPoi", referenced from:
objc-class-ref-to-WTPoi in AugmentedAppDelegate.o
objc-class-ref-to-WTPoi in CustomMenuButtonDelegateImpl1.o
"_OBJC_CLASS_$_WikitudeARCustomMenuButton", referenced from:
objc-class-ref-to-WikitudeARCustomMenuButton in AugmentedAppDelegate.o
"_OBJC_CLASS_$_WikitudeARView
Controller", referenced from:
objc-class-ref-to-WikitudeARViewController in AugmentedAppDelegate.o
objc-class-ref-to-WikitudeARViewController in CustomMenuButtonDelegateImpl1.o
objc-class-ref-to-WikitudeARViewController in CustomMenuButtonDelegateImpl3.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
**I have cross checked that libWikitudeAPI.a is imported still does'nt know about this error and by the way m new to iPhone
Please can some one help me in this Thanks in advance **
The problem is that the library is only for device not for simulator. Try debug your app and use NSZombieEnabled environment variable for finding actual crash reasons.
"_OBJC_CLASS_$_AddViewController", referenced from:
objc-class-ref-to-AddViewController in ContactsController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
and the particular controllers are attached and compiling fine.
Thanks
Make sure that AddViewController.m is added to your compile sources.
Im trying to use ALAssetsLibrary to load images fromthe photo album
of iphone/ipad.Im getting the following warning while doing build and archive.
ld: warning: in /Users/mark/Projects/Speech_Recognition/Protoype_Test1/AssetsLibrary.framework/AssetsLibrary, file was built for i386 which is not the architecture being linked (armv7)
Also i get the error
"_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
objc-class-ref-to-ALAssetsLibrary in PhotoPuller.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
There is no error while running in simulator , but there im not getting any images returned to me
I have ran out of ideas about what to do
You haven't linked to the AssetsLibrary framework or your SDK setting isn't what you think it is.
please add the these two frame worksin to your project
<AssetsLibrary/AssetsLibrary.h>
<AVFoundation/AVFoundation.h>