Xendit 3.9.0

Xendit 3.9.0

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新发布Aug 2024

Duong DaoJuan GonzalezAdhiarta PrabhataputrazakiVincentLeanderAndyPandyaka Aptanagisinta维护。



Xendit 3.9.0

Xendit iOS SDK

Xendit iOS SDK与CocoaPods和Swift Package Manager兼容,并为消费提供目标:Xendit

所有者

团队:信用卡团队

Slack频道:#p-cards-product

Slack提及:@troops-cards

用法

使用 CocoaPods 安装 Xendit iOS SDK

将其添加到您的 Podfile 中。

pod 'Xendit', '~> 3.7.0'

使用 SPM 安装 Xendit iOS SDK

  1. 在右侧的项目导航器中选择您的项目。在项目部分选择项目,然后在顶部点击“包依赖”选项卡。

  2. 在表格底部点击加号(+),使用 Swift 包管理器添加 Xendit iOS SDK。

Screenshot 2022-03-15 at 2 10 14 PM

  1. 在右上角的搜索框中输入包 URL,这意味着 GitHub URL。

  2. 从“3.7.0”中选择依赖规则为“至下一个主要版本”。

Screenshot 2022-03-15 at 10 11 26 PM

Screenshot 2022-03-15 at 10 13 34 PM

运行测试

从 Xcode 运行测试

打开 Xendit.xcworkspace

运行单元测试:选择 Xendit 方案并按 cmd+u(或“运行产品”→“测试”)

运行 UI 测试:选择 XenditExample 方案并按 cmd+u

运行 app

使用 Xcode 运行 App

  1. 打开 Xcode,点击 打开项目或文件

Screen Shot 2020-12-08 at 11 17 45

  1. 浏览到仓库文件夹,并打开 Xendit.xcworkspace

Screen Shot 2020-12-08 at 11 18 18

  1. 单击项目方案按钮(它位于停止按钮旁边)

Screen Shot 2020-12-08 at 11 23 22

  1. 将出现一个下拉列表,点击 编辑方案...

Screen Shot 2020-12-08 at 11 24 26

  1. 运行 部分,在 信息 选项卡中,单击 可执行文件 下拉框

Screen Shot 2020-12-08 at 11 28 21

  1. 选择 XenditExample.app关闭 窗口

Screen Shot 2020-12-08 at 11 30 31

  1. 单击 运行 按钮

Screen Shot 2020-12-08 at 11 32 29

  1. 等待应用程序构建,模拟器将显示出来

Screen Shot 2020-12-08 at 11 34 43