CCAvenue iOS suite integration kit

I am trying to integrate CCAvenue payment integration into iOS. They gave me two library files named: libcrypto.a and libssl.a

They also provided me with some header files.

To implement this, they mentioned that I need to configure the header search paths and library search paths in the build settings.

I installed both of them, but I get the following error:

ERROR: file openssl/rsa.a not found.

Can someone help me step by step by copying these files to my project and setting the correct path and flags if necessary?

I work with Xcode 7.0.1 and iOS 7.0 +

+8
ios objective-c iphone payment-gateway ccavenue
source share
3 answers

I reached today only for iOS 9. To start, you just need to download the api from CCAvenue

We will re add by dragging openssl/ and lib/ folders

After downloading, do the following:

  • Remove old link from framework / build phases
  • In the Openssl/openssl-1.0.1i-iOS folder you will find 2 openssl/ and lib/ folders.
  • Just drag and drop each folder into the Frameworks folder and DO NOT FORGET TO CHECK COPY FILES, IF IT IS NECESSARY.
  • Also in the Build Settings project, go to Search Paths Library Search Paths delete the one provided by Users/test/desktop/.... and add $ (PROJECT_DIR) again add $ (inherited)
  • Take the 4th step for Search Paths User Header Search Paths .remove and add the same as the 4th step.
  • Compile, you will find an error.

I tested the simulator working fine.

On device

failed device failed. To run also on the device.

  • I set Enable Bitcode to NO in the Build Options section for the project
  • Rebuild and skip the error.
+15
source share

I have a permission error using the following steps.

 Step 1:- Download CCAvenue iOS SDK https://www.ccavenue.com/inapp_payments.jsp Step 2:- Delete old reference of from framework/build phases and Clean your app. Step 3:- You get 2 folders openssl/ and lib/ under Openssl/openssl-1.0.1i-iOS folder. Step 4:- Copy that folder "openssl-1.0.1i" in your project. Step 5:- Drag and drop include and lib folder under Frameworks folder and DON'T FORGET TO CHECK COPY FILES IF NEEDED. Step 6:- In User Header Search Paths write these line. /Users/YOUR_SYSTEM_USER_NAME/PROJECT_SAVED_LOCATION/APP_NMAE/openssl-1.0.1i/include || for example my location is "/Users/CharlePrabhat/Desktop/TestApp/Openssl/include" Step 7:- Clean and compile you will find everything is fine. 

I checked the perfect move on my device. Hope this helps you.

+4
source share

I have a 'OpenSSL-Universal' user library that resolves all my Openssl dependencies

Add bottom line to subfile

under 'OpenSSL-Universal'

click the install command button from the terminal

0
source share

All Articles