appcelerator-archive / ti.gigya

Other
1 stars 3 forks source link

iOS module: Could not load NIB in bundle #3

Open wversluys opened 9 years ago

wversluys commented 9 years ago

Hi,

I'm having some issues when implementing this module.

First issue is when requiring this module, Titanium gives an error that the module is unlicensed. When will the module be available in the Appcelerator market place? I could overcome this issue by copying my app guid and replace the module guid by mine.

Second issue is when I want to use the Gigya.login function. The app crashes and I get the error message: "Terminating app due to uncaught exception 'NSInternalInconsistencyException'" with the reason "Could not load NIB in bundle". I tried a few suggestions I found on google, like copying the xib file into xcode and rebuilding it. However none of these suggestions worked.

Could you look at these issues, and give some feedback on what I might be doing wrong?

Thanks in advance!

UPDATE:

The current fix i'm using for the second issue is shown here (thanks to Togbaliberty):

I was able to solve this issue by copying and pasting the all the files in the https://github.com/appcelerator-modules/ti.gigya/tree/master/ios/assets folder of Ti.gigya into an app/assets/iphone/modules/ti.gigya folder of my app for that error to disappear.

togbaliberty commented 9 years ago

Hi, I'm also experiencing a similar issues and will very much like a fix on this as June is right around the corner to update the app.

Thanks,

wversluys commented 9 years ago

Hi,

Is there any update about the second issue? Were you able to reproduce this issue and do you know what is causing this? If you could not reproduce this issue, could you be so kind to post the Titanium module you used for testing?

Thanks in advance!

togbaliberty commented 9 years ago

Hey wversluys, I was able to solve this issue by copying and pasting the all the files in the https://github.com/appcelerator-modules/ti.gigya/tree/master/ios/assets folder of Ti.gigya into an app/assets/modules/ti.gigya folder of my app for that error to disappear. Try that method and see if it helps. It did for me.

wversluys commented 9 years ago

Hi Togbaliberty,

I just tried copying the assets, but no success :( I'm using the Titanium Alloy framework, and I copied the files to app/assets/modules/ti.gigya. Also tried adding a assets folder to the module itself, but no luck.

togbaliberty commented 9 years ago

Sorry my mistake, it should've been app/assets/iphone/modules/ti.gigya. The ti.gigya module has to be installed also.

wversluys commented 9 years ago

That works! Thanks alot for the help togbaliberty! Not sure if this is a real fix, but atleast it works now :)!

togbaliberty commented 9 years ago

No problem. I believe it might have been left out of the Readme or build process.