iOS Simulator crashes on start

This is the current release xCode 7. I create a template ios/watch app, and run and build the simulator. The linking error occurs. It has been happening since the beta.


===


Process: Simulator [771]

Path: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator

Identifier: com.apple.iphonesimulator

Version: 9.0 (620)

Build Info: Indigo-620000000000000~150

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Simulator [771]

User ID: 501



Date/Time: 2015-09-29 08:38:47.401 -0700

OS Version: Mac OS X 10.10.5 (14F27)

Report Version: 11

Anonymous UUID: 015164CE-38DB-27C6-9EF3-447DD92F2AB7





Time Awake Since Boot: 51 seconds



Crashed Thread: 0



Exception Type: EXC_BREAKPOINT (SIGTRAP)

Exception Codes: 0x0000000000000002, 0x0000000000000000



Application Specific Information:

dyld: launch, loading dependent libraries

DYLD_INSERT_LIBRARIES=/usr/lib/libignitor2.dylib



Dyld Error Message:

could not load inserted library '/usr/lib/libignitor2.dylib' because no suitable image found. Did find:

/usr/lib/libignitor2.dylib: mmap() error 1 at address=0x106207000, size=0x00001000 segment=__TEXT in Segment::map() mapping /usr/lib/libignitor2.dylib



Binary Images:

0x1061c3000 - 0x1061ebfff com.apple.iphonesimulator (9.0 - 620) <853F524A-8A56-38F2-9099-2A6A478D241D> /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator

0x7fff67c6e000 - 0x7fff67ca4887 dyld (353.2.3) <B1B370A5-479F-3533-8AD7-97B687D4F989> /usr/lib/dyld



Model: MacBookPro11,3, BootROM MBP112.0138.B15, 4 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC 2.19f12

Graphics: Intel Iris Pro, Intel Iris Pro, Built-In

Graphics: NVIDIA GeForce GT 750M, NVIDIA GeForce GT 750M, PCIe, 2048 MB

Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x02FE, -

Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x02FE, -

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom BCM43xx 1.0 (7.15.166.24.3)

Bluetooth: Version 4.3.6f3 16238, 3 services, 27 devices, 1 incoming serial ports

Network Service: Wi-Fi, AirPort, en0

Serial ATA Device: APPLE SSD SM0512F, 500.28 GB

USB Device: Internal Memory Card Reader

USB Device: BRCM20702 Hub

USB Device: Bluetooth USB Host Controller

USB Device: Apple Internal Keyboard / Trackpad

Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1

In the console:


9/29/15 10:33:40.000 AM kernel[0]: AMFI: Simulator(pid 3126) - [deny-mmap] mapped file has no team identifier and is not a platform binary: /usr/lib/libignitor2.dylib

You are attempting to inject libignitor2.dylib into the process, and it is being denied by AMFI, causing the launch of the process to abort.


Stop setting DYLD_INSERT_LIBRARIES=/usr/lib/libignitor2.dylib, and this will no longer be an issue.


Why is that being set?

how do you stop setting the above, i have the same error.

In order to tell you how to stop setting that variable, you'd have to tell us what you did to start setting that variable. That's not something that is shipped by Apple.


Is there anything identifying about /usr/lib/libignitor2.dylib?


Run strings on it.

Run codesign -vvv -d on it.

etc...

iOS Simulator crashes on start
 
 
Q