Xcode shows this build error after manually integrating Braintree into a new project. Braintree integration was done according to the Manual Integration Without CocoaPods guide.
ViewController.m:21:27: Use of undeclared identifier 'Braintree'
The error is shown when [Braintree braintreeWithClientToken
is called in the view controller.
- New Objective-C iOS app project.
- Xcode 6.1 (6A1042b) and 6.3 (6D543q)
After cloning the repo pull the braintree_ios submodule by running this in the project root directory.
git submodule init
git submodule update