Reply
Member
Posts: 1
Registered: ‎12-05-2013

Error ld: symbol(s) not found for architecture i386 when integrate Authorize.net SDK

[ Edited ]

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 !! 

Posts: 2,765
Topics: 57
Kudos: 248
Blog Posts: 67
Registered: ‎12-05-2011

Re: Error ld: symbol(s) not found for architecture i386 when integrate Authorize.net SDK

Hello tonyhoang123

It doesn't look like anyone has responded yet, but someone still may have feedback on what you're looking for. I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies to your post.

Thanks,

Richard