Reputation: 119
Hello friends I am working on an application where i want to integrate Braintree for payment. I followed git hub manual. It say's that you will find an error "Braintree-API.h" and you can fix by make it public. But there is no any option to make it public. How to do it. Please help. I am facing this issue from 5 hours. following link: https://github.com/exchangegroup/braintree-framework-builder
Upvotes: 1
Views: 1072
Reputation: 1149
I work on Braintree iOS.
In the Braintree iOS manual installation docs, pay special attention to steps 6 and 7, namely:
Append /Braintree
to Public Headers Folder Path
(e.g. $(CONTENTS_FOLDER_PATH)/Headers/Braintree
) in the Braintree
target build settings.
Ensure you have set the Always Search User Paths
option to Yes
in your app target's build settings. This setting tells the compiler to search the project directory for headers as well as (and before) system directories.
Also, since Xcode build configurations can be frustrating to debug, if these suggestions don't immediately resolve the issues, I highly recommend you follow the Braintree iOS manual installation docs with a fresh project, and then compare settings.
Also note that we highly recommend using the Braintree pod via CocoaPods over the manual process.
Upvotes: 2