-
-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When building iOS app "Data parameter is nil" #512
Comments
If you're unable to reproduce the error in the example project app it could be caused by conflict with another plugin in your project. I suggest adding each plugin you are using in your own project one-at-a-time to the example project and building/running each time to see if the error occurs; in this way you should be able to identify if there is a plugin conflict and which plugin is conflicting with this one. |
Tried you recommendation and removed all plugins, and it's unfortunately still happening.
|
My suggestion is to add the plugins one-at-a-time to the example project not remove them from your own project:
|
Sorry I missed the bit with the example project. I thought you meant to add them one-by-one to my project. Will try this approach as well. Again thanks for your response |
So I tried what you mentioned above with installing all plugins one-by-one into the test project, after each plugin I rebuild through xcode. Still not getting the error. Then I thought what else could be causing issues, so I tried to make an ionic project from scratch, and then add the firebasex plugin - THIS causes the error. So I guess it might be somewhat related to Ionic. What I did -
Can the log line be ignored perhaps? |
Anything else I can do to help solve this issue? If yes, then let me know, would love to help as much as I can to make it easier to solve. |
It seems the issue is specific to an Ionic-based Cordova project. |
I appreciate your fast response, I will try to debug it, will return with more if I find anything. I understand this is a spare time project so I don't wish to rush you, but any help when you have time is very appreciated. |
I've had a chance to look at this and it looks like a genuine plugin bug - not specific to Ionic - that was introduced by PR #482: |
@dpa99c When can we expect release of this fix? |
Same problem. Thanks for your work |
Bug report
CHECKLIST
I have read the issue reporting guidelines
I confirm this is a suspected bug or issue that will affect other users
Current behavior:
When we build our app for iOS it doesn't fail but it has this in the build log, and we are curious about what is causing it but can't really figure out what is happening.
I cannot reproduce it in the test repo, but I am out of ideas for what is causing it in my repo.
Expected behavior:
Build passes without errors / warnings
Environment information
10.0.0
ios 6.1.1
10.15.6
iOS build issue:
v10.16.3
11.7
Console output
I found a similar issue that got the same error, however that user was using Capacitor, so that issue was closed without much more.
Hope to hear from you, and if there is any more info I can add, please let me know.
The text was updated successfully, but these errors were encountered: