cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

IOS SDK

Hello, 

 

I followed your instructions for the IOS SDK and I'm having the folling errors,

 

"_OBJC_CLASS_$_AuthNet", referenced from:

      objc-class-ref in ViewController.o

  "_OBJC_CLASS_$_CreateTransactionRequest", referenced from:

      objc-class-ref in ViewController.o

  "_OBJC_CLASS_$_CreditCardType", referenced from:

      objc-class-ref in ViewController.o

  "_OBJC_CLASS_$_ExtendedAmountType", referenced from:

      objc-class-ref in ViewController.o

  "_OBJC_CLASS_$_LineItemType", referenced from:

      objc-class-ref in ViewController.o

  "_OBJC_CLASS_$_MobileDeviceLoginRequest", referenced from:

      objc-class-ref in ViewController.o

  "_OBJC_CLASS_$_PaymentType", referenced from:

      objc-class-ref in ViewController.o

  "_OBJC_CLASS_$_TransactionRequestType", referenced from:

      objc-class-ref in ViewController.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

 

Also, I can't build for IOS 6 using the command ./build.

 

Thank you for your help,

 

Julio

 

jferrer
Member
3 REPLIES 3

This error (ld: symbol(s) not found for architecture i386) seems to indicate that you are attempting to use the iOS SDK to build an application for a desktop computer processor. Any application built for an iOS device should be built for an ARM processor and not i386.

Trevor
Administrator Administrator
Administrator

Hi Trevor,

 

Have you been able to the run 

Integrate payments in your site in 15 minutes or less. http://developer.authorize.net/integration/fifteenminutes/ios/

using ios 6.0?  I can't.  

 

Thank you for your help,

 

Julio

there is a readme file(no ext) in the zip.

anet_ios_sdk-1.1.1.zip\anet_ios_sdk-1.1.1\README

 

2) Initialize the singleton with the AUTHNET_ENVIRONMENT setting (dictating whether to access the
Test environment or the Live environment) either at the ApplicationDelegate or in the initial
UIViewController.  Make sure to #import "AuthNet.h".