Hi,
I use Xcode 5, iOS 7. I integrate Authorize.Net SDK 1.1.1 into my project and build. Then it show errors:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AuthNet", referenced from:
objc-class-ref in MoreViewController.o
"_OBJC_CLASS_$_CreateTransactionRequest", referenced from:
objc-class-ref in MoreViewController.o
"_OBJC_CLASS_$_CreditCardType", referenced from:
objc-class-ref in MoreViewController.o
"_OBJC_CLASS_$_ExtendedAmountType", referenced from:
objc-class-ref in MoreViewController.o
"_OBJC_CLASS_$_LineItemType", referenced from:
objc-class-ref in MoreViewController.o
"_OBJC_CLASS_$_MobileDeviceLoginRequest", referenced from:
objc-class-ref in MoreViewController.o
"_OBJC_CLASS_$_PaymentType", referenced from:
objc-class-ref in MoreViewController.o
"_OBJC_CLASS_$_TransactionRequestType", referenced from:
objc-class-ref in MoreViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Note: I added all header files and the lib file. I also added the lib in Build Phases\Link Binary With Libraries.
I don't know how to fix it. Please help me !!