Taracque / cordova-plugin-braintree

:credit_card: A Cordova plugin for the Braintree mobile payment processing SDK.
MIT License
27 stars 42 forks source link

App crashing on ios #27

Open Almya opened 7 years ago

Almya commented 7 years ago

Hi there, the plugins makes my app crash on ios. My app opens up then closes right after.

Here is the error I get in xcode :

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/myuser/Library/Developer/CoreSimulator/Devices/33DD4AE7-9D8B-4C7B-A14C-D82E16FBD8FD/data/Containers/Bundle/Application/.../myapp.app> (loaded)' with name 'NSMainNibFile~ipad''

Here is a screenshot too :

screen shot 2017-05-02 at 16 47 16
Almya commented 7 years ago

BTW I have the same issue in phonegap build too

Taracque commented 7 years ago

You can find the solution here: https://github.com/Taracque/cordova-plugin-braintree/issues/23

Almya commented 7 years ago

Thanks, that solved the issue.

Do you think we could make it automatic via config.xml ?

`

`

Taracque commented 7 years ago

I don't know how it becomes wrong, I think it is not connected with plugin add.