breautek edited a comment on issue #1013:
URL: https://github.com/apache/cordova-ios/issues/1013#issuecomment-717600777


   > I get error on mac when compiling files from ubuntu.
   
   You can't just simply transfer files from one machine to another, especially 
cross OS. Doing so would bring over NPM dependencies and native binaries that 
are not for your target platform.
   
   You can still share your repo cross OS, but the following directories should 
be ignored from your version control:
   - node_modules
   - platforms
   - plugins
   
   On every machine that you clone your project, you should run `npm install` 
to install all the dependencies (including any potential native dependencies). 
Then you should run `cordova platform add ios`. This will configure the iOS 
project properly on your mac. The platform and all plugins will be restored 
based on what is inside your `package.json` file (or `config.xml`)
   
   If this doesn't solve your problem, then you will need to give us more 
details including cordova version and the actual error message. Please let us 
know. The output of `cordova info` command will tell us nearly everything that 
we need to know.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to