I just started trying out the new Stripe SDK to integrate Apple payments and make a mistake in the first step. I am using the Xcode 6 version of GM. I followed these instructions.
I turned on the Stripe library by cloning from GitHub and copying the folder to my project.
I didnβt even start coding anything, I continue to encounter a MACH-O linker error during build.
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_STPTestPaymentAuthorizationViewController", referenced from: objc-class-ref in Stripe.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried to delete the Derivative Data folder and clear the build folder as indicated in this link: Xcode / PhoneGap - Apple Mach-O Linker Error . Do not use. I tried to include the library in Objective-C and Swift projects.
Does anyone come across this problem or can give any hints on how to solve it? Other Swift projects compile fine, which is unpleasant.
Ok, I tried the lipo command, here's the output:
yoda:~ manju$ lipo -info libstripe.a fatal error: /Users/manju/Documents/xcode 6/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: libstripe.a (No such file or directory)
source share