I am trying to integrate CCAvenue payment integration in iOS. They have given me two library files named: libcrypto.a
and libssl.a
They have also given me some header files.
To implement this, they have mentioned that I should to setup header search paths and library search paths in the build settings.
I have set them both but I getting the following error:
ERROR :
openssl/rsa.a
file not found.
Can anybody help me step by step with copying these files to my project and setting up the proper path and flags if needed?
I am working with Xcode 7.0.1 and iOS 7.0+
I have achieved today only for IOS 9. To run just you need to download api from CCAvenue
We will Re Add by drag and drop
openssl/
andlib/
foldersAfter downloading follow these steps:
framework
/build phases
openssl/
andlib/
underOpenssl/openssl-1.0.1i-iOS
folder.Frameworks
folder and DON'T FORGET TO CHECK COPY FILES IF NEEDED.Build Settings
of project go forSearch Paths
->Library Search Paths
remove what is providedUsers/test/desktop/....
and add $(PROJECT_DIR) again add $(inherited)Search Paths
->User Header Search Paths
.remove and add same as 4th step.I tested in Simulator working fine.
On Device
on device build was failed. To run on Device also.
Enable Bitcode
toNO
underBuild Options
for projectI have resolve error by using following steps.
I have tested on my device its perfect running. Hope it will help you.