【发布时间】:2015-05-31 07:25:52
【问题描述】:
调用[Braintree braintreeWithClientToken时出现以下错误。
ViewController.m:21:27:使用未声明的标识符“Braintree”
我按照Manual Integration Without CocoaPods 指南将 Braintree 添加到新的 Objective-C 项目中。
解决方案 - 构建Braintree.framework
我已经成功构建了一个 Braintree.framework,可以轻松地在 iOS 应用、Objective-C 或 Swift 中使用。
有说明:
https://github.com/exchangegroup/braintree-framework-builder
【问题讨论】:
-
我面临同样的错误。你找到解决办法了吗?
-
看起来像我们resolved this on GitHub。随时在此处发布您的解决方案作为后代的答案。