CCAvenue iOS套件集成套件

编程入门 行业动态 更新时间:2024-10-14 08:26:09
本文介绍了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:

  • 删除框架的旧引用 / 构建阶段
  • 您将在 Openssl / openssl-1.0.1i-下找到2个文件夹 openssl / 和 lib / iOS 文件夹。
  • 只需拖放 Frameworks 文件夹下的每个文件夹,然后不要忘记如果需要,请检查复制文件。
  • 同样在项目的构建设置下去搜索路径 - > 库搜索路径删除提供的内容 Users / test / desktop /....并添加$(PROJECT_DIR)再次添加$(继承)
  • 执行第4步搜索路径 - > 用户标题搜索路径。删除并添加相同的第4步。
  • 编译你会发现错误消失。
  • Delete old reference of from framework/build phases
  • You will find 2 folders openssl/ and lib/ under Openssl/openssl-1.0.1i-iOS folder.
  • Just drag drop each folder under Frameworks folder and DON'T FORGET TO CHECK COPY FILES IF NEEDED.
  • 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)
  • Do 4th step for Search Paths->User Header Search Paths.remove and add same as 4th step.
  • Compile you will find error gone.
  • 我在模拟器中测试工作正常。

    在设备上

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

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

  • 我设置启用Bitcode 到否 项目的构建选项项目
  • 重新重建并且错误消失。
  • I set Enable Bitcode to NOunder Build Options for project
  • Rebuild again and error gone.
  • 更多推荐

    CCAvenue iOS套件集成套件

    本文发布于:2023-11-17 02:44:34,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1608520.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:套件   CCAvenue   iOS

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!