# Sample app crashes on Apple Silicon m1 when run on x86 platform

**URL:** <https://forum.ionicframework.com/t/sample-app-crashes-on-apple-silicon-m1-when-run-on-x86-platform/209013>\
**Category:** ionic-v1\
**Created:** [May 4, 2021, 1:27am UTC](https://forum.ionicframework.com/t/sample-app-crashes-on-apple-silicon-m1-when-run-on-x86-platform/209013 "2021-05-04T01:27:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thehawaiiproject](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@thehawaiiproject](https://forum.ionicframework.com/u/thehawaiiproject)\
**Post date:** [May 4, 2021, 1:27am UTC](https://forum.ionicframework.com/t/sample-app-crashes-on-apple-silicon-m1-when-run-on-x86-platform/209013/1 "2021-05-04T01:27:13Z")

</div>

Anyone here successfully developing on an M1-based Apple Silicon Mac using Ionic V1?

When I build and run the sample tabs app, it crashes when run on, say, on iPhone X simulator but works fine on an iPhone 12 simulator.

E.g.:

1. ionic start m1App tabs --type ionic1
2. cd m1App
3. ionic cordova platform add ios
4. ionic cordova build ios
5. open Xcode, Build, Run on iPhone X simulator , the app will crash

latest Xcode, version 12.4 (not run in Rosetta mode)

Error occurs in CDVWKWebViewEngine.m, pluginInitialize

I wonder if I am doing something wrong?

My ionic info:  
Ionic:

Ionic CLI : 5.4.16 (/Users/markwatkins/.nvm/versions/node/v10.23.1/lib/node\_modules/ionic)  
Ionic Framework : ionic1 1.3.4  
@ionic/v1-toolkit : 1.0.22

Cordova:

Cordova CLI : 10.0.0  
Cordova Platforms : ios 6.2.0  
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)

Utility:

cordova-res (update available: 0.15.3) : 0.15.2  
native-run : 1.3.0

System:

Android SDK Tools : 26.1.1 (/Users/markwatkins/Library/Android/sdk)  
ios-deploy : 1.11.4  
ios-sim : 8.0.2  
NodeJS : v10.23.1 (/Users/markwatkins/.nvm/versions/node/v10.23.1/bin/node)  
npm : 6.14.10  
OS : macOS Big Sur  
Xcode : Xcode 12.4 Build version 12D4e

---

<div class="post-metadata">

**Author:** ![thehawaiiproject](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@thehawaiiproject](https://forum.ionicframework.com/u/thehawaiiproject)\
**Post date:** [May 4, 2021, 2:14am UTC](https://forum.ionicframework.com/t/sample-app-crashes-on-apple-silicon-m1-when-run-on-x86-platform/209013/2 "2021-05-04T02:14:24Z")

</div>

I deleted and recreated my iPhone X simulator, and the problem went away. Only thing I can think of is that my simulator was perhaps restored from a time Machine backup from the old architecture and was therefore invalid (or something).
