App won't run in ios simulator


#1

I’m using ionic2 beta 11 and my app no longer starts in the ios simulator.

I’m running the following commands:

ionic build ios
ionic emulate ios

Also I tried with the basic test-app and it doesn’t work either. Any ideas what’s going on?


#2

Well there’s not a lot to go off of there now… :thinking:

Could you provide any more info? Like terminal output or something?


#3

ionic info…

Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.30
Ionic App Lib Version: 2.0.0-beta.16
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.5
Xcode version: Xcode 7.3.1 Build version 7D1014

Here’s my plugins…

cordova-plugin-camera 2.2.0 "Camera"
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-console 1.0.3 "Console"
cordova-plugin-device 1.1.2 "Device"
cordova-plugin-file 4.2.0 "File"
cordova-plugin-splashscreen 3.2.2 "Splashscreen"
cordova-plugin-statusbar 2.1.3 "StatusBar"
cordova-plugin-whitelist 1.2.2 "Whitelist"
cordova-sqlite-storage 1.4.6 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 “Keyboard”


#5

Here’s the console output…

Aug 23 11:15:50 Jamess-MacBook-Pro DTServiceHub[2668]: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
Aug 23 11:15:50 Jamess-MacBook-Pro CoreSimulatorBridge[2667]: Requesting installation of file:///Users/jamesfoscue/ionic/myhomeinventory/platforms/ios/build/emulator/myhomeinventory.app/ with options: {
CFBundleIdentifier = “com.ionicframework.myhomeinventory693344”;
PackageType = Developer;
SimulatorRootPath = “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk”;
SimulatorUserPath = “/Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data”;
}
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x700000094000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of “/Users/jamesfoscue/ionic/myhomeinventory/platforms/ios/build/emulator/myhomeinventory.app” type Developer (LSInstallType = (null)) requested by CoreSimulatorBridge (pid 2667)
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x700000094000 MDMCreateDeltaDirectory: calling MDMDirectoryDiff with:
state->old_bundle: /Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Containers/Bundle/Application/05E1EAF6-7F9C-4101-8E41-F122F4B1AD83/myhomeinventory.app
state->new_bundle: /Users/jamesfoscue/ionic/myhomeinventory/platforms/ios/build/emulator/myhomeinventory.app
state->dst_bundle: /Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Library/Caches/com.apple.mobile.installd.staging/temp.fgkDxo/extracted/Payload//myhomeinventory.app, binaryDiff flag: FALSE
dst_ipa: /Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Library/Caches/com.apple.mobile.installd.staging/temp.fgkDxo/extracted
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x70000019a000 __MDMDirectoryDiff_block_invoke37: calling writeDictToFile with: /Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Library/Caches/com.apple.mobile.installd.staging/temp.fgkDxo/extracted/ManifestCache.plist
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x70000019a000 writeDictToFile: ==== Successfully wrote Manifest cache to /Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Library/Caches/com.apple.mobile.installd.staging/temp.fgkDxo/extracted/ManifestCache.plist
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: HW kbd: Failed to set (null) as keyboard focus
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x700000094000 -[MIInstaller performInstallationWithError:]: Installing
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x700000094000 -[MIInstallableBundlePatch applyPatchWithError:]: Attempting patch update of com.ionicframework.myhomeinventory693344 from 0.0.1 (0.0.1) to 0.0.1 (0.0.1)
Aug 23 11:15:50 Jamess-MacBook-Pro com.apple.CoreSimulator.SimDevice.3199125D-1154-4144-A00B-C655527F7246.launchd_sim[2643] (UIKitApplication:com.ionicframework.myhomeinventory693344[0x8feb][2834]): Service exited due to signal: Killed: 9
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x700000094000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.ionicframework.myhomeinventory693344 is now at /Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Containers/Data/Application/26E9FA1E-7703-468C-9497-65359FC08C50
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x700000094000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.ionicframework.myhomeinventory693344 at /Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Containers/Bundle/Application/F9B58D5F-C8B4-4AED-923A-24AE813E07CA
Aug 23 11:15:50 Jamess-MacBook-Pro installd[2653]: 0x700000094000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.09s; Waiting: 0.00s; Preflight/Patch: 0.05s, Verifying: 0.00s; Overall: 0.18s
Aug 23 11:15:50 Jamess-MacBook-Pro pkd[2690]: releasing plug-in hold 59E083E4-B7EA-4766-86F3-91BB72F2327F at client’s request
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: [com.ionicframework.myhomeinventory693344 (2834)] Kill failed. Error: No such process (3)
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: Installed apps did change.
Added: {(
)}
Removed: {(
)}
Modified: {(
“com.ionicframework.myhomeinventory693344”
)}
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.MobileSMS
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: throwing out icon because it isn’t visible in the model : node=<SBApplicationIcon: 0x7fafda0a96a0; nodeID: “com.apple.camera”> com.apple.camera
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.weather
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.mobiletimer
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.videos
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.mobilenotes
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.stocks
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.MobileStore
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.AppStore
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.iBooks
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.facetime
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.calculator
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.podcasts
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: Application ‘UIKitApplication:com.ionicframework.myhomeinventory693344[0x8feb]’ exited abnormally via signal.
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.Bridge
Aug 23 11:15:50 Jamess-MacBook-Pro assertiond[2663]: notify_suspend_pid() failed with error 7
Aug 23 11:15:50 Jamess-MacBook-Pro assertiond[2663]: assertion failed: 15G31 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Aug 23 11:15:50 — last message repeated 1 time —
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.compass
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.tips
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.VoiceMemos
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.mobileme.fmf1
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.mobileme.fmip1
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.mobilephone
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.mobilemail
Aug 23 11:15:50 Jamess-MacBook-Pro SpringBoard[2659]: could not find icon for representation -> com.apple.Music
Aug 23 11:15:51 Jamess-MacBook-Pro containermanagerd[2682]: 0x700000323000 systemGroupContainerPath: com.apple.containermanagerd.internal is not entitled for system group identifier: systemgroup.com.apple.lsd
Aug 23 11:15:51 Jamess-MacBook-Pro lsd[2677]: LaunchServices:(called by PID 2667) Identifiers file does not exist, creating file.
Aug 23 11:15:51 Jamess-MacBook-Pro containermanagerd[2682]: 0x70000019a000 systemGroupContainerPath: com.apple.containermanagerd.internal is not entitled for system group identifier: systemgroup.com.apple.lsd
Aug 23 11:15:53 Jamess-MacBook-Pro CoreSimulatorBridge[2667]: Requesting launch of com.ionicframework.myhomeinventory693344 with options: {
environment = {
};
}
Aug 23 11:15:53 Jamess-MacBook-Pro assertiond[2663]: assertion failed: 15G31 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskLoadEntitlements failed error=22 cs_flags=200, task->pid_self=-1
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskCopyDebugDescription: myhomeinventory[2942]
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskLoadEntitlements failed error=22 cs_flags=200, task->pid_self=-1
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskCopyDebugDescription: myhomeinventory[2942]
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskLoadEntitlements failed error=22 cs_flags=200, task->pid_self=-1
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskCopyDebugDescription: myhomeinventory[2942]
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskLoadEntitlements failed error=22 cs_flags=200, task->pid_self=-1
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskCopyDebugDescription: myhomeinventory[2942]
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskLoadEntitlements failed error=22 cs_flags=200, task->pid_self=-1
Aug 23 11:15:53 Jamess-MacBook-Pro backboardd[2660]: SecTaskCopyDebugDescription: myhomeinventory[2942]
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: assertion failed: 15G31 13E230: libxpc.dylib + 71506 [6F98A9DA-B46E-3A2B-88D4-92F1EC77477F]: 0x7d
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Containers/Data/Application/26E9FA1E-7703-468C-9497-65359FC08C50/Library/Cookies/com.ionicframework.myhomeinventory693344.binarycookies
Aug 23 11:15:53 Jamess-MacBook-Pro assertiond[2663]: assertion failed: 15G31 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Aug 23 11:15:53 — last message repeated 1 time —
Aug 23 11:15:53 Jamess-MacBook-Pro SpringBoard[2659]: [MPUSystemMediaControls] Updating supported commands for now playing application.
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: Apache Cordova native platform version 4.2.0 is starting.
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: Multi-tasking -> Device: YES, App: YES
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: Using UIWebView
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][handleopenurl] 0.051975ms
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][intentandnavigationfilter] 1.291990ms
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][gesturehandler] 0.046968ms
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][splashscreen] 5.347013ms
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][statusbar] 17.473996ms
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][keyboard] 0.449955ms
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][file] 1.847982ms
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: [CDVTimer][TotalPluginStartup] 27.626038ms
Aug 23 11:15:53 Jamess-MacBook-Pro assertiond[2663]: assertion failed: 15G31 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: Resetting plugins due to page load.
Aug 23 11:15:53 Jamess-MacBook-Pro assertiond[2663]: assertion failed: 15G31 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1
Aug 23 11:15:53 — last message repeated 1 time —
Aug 23 11:15:53 Jamess-MacBook-Pro myhomeinventory[2942]: Finished load of: file:///Users/jamesfoscue/Library/Developer/CoreSimulator/Devices/3199125D-1154-4144-A00B-C655527F7246/data/Containers/Bundle/Application/F9B58D5F-C8B4-4AED-923A-24AE813E07CA/myhomeinventory.app/www/index.html
Aug 23 11:15:54 Jamess-MacBook-Pro assertiond[2663]: assertion failed: 15G31 13E230: assertiond + 15801 [3C808658-78EC-3950-A264-79A64E0E463B]: 0x1


#6

hi , I got same error when testing my ionic app on ios simulator can u helpme?