iOS Paypal SDK Integration Compilation issues - ios

I'm trying to get Paypal's iOS SDK working. I have followed the instructions in the readme but the build fails with the error below
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_NSExtensionItem", referenced from:
objc-class-ref in libPayPalMobile.a(OnePasswordExtension.o)
"_OBJC_CLASS_$_NSItemProvider", referenced from:
objc-class-ref in libPayPalMobile.a(OnePasswordExtension.o)
"_kUTTypePropertyList", referenced from:
-[OnePasswordExtension processExtensionItem:completion:] in libPayPalMobile.a(OnePasswordExtension.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This same error occurs when building the sample application, so I have ruled out my project settings.
Can anybody tell me what I've missed?

add the path of the library in the "Library Search Path"
$(PROJECT_DIR)/XXXX/MyFramework/GoogleAdWords
EDIT : Maybe the sample is wrong ...

This was down to the new version of the Paypal API requiring Xcode 6, while I was attempting to compile on Xcode 5.

Related

I try to integration with zooz sdk in ios but it give some error, so please provide me a right solution

I try to integration with zooz sdk in ios but it give some error, so please provide me a right solution.
Ignoring File
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK,
missing required architecture x86_64 in file
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK
(3 slices) Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ZooZ", referenced from:
objc-class-ref in DemoZooZSDKViewController.o "_OBJC_CLASS_$_ZooZInvoiceItem", referenced from:
objc-class-ref in DemoZooZSDKViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with
exit code 1 (use -v to see invocation)
Experienced the same issue when following the installation instruction on their Github. Finally, I've downloaded the source code and built using Carthage for all architectures. This allowed me to run on simulator and physical device.

IOS Xcode VSee framework wont compile

Hello I have the Vsee Framework for video chatting, I opened the sample Project they have in there and it runs and everything its ok, and by that I meant, that it compiles.
Now I am trying to integrate it into a New project to test it and see how am I gonna integrate it in another (already done) project. I follow all the steps on the tutorial they have in a pdf, but in the end it fails to build with this error message:
Undefined symbols for architecture i386:
"_appId", referenced from:
l001 in VSeeKit(vseeUIApplication.o)
"_appName", referenced from:
l001 in VSeeKit(vseeUIApplication.o)
(maybe you meant: _OBJC_IVAR_$_DDTTYLogger._appName)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks in advance for replying.

Undefined symbols for architecture i386: "_OBJC_CLASS_$_FBSBJSON", referenced from: objc-class-ref in FacebookController.o

I just download new facebook ios sdk.
It reports error when build,
ld: warning: directory not found for option '-F"/Users/myname/cd-standard/apple/apple_ios/Projects/fotoshow_ios/my app/../../../../../../Documents/FacebookSDK"'
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_FBSBJSON", referenced from:
objc-class-ref in FacebookController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
the prohect with former facebook ios sdk works well, I only install the new ios sdk using downloaded installer.
I also check and find out all frameworks needed are there, but it still reports error
your comment welcome
FBSBJSON was removed in v3.5 of the Facebook SDK (released April 18, 2013), but your FacebookController class is still referencing it. You should remove the reference in your FacebookController class, or if you're using some other SDK which wraps the Facebook SDK, you'll probably need to update that as well.

Xcode Build error Undefined symbols for architecture arm64: "_OBJC_CLASS_$_GameScene"

I have activated arm7 armv7 arm64 as valid architecture for 64 bit requirement by Apple recently but when I try to build the app in Xcode it throws me this error. I get a warning first for libchartboost.a not being found, I download the chartboost latest folder from their website but it does not have libchartboost.a so I am still using chartboost 3.2.1. But not sure if thats the issue since I get an error related to GameScene below. Am I missing a framework? Thanks for your help.
ld: warning: ignoring file /Users/Administrator/Documents/Software/libChartboost.a, missing required architecture arm64 in file /Users/Administrator/Documents/Software/libChartboost.a (3 slices)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_GameScene", referenced from:
objc-class-ref in AlertLayer.o
objc-class-ref in GameLayer.o
objc-class-ref in levelpackMenuLayer.o
objc-class-ref in LevelSelectLayer.o
objc-class-ref in timetrialMenuLayer.o
objc-class-ref in IAPHelper.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Probably an old thread, but in such linker errors, following step works:
Link all the required frameworks along with Chartboost framework, such as Storekit, Webkit, AVFoundation, Foundation etc.
These are all the frameworks that are used by Chartboost framework to fetch and display ads in media formats (audio and video).
For latest details on how to fully integrate and what all frameworks are required, refer to this guide.

Undefined symbols for architecture armv7 pjmedia pjsip

I just add library and framework of PJSIP to my XCODE project such as Simulator, Device and Third Party but when I build my project it show error:
Undefined symbols for architecture armv7:
"_pjmedia_get_video_format_info", referenced from:
_ios_factory_create_stream in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
"_pjmedia_format_get_video_format_detail", referenced from:
_ios_factory_create_stream in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
"_pjmedia_format_init_video", referenced from:
_ios_factory_init in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I try to Google the solution but it seem not help. Please share your idea, I think i miss some configuration or library. Thanks in advance.
You should take a look in to this question asked on SO earlier
Trouble of compilation on xcode4.2 for pjsip

Resources