Hello Jhonson,
Please, sorry for the delayed reply. You did not mention if you installed Apache Cordova into the Mac OS. Maybe you already install it, because you refer Node, NPM and GIT, for example. In order to install Cordova, you can try to execute the below line in a terminal / console, even when you can find if Cordova is installed by executing "cordova --version" in a terminal / console):
About to execute the "cordova_ios_debug.sh" file, please, don't try to do it by double clicking the file, but, execute it also from the terminal / console. What I do is to navigate to the folder of that file, and then change the permissions of the file, and then execute the file, in a similar way than below:
Remember, Jhonson, that, what the "cordova_ios_debug.sh" file generates after execute it, is a project for XCode, that is, if everything is ok, what we get is a complete XCode project in order to be opened by XCode. In fact, I never use the "cordova_ios_release.sh", because, we always need to open the project with XCode and then run the app from XCode or Archive the project (to get the IPAs, for example, or to upload the files to the Apple Store) from XCode, so, the "debug" file is enough for that.
P.S. If you find any trouble when execute the "debug" file, maybe it's possible that the problem are related with the permissions of the folder in which the "debug" file is. What I do is to use always the "Downloads/app" folder, so, I give all the permissions to the "Download" and the "app" folder: doing that I did not get any problem related with the permissions when execute the "debug" file.
P.S.2. You mention that you have XCode installed, but, maybe the Command Line tools are not installed. You can do it from XCode (make a search around how to install the Command Line tools in XCode) or maybe it's also possible to install it following this Cordova documentation. Anyway, remember that we are talking about Apache Cordova / XCode / Mac OS: if you see any trouble, probably you can get the right answer by searching a bit around internet with the particular error message, for example. I don't say that to avoid to give you the right support, Jhonson, it's because certainly we are talking about possible problems related with Apache Cordova / XCode / Mac OS, and, probably the already solved problems that we can find can help us to get the right answer more quickly.
Posts by DecSoft