Hrm. I've updated my AngularJS to 1.4.6 (which includes a fix for window.location), and then added the transport security entry to my plist, I'm still seeing this issue.
- launch with xcode: works
- launch with
ionic emulate ios
: works - launch with
ionic emulate -l ios
: fails
All 3 launch as: iPhone 6 - iPhone 6 / iOS 9.0 (13A340)
Here's a gist of what my plist file looks like:
Any ideas how to debug this? There doesn't seem to be anything particularly relevant to launching the simulator other than this, which googling implies is not a new error, and not related:
Sep 18 13:48:42 Sin com.apple.CoreSimulator.CoreSimulatorService[1476]: Could not register service com.apple.coreservices.lsuseractivity.simulatorsupport: Failed to lookup com.apple.coreservices.lsuseractivity.simulatorsupport: 0x44e
Sep 18 13:48:43 Sin airportd[74]: SecTaskLoadEntitlements failed error=22
Sep 18 13:48:43 --- last message repeated 1 time ---
Sep 18 13:48:43 Sin com.apple.SecurityServer[98]: Session 100370 created
Sep 18 13:48:43 Sin kernel[0]: AMFI: simctl(pid 16244) - [deny-mmap] mapped executable file has no team identifier in its signature: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime
/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib
Sep 18 13:48:43 Sin com.apple.CoreSimulator.CoreSimulatorService[1476]: Failed to open /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib: dlopen(/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib, 1): no suitable image found. Did find:
/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib: mmap() error 1 at address=0x112B6E000, size=0x00002000 segment=__TEXT in Segment::map() mapping /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib
Sep 18 13:48:47 Sin kernel[0]: AMFI: simctl(pid 16271) - [deny-mmap] mapped executable file has no team identifier in its signature: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib
Sep 18 13:48:47 Sin com.apple.CoreSimulator.CoreSimulatorService[1476]: Failed to open /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib: dlopen(/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib, 1): no suitable image found. Did find:
/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib: mmap() error 1 at address=0x10F126000, size=0x00002000 segment=__TEXT in Segment::map() mapping /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib