breautek commented on issue #1462: URL: https://github.com/apache/cordova-ios/issues/1462#issuecomment-2291713523
> How do I connect my globally installed cordova to a local copy of cordova-ios? Or is that the wrong approach? They are two separate packages that are decoupled. If you fork/clone `cordova-ios` you can install the dev version to a test project by doing: ``` cordova platform add ../cordova-ios ``` Where `../cordova-ios` is your git checkout. You'll need to run `npm prepare` inside your cordova-ios checkout once to generate the `cordova.js` file. `cordova-lib` is a package that has the standard commands (build, prepare, run, clean, etc) but the platform code implements those commands to manage the underlying native project. So you'll likely be making changes in https://github.com/apache/cordova-ios/tree/master/lib for the most part. e.g. https://github.com/apache/cordova-ios/blob/master/lib/Api.js#L223 is the entry point from cordova-lib to platform-specific code for the `prepare` command, which is responsible for generating/manipulating the xcode project. The actual implementation for `prepare` for iOS is at https://github.com/apache/cordova-ios/blob/master/lib/prepare.js#L41 > How do I get a reference to config.xml's data? Or would it be better as a setting in build.json? The command context should have a reference to the config in some way. I'm not as familiar with the cordova-ios project as much as I am with the android platform, but it looks like it's parsed at https://github.com/apache/cordova-ios/blob/master/lib/prepare.js#L44 `_config` should be some sort of structured object. I think there are APIs to get "platform"-specific config, you can see how icons is currently read for an example. Consider joining the community [slack](https://join.slack.com/t/cordova/shared_invite/zt-z70vy6tx-7VNulesO0Qz0Od9QV4tc1Q) for more dev assistance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org