# Ionic build fails on: platforms/ios/cordova/node\_modules/.bin/ios-sim

**URL:** https://discuss.bitrise.io/t/ionic-build-fails-on-platforms-ios-cordova-node-modules-bin-ios-sim/7516
**Category:** Builds
**Created:** [January 3, 2019, 1:23pm UTC](https://discuss.bitrise.io/t/ionic-build-fails-on-platforms-ios-cordova-node-modules-bin-ios-sim/7516 "2019-01-03T13:23:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alonrosenfeld](https://avatars.discourse-cdn.com/v4/letter/a/eb9ed0/32.png) [@alonrosenfeld](https://discuss.bitrise.io/u/alonrosenfeld)
#### Post date: [January 3, 2019, 1:23pm UTC](https://discuss.bitrise.io/t/ionic-build-fails-on-platforms-ios-cordova-node-modules-bin-ios-sim/7516/1 "2019-01-03T13:23:23Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Ionic build fails after installing Cordova:  
\> cordova platform add ios --save

Using cordova-fetch for cordova-ios@4.5.5

Adding ios project…

Creating Cordova project for the iOS platform:

Path: platforms/ios  
chmod: File not found: /Users/vagrant/git/platforms/ios/cordova/node\_modules/.bin/ios-sim

## Environment:

Bitrise stack: `Xcode 9.4.x`  
If on [Bitrise.io](http://Bitrise.io): which stack? If not on [Bitrise.io](http://Bitrise.io): on what operating system? (Plus any other information you can share)

Ionic Build iOS  
E.g.: Git Clone v3.6.0

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : YES
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : NO
- _Does the issue happen sporadically, or every time?_ : every time
- _Does upgrading the build Step to the latest version help?_ : NO
- _When did the issue start?_ : last week

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [https://www.bitrise.io/cli](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

## Build log

_Please copy paste the build’s [bitrise.io](http://bitrise.io) URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - [https://www.bitrise.io/contact](https://www.bitrise.io/contact) ), with a link to the related Discuss issue._  
[https://app.bitrise.io/build/7db3d8b4f91227f3](https://app.bitrise.io/build/7db3d8b4f91227f3)

---

<div class="post-metadata">

### Author: ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)
#### Post date: [January 9, 2019, 1:22pm UTC](https://discuss.bitrise.io/t/ionic-build-fails-on-platforms-ios-cordova-node-modules-bin-ios-sim/7516/2 "2019-01-09T13:22:02Z")

</div>

Hello @alonrosenfeld!

it seems that a npm package is missing calles ios-sim, and I am pretty sure that you did not use it knowingly.  
I think some third party dependency change is the cause of this error. I would suggest installing ios-sim first and see what happens.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)
#### Post date: [February 8, 2019, 1:22pm UTC](https://discuss.bitrise.io/t/ionic-build-fails-on-platforms-ios-cordova-node-modules-bin-ios-sim/7516/3 "2019-02-08T13:22:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
