CCAvenue iOS套件集成套件 [英] CCAvenue iOS kit integration kit

查看:170
本文介绍了CCAvenue iOS套件集成套件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在iOS中集成CCAvenue支付集成。他们给了我两个名为的文件库: libcrypto.a libssl.a

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:


错误: openssl / rsa.a 找不到文件。

有人可以帮我逐步将这些文件复制到我的项目中,并在需要时设置正确的路径和标记吗?

Can anybody help me step by step with copying these files to my project and setting up the proper path and flags if needed?

我正在使用Xcode 7.0.1和iOS 7.0 +

I am working with Xcode 7.0.1 and iOS 7.0+

推荐答案

我今天只为IOS 9实现了。要运行只需要从 CCAvenue

I have achieved today only for IOS 9. To run just you need to download api from CCAvenue

我们重新添加通过拖放 openssl / li b / 文件夹

下载后请按照以下步骤操作:

After downloading follow these steps:


  1. 删除框架的旧引用 / 构建阶段

  2. 您将在 Openssl / openssl-1.0.1i-下找到2个文件夹 openssl / lib / iOS 文件夹。

  3. 只需拖放 Frameworks 文件夹下的每个文件夹,然后不要忘记如果需要,请检查复制文件。

  4. 同样在项目的构建设置下去搜索路径 - > 库搜索路径删除提供的内容 Users / test / desktop /....并添加$(PROJECT_DIR)再次添加$(继承)

  5. 执行第4步搜索路径 - > 用户标题搜索路径。删除并添加相同的第4步。

  6. 编译你会发现错误消失。

  1. Delete old reference of from framework/build phases
  2. You will find 2 folders openssl/ and lib/ under Openssl/openssl-1.0.1i-iOS folder.
  3. Just drag drop each folder under Frameworks folder and DON'T FORGET TO CHECK COPY FILES IF NEEDED.
  4. Also under Build Settings of project go for Search Paths->Library Search Paths remove what is provided Users/test/desktop/.... and add $(PROJECT_DIR) again add $(inherited)
  5. Do 4th step for Search Paths->User Header Search Paths.remove and add same as 4th step.
  6. Compile you will find error gone.

我在模拟器中测试工作正常。

在设备上

设备构建失败。也可以在设备上运行。

on device build was failed. To run on Device also.


  1. 我设置启用Bitcode 项目的构建选项项目

  2. 重新重建并且错误消失。

  1. I set Enable Bitcode to NOunder Build Options for project
  2. Rebuild again and error gone.

这篇关于CCAvenue iOS套件集成套件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆