# Ionic 3/ionic 3 CLI beta ios build - command not found

**URL:** <https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628>\
**Category:** ionic-v3\
**Created:** [April 15, 2017, 4:38pm UTC](https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628 "2017-04-15T16:38:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoinky](https://avatars.discourse-cdn.com/v4/letter/z/9fc348/32.png) [@zoinky](https://forum.ionicframework.com/u/zoinky)\
**Post date:** [April 15, 2017, 4:38pm UTC](https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628/1 "2017-04-15T16:38:04Z")

</div>

I updated my node to 7.9 and ionic to latest by using `npm install -g ionic@beta` on my windows machine and got everything working, building android and windows

Now I want to build my project on ios (did not have any problems with 2.x and 2.x cli)  
Here is what i did on mac

1. copy my zip file from windows
2. updated node to 7.9
3. ran `npm build node-sass`
4. installed latest ionic on mac using `sudo npm install -g ionic@beta`
5. my `ionic info` from mac after all is installed  
crodova cli: 6.5  
ionic framework: 3.0.1  
ionic cli: 3.0.0-beta 7  
ios-deploy: **not installed**  
ios-sim: 5.0.13  
os: macos seirra  
node: 7.9.0  
xcode: 8.2.1 build version 8c1002

Now i assume the commands will be the same as in windows for the new cli which i did `ionic cordova:build android`

so i tried `ionic cordova:build ios` but i get an error saying \*_Unable to find command:_ `ionic cordova:build ios` i also tried `ionic cordova build ios` same result

Did i miss something?

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [April 15, 2017, 5:01pm UTC](https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628/2 "2017-04-15T17:01:59Z")

</div>

Which CLI version were you using on your Windows machine?  
3.0.0-beta7 doesn’t use the “:” syntax any more, it’s back to the syntax of the 2.x CLI. Check `ionic help`.

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [April 15, 2017, 5:28pm UTC](https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628/3 "2017-04-15T17:28:23Z")

</div>

Please, people, do not blindly install prerelease versions of things simply because you want “the latest”. You must be willing to carefully read all documentation and keep up with all the relevant outstanding gotchas and GitHub issues. The v3 CLI is **NOT** required to build apps that use v3 of the framework.

---

<div class="post-metadata">

**Author:** ![zoinky](https://avatars.discourse-cdn.com/v4/letter/z/9fc348/32.png) [@zoinky](https://forum.ionicframework.com/u/zoinky)\
**Post date:** [April 15, 2017, 6:02pm UTC](https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628/4 "2017-04-15T18:02:18Z")

</div>

damn it, i installed latest yesterday which was beta 5 and today its at 7 and the commands are diff, cool but now when i run `ionic build ios` which is 2.x commands says `the build comand is no longer available, to find out more about equv please run ionic cordova build --help`

**EDITED: i see an issue is already logged for this [https://github.com/driftyco/ionic-cli/issues/2092](https://github.com/driftyco/ionic-cli/issues/2092)**

and when i run that i get 'cannot read property ‘private’ of undefined

2.x used `ionic build ios`  
3x beta 7 expects us to use `ionic cordova build ios`? just so that I am clear?

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [April 16, 2017, 10:38am UTC](https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628/5 "2017-04-16T10:38:37Z")

</div>

Yes, correct.

The CLI v3 beta versions are used heavily to experiment. As it actually makes sense to keep the old, non-: syntax for compatibility reasons and also to move all stuff Cordova is involved with to “ionic cordova” I fully support this.

My development is done non non-v3-beta version of the CLI though - right now it is just not (intentionally) stable enough.

---

<div class="post-metadata">

**Author:** ![zoinky](https://avatars.discourse-cdn.com/v4/letter/z/9fc348/32.png) [@zoinky](https://forum.ionicframework.com/u/zoinky)\
**Post date:** [April 16, 2017, 2:17pm UTC](https://forum.ionicframework.com/t/ionic-3-ionic-3-cli-beta-ios-build-command-not-found/86628/6 "2017-04-16T14:17:07Z")

</div>

this is my issue right now and I cant get past it on ios (havent tried beta7 on windows)

> <https://github.com/ionic-team/ionic-cli/issues/2105>
