cancel
Showing results for 
Search instead for 
Did you mean: 

SDK NOT WORKing for IOS

Hello, 

 

   I am just trying to integrate the SDK of ios to my app, but for test perpus i followed the following step but SDK seems not working

 

1. I have created the Developer accout at test.authorize.net

2. I download the SDK from the  http://developer.authorize.net/downloads/

3. I goto Xcode and select file new project Name: paymentIntegration as saved at desktop 

4. Extracted the SDK folder which shows me all files inside this folder anet_ios_sdk-1.1.1/

5. then Drag and Drop to My Project Explorer into Xcode and then 

6. http://developer.authorize.net/integration/fifteenminutes/ios/  i followed the step as per this article

7. 

SO My setting like this as i saved my project at Desktop

  • Set your Library Search Paths with the path that contains the "Authorize.Net SDK" library. (ex. "/Users/lemosys/Desktop/AuthrizeProject/anet_ios_sdk-1.1.1").
  • Set your Other Linker Flags with "-lxml2" to allow for xml parsing.
  • Set your Header Search Paths with the path that contains "libxml2" header files. (ex. "/usr/include/libxml2" with recursive checked). 
  •    I SET THIS VARIABLE AND ITS LOOK LIKE :  "${SDK_DIR}"/usr/include/libxml2
  • Then I added one Class file and created NSSTRING * SessionToken  variable
  • then added this code into classfile  Step 3- at this article http://developer.authorize.net/integration/fifteenminutes/ios/  
  • Then I click on build into Xcode but its gives me errors: 
  •   Build and Run simulator load with Black Screen and Stop at same time automatic with this ERROR:
  •     error: failed to attach to process ID 0

 

My Xcode Version is : 4.4

IOS Version : 5.1

 

anciwasim
Member
1 REPLY 1
RichardH
Administrator Administrator
Administrator