# Failed ToDo build

**URL:** <https://forum.ionicframework.com/t/failed-todo-build/25338>\
**Category:** ionic-v1\
**Created:** [May 25, 2015, 10:26pm UTC](https://forum.ionicframework.com/t/failed-todo-build/25338 "2015-05-25T22:26:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![playgraph](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/playgraph/32/12579_2.png) [@playgraph](https://forum.ionicframework.com/u/playgraph)\
**Post date:** [May 25, 2015, 10:26pm UTC](https://forum.ionicframework.com/t/failed-todo-build/25338/1 "2015-05-25T22:26:51Z")

</div>

I’m on OS X Yosemite 10.10.3 with XCode 5.0 (5A1413)

I’m starting with a clean install of node, cordova, and ionic. I ran the commands in the getting started guild:

```
$ sudo npm install -g cordova
$ sudo npm install -g ionic
$ ionic start todo blank
$ ionic platform add ios
$ ionic build ios

```

And everything seemed to go as planned until the last build line. I get the following error:

```
**BUILD FAILED**

The following build commands failed:
    CompileXIB todo/Classes/MainViewController.xib
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/my_user_name/todo/platforms/ios/cordova/build-debug.xcconfig,-project,todo.xcodeproj,ARCHS=i386,-target,todo,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/my_user_name/todo/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/my_user_name/todo/platforms/ios/build/sharedpch
ERROR building one of the platforms: Error: /Users/my_user_name/todo/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /Users/my_user_name/todo/platforms/ios/cordova/build: Command failed with exit code 2
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:766:16)
    at Process.ChildProcess._handle.onexit (child_process.js:833:5)

```

I’ve searched the forums for this particular failed build but I didn’t find any solutions. Any ideas how to resolve this? I’ve tried uninstalling the platform and re-installing.

---

<div class="post-metadata">

**Author:** ![playgraph](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/playgraph/32/12579_2.png) [@playgraph](https://forum.ionicframework.com/u/playgraph)\
**Post date:** [June 6, 2015, 11:01pm UTC](https://forum.ionicframework.com/t/failed-todo-build/25338/2 "2015-06-06T23:01:06Z")

</div>

Any ideas? Do I need to provide more info?

---

<div class="post-metadata">

**Author:** ![playgraph](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/playgraph/32/12579_2.png) [@playgraph](https://forum.ionicframework.com/u/playgraph)\
**Post date:** [June 23, 2015, 2:12am UTC](https://forum.ionicframework.com/t/failed-todo-build/25338/3 "2015-06-23T02:12:10Z")

</div>

Still having this issue. I’d love someone to point me in the right direction.

---

<div class="post-metadata">

**Author:** ![maxx0r](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/maxx0r/32/91299_2.png) [@maxx0r](https://forum.ionicframework.com/u/maxx0r)\
**Post date:** [June 23, 2015, 12:29pm UTC](https://forum.ionicframework.com/t/failed-todo-build/25338/4 "2015-06-23T12:29:01Z")

</div>

you cant update to XCode 6.3.2 (most recent)? It might solve your problem
