[ https://issues.apache.org/jira/browse/CB-6336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Ellis closed CB-6336. --------------------------- Resolution: Invalid In the current release of Cordova CLI (& cordova-create), I believe this issue is no longer valid. The `--link-to` flag appears to have been removed. https://github.com/apache/cordova-create/issues/26 And discussed here: https://github.com/apache/cordova-discuss/pull/49#issuecomment-226050676 > cordova platform add fails if created with --link-to > ---------------------------------------------------- > > Key: CB-6336 > URL: https://issues.apache.org/jira/browse/CB-6336 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli > Affects Versions: 3.4.0 > Environment: OSX 10.9.2 > Reporter: Adam Tuttle > Priority: Minor > > Given a "www" folder with app contents, run the following commands in this > sequence: > {code} > cordova create build_local com.foo.bar appName --link-to ./www > cd build_local > cordova platform add ios > {code} > This results in the following error being thrown: > {code} > Creating ios project... > Error: /Users/adam/DEV/myApp/platforms does not exist. Please specify an > existing parent folder. > Error: /Users/adam/.cordova/lib/ios/cordova/3.4.0/bin/create: Command failed > with exit code 1 > at ChildProcess.whenDone > (/usr/local/lib/node_modules/cordova/src/superspawn.js:112:23) > at ChildProcess.EventEmitter.emit (events.js:98:17) > at maybeClose (child_process.js:743:16) > at Process.ChildProcess._handle.onexit (child_process.js:810:5) > {code} > The platforms folder exists at /users/adam/DEV/myApp/build_local/platforms > but the tool is going one too many directories back up the hierarchy. > I've found that if I create the app without the --link-to flag, add the > desired platforms, and then delete the created www folder and add a symlink > manually it _seems_ to run fine, but I'm not positive that's all that should > be needed. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org