0

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?

apchester
  • 1,154
  • 3
  • 11
  • 30

2 Answers2

1

add the path of the library in the "Library Search Path"

$(PROJECT_DIR)/XXXX/MyFramework/GoogleAdWords

EDIT : Maybe the sample is wrong ...

Jeremy Piednoel
  • 407
  • 2
  • 5
  • 12
1

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

apchester
  • 1,154
  • 3
  • 11
  • 30