I had lower version of node (6.9.1), I reinstalled it an generated the iOS platform again, but I still keep getting the same error.
My node version is now 6.11.4 and cordova is at 7.0.1.
I should probably mention, that SAP is a part of the app name. I'm kind of running out of inspiration about what to do with this error.
Do you have any other ideas what could cause it, please?
Does your app name contain a space by chance? I submitted a bug recently to be fixed - this causes an error if there's a space in the name (within the config.xml <name> tag). This is fixed, but not in the public release yet.
Could you try this:
- remove platforms (cordova platform remove) from the project
- change name in config.xml
- add platform(s) back
yes I found this error after some time on my own, deleting all the spaces and removing platforms didn't help though, it still remembers the previous name. Also I need the app to have spaces in the name, because it has several words there, so removing them doesn't really fix the problem.
My solution is currently I have to manually go and fix the storyboard xml after every change. It is not very convenient, I hope the fix for this will be soon in the production?