tolu360 / react-native-paystack

React Native Wrapper for the Paystack Native Mobile SDKs
162 stars 46 forks source link

BUILD FAILED on ios #21

Closed gbenga504 closed 5 years ago

gbenga504 commented 5 years ago

on ios, its impossible to build. i get #import <Paystack/Paystack.h> file not found.

tolu360 commented 5 years ago

Hi!

Which version of the library are you working with and how did you install the Paystack iOS SDK?

gbenga504 commented 5 years ago

I am using the 3.1.4 version of the library. For installation, following the procedure in your docs failed, so after googling for several hours i did it this way. I download the latest version of the framework zip file from your ios repo, then added it to the Frameworks folder on xcode, also made sure it was linked in Link and Binaries, then made sure that the search path pointed to my IOS folder so that the framework folder can be located.

Built successfully, but the app closes almost immediately after builiding

tolu360 commented 5 years ago

So all you did is covered in the README, and you should be referring to the old docs if you are on any version less than 3.2.

You really should update to the latest version (3.3.0) and follow the current README to get better help.

gbenga504 commented 5 years ago

i updated to v3.3.0, and i got it working. For cocoapods, you missed out the part of running cd ios && pod install from the project's root directory. This is quite important especially to beginners new to ios in react-native and cocoapods as well.....

Do you mind if i help contribute to your docs ?

tolu360 commented 5 years ago

Please feel free to contribute anytime - that’s the essence of open sourcing the library but I updated the docs like an hour or so ago. Send a PR for whatever is still missing. Cheers!

On 9 Oct 2018, at 4:58 PM, Anifowoshe Gbenga notifications@github.com wrote:

i updated to v3.3.0, and i got it working. For cocoapods, you missed out the part of running cd ios && pod install from the project's root directory. This is quite important especially to beginners new to ios in react-native and cocoapods as well.....

Do you mind if i help contribute to your docs ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tolu360/react-native-paystack/issues/21#issuecomment-428249396, or mute the thread https://github.com/notifications/unsubscribe-auth/ADu8ZsrIS3peZIGEBzHZY5jRxBsy-wLOks5ujMecgaJpZM4XMRqa.

gbenga504 commented 5 years ago

Thanks ... would check the updated docs and add whats missing .. Would close this issue for now... Thanks for the quick response.

Michaelvons commented 5 years ago

Hello guys, Previous hints did not work for me. file still not found

Michaelvons commented 5 years ago

screen shot 2019-02-26 at 4 09 53 pm screen shot 2019-02-26 at 4 09 43 pm

tolu360 commented 5 years ago

@Michaelvons Please ensure you are using the latest version of this library and opt for the CocoaPod flow to install on iOS - it is less prone to build errors