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
Why I am getting an error "Braintree-API.h" file not found
1k views Asked by Muraree Pareek At
1
I work on Braintree iOS.
In the Braintree iOS manual installation docs, pay special attention to steps 6 and 7, namely:
Append
/Braintree
toPublic Headers Folder Path
(e.g.$(CONTENTS_FOLDER_PATH)/Headers/Braintree
) in theBraintree
target build settings.Ensure you have set the
Always Search User Paths
option toYes
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.