I have upgraded my Mac to OS X El Capitan (version 10.11.4) and updated Xcode (version 7.3 (7D175)). I'm working on Xamarin (version 5.10.3 (build 27)). I get all iOS Simulator components (from Xcode Preferences/Components), versions 8.1, 8.2, 8.3, 8.4, 9.0, 9.1 and 9.2, no version 9.3 available..
After all upgrades and a restart I open my project in Xamarin and launch it and an error message raise to say that the iOS Simulator cannot start. I tried to create a new project on Xcode (to see if it was related to Xamarin), tried to launch it and the same issue occurs.
This is the crash report:
Process: Simulator [1497]
Path: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Identifier: com.apple.iphonesimulator
Version: ???
Build Info: Indigo-645009000000000~27
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Simulator [1497]
User ID: 1283659680
Date/Time: 2016-03-31 10:53:04.204 +0200
OS Version: Mac OS X 10.11.4 (15E65)
Report Version: 11
Anonymous UUID: 5CBF8D9C-B1CD-87AC-FF01-AD5337903E26
Time Awake Since Boot: 2300 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /usr/local/lib/libwep
Referenced from: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
Reason: no suitable image found. Did find:
/usr/local/lib/libwep: mmap() error 1 at address=0x10DEC0000, size=0x00008000 segment=__TEXT in Segment::map() mapping /usr/local/lib/libwep
Binary Images:
0x7fff6dae7000 - 0x7fff6db1e0d7 dyld (360.21) <D9B236BC-4AC1-325F-B3EF-3F06DBDA7119> /usr/lib/dyld
0x7fff8b48d000 - 0x7fff8b502fff com.apple.framework.IOKit (2.0.2 - 1179.40.20) <FB2AD43B-905D-3BD0-BE17-ACE7D4D13E24> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff8b995000 - 0x7fff8bd00657 libobjc.A.dylib (680) <D55D5807-1FBE-32A5-9105-44D7AFE68C27> /usr/lib/libobjc.A.dylib
0x7fff8c4f6000 - 0x7fff8c6c4ff3 com.apple.QuartzCore (1.11 - 410.14) <0283748A-8318-36AC-8B30-8A951FEB305A> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff8e1d1000 - 0x7fff8e1f9fff com.apple.GLKit (1.0 - 56) <E5E5A6F0-E6FC-3D40-81E4-A3E627929FD0> /System/Library/Frameworks/GLKit.framework/Versions/A/GLKit
0x7fff904f8000 - 0x7fff904f8fff com.apple.Carbon (154 - 157) <8F6ED602-5943-3E29-A793-BC331E2C183D> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff93d01000 - 0x7fff93d02ffb libSystem.B.dylib (1226.10.1) <CD307E99-FC5C-3575-BCCE-0C861AA63124> /usr/lib/libSystem.B.dylib
0x7fff9583f000 - 0x7fff95cb5fff com.apple.CoreFoundation (6.9 - 1258.1) <943A1383-DA6A-3DC0-ABCD-D9AEB3D0D34D> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff96177000 - 0x7fff96179fff com.apple.xpc.ServiceManagement (1.0 - 1) <F3E14561-5DF4-3429-98ED-8F27A87A343A> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x7fff9a5d3000 - 0x7fff9a5e1fff com.apple.opengl (12.0.40 - 12.0.40) <AEA28993-BA3E-3E0F-A2F5-88C312ABB634> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff9ac23000 - 0x7fff9b84cfff com.apple.AppKit (6.9 - 1404.46) <2492D315-76B6-320B-B542-231FCA44CA48> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff9cf39000 - 0x7fff9d28dfff com.apple.Foundation (6.9 - 1258) <51833143-6CAE-3E1C-9FBA-BCDEB48D4ADF> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff9e27d000 - 0x7fff9f4e5ffb com.apple.CoreGraphics (1.600.0 - 957) <C403FF5C-1B6F-3810-90B1-F5477828A701> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fffa02a8000 - 0x7fffa02ccfff com.apple.MultitouchSupport.framework (304.10.2 - 304.10.2) <CE75EDA3-2B22-3968-834E-550EA870ECC8> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x7fffa1542000 - 0x7fffa1882fff com.apple.WebKit (11601 - 11601.5.17.1) <6FA46AD7-3DF1-3654-A642-D9C5BE613ED7> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
I don't understand why the /usr/local/lib/libwep library is not loading.
There is no explicit message or information to understand the issue and try to fix it. I do not find a lot help on similar issues.
I tried this solution, but it just removed the iOS Simulator components that I just download with Xcode.
I need help, if you have any ideas, as I can't debug anymore until this simulator will start.
The issue is caused by your use of WebSense. This software injects a library (usr/local/lib/libwep) into every process, and that practice is not valid for processes utilizing library validation for increased security. Simulator.app is one such process that is making use of library validation.
You need to reach out to WebSense for a compatible update to their software.
What fixed for me is
sudo chmod +x /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
I was getting this too when trying to open the simulator via Spotlight Search (⌘ + ⎵)
Despite seeing it open
My solution in the end was Force Quit then yarn ios to get back up and running.
Related
When I try to open Xcode, it crashes unexpectedly and asks me to reopen. But reopening also gives me the same error. I have XCode 10.2.1 as well as XCode 11.7 installed.
Problem details and system configuration:
Process: Xcode [1607]
Path: /Applications/Xcode1.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 10.2.1 (14490.122)
Build Info: IDEFrameworks-14490122000000000~6 (10E1001)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1607]
User ID: 501
PlugIn Path: /Applications/Xcode1.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib
PlugIn Identifier: libMainThreadChecker.dylib
PlugIn Version: ??? (64490.34)
Date/Time: 2020-11-16 21:23:39.623 -0500
OS Version: macOS 11.0.1 (20B29)
Report Version: 12
Bridge OS Version: 5.0.1 (18P2561)
Anonymous UUID: 14ACF447-0D96-DDDB-DD2C-2FE0B3DB664D
Time Awake Since Boot: 4800 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff237919b9
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [1607]
VM Regions Near 0x7fff237919b9:
__TEXT 7fff22bf8000-7fff23600000 [ 10.0M] r-x/r-x SM=COW /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
--> __TEXT 7fff23600000-7fff23800000 [ 2048K] r-x/rwx SM=COW /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
Submap 7fff23800000-7fff40000000 [456.0M] r--/rwx SM=PRV process-only VM submap
Application-Specific Information:
/Applications/Xcode1.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib
ProductBuildVersion: 10E1001
Faced the same issue on Big Sur update. Git stopped working as well. Fixed it by running following command in terminal.
defaults write com.apple.dt.Xcode DVTDisableMainThreadChecker 1
Original Answer Reference: https://developer.apple.com/forums/thread/651985?answerId=637934022#637934022
Faced the same issue after updating to Big Sur.
Found a temporary workaround:
Go to Xcode10.app/Contents/Developer/usr/lib
Rename the file libMainThreadChecker.dylib into anything else (I named it _libMainThreadChecker.dylib)
NOTE: If your project has "Main thread checker enabled" it may crash somewhere, so it's better to disable it.
This is a known issues
Currently there is one workaround for this.
You've to run the following command in the Terminal app to avoid crashes when starting Xcode:
defaults write com.apple.dt.Xcode DVTDisableMainThreadChecker 1
Now deactivate "Main Thread Checker" in your Xcode project: Edit
Scheme -> Run/Test -> Diagnostics -> Uncheck Main Thread Checker.
I have tried to format my MacOS, redownload Xcode 10.3. It just doesnt work.
Logs:
Process: Xcode [22467]
Path: /Users/USER/Downloads/Xcode_10.3.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 10.3 (14492.2)
Build Info: IDEFrameworks-14492002000000000~2 (10G8)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [22467]
User ID: 501
PlugIn Path: /Users/USER/Downloads/Xcode_10.3.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib
PlugIn Identifier: libMainThreadChecker.dylib
PlugIn Version: ??? (64492.1)
Date/Time: 2020-11-13 16:52:33.909 +0800
OS Version: macOS 11.0.1 (20B29)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: 46BBB97A-6E02-4B36-B8CE-640575A752F0
Time Awake Since Boot: 4500 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff2379c9b9
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [22467]
VM Regions Near 0x7fff2379c9b9:
__TEXT 7fff22c03000-7fff23600000 [ 10.0M] r-x/r-x SM=COW /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
--> __TEXT 7fff23600000-7fff23800000 [ 2048K] r-x/rwx SM=PRV /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
Submap 7fff23800000-7fff40000000 [456.0M] r--/rwx SM=PRV process-only VM submap
Application Specific Information:
/Users/junjie/Downloads/Xcode_10.3.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib
ProductBuildVersion: 10G8
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libMainThreadChecker.dylib 0x00000001176b8069 swizzleImplementationFast + 115
1 libMainThreadChecker.dylib 0x00000001176b7ef0 addSwizzler + 165
2 libMainThreadChecker.dylib 0x00000001176b7aec __library_initializer + 2937
3 dyld 0x0000000117b21df5 ImageLoaderMachO::doImageInit(ImageLoader::LinkContext const&) + 321
4 dyld 0x0000000117b2246d ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) +
Any suggestion or idea how to resolve this?
Ok I managed to get it up and running by deleting ~/Downloads/Xcode_10.3.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib
It compiles my project.
To be safe, I have copied this same dylib file from latest Xcode 12.2 and put into that folder. It is still working so far.
I had the same problem, I initially solved it using defaults write com.apple.dt.Xcode DVTDisableMainThreadChecker 1. After this, Xcode 10 seemed to work on macOS 11, and everything would build from within Xcode.
I then had the weirdest issue - when compiling from the command line using xcodebuild, the whole machine would grind to a halt and eventually hang, requiring a "hold down the power button" restart. The problem turned out to be that ibtool (used for compiling IB files) was not honouring DVTDisableMainThreadChecker, and was still crashing. This was somehow causing the machine to get into a state where it stopped responding.
The solution was to copy libMainThreadChecker.dylib from Xcode 12 into the Xcode 10 package. After that the problem went away.
ALL,
I hope someone here knows something about OSX and Xcode..
I have and had for a long time a Mac laptop with OSX 10.8. I did install the latest available Xcode for this version and was developing my program on it.
The compilation/linking process was working and I was able to successfully start the program from inside Xcode. And of course I was able to do debugging there.
Recently I bought myself a newer Mac laptop. I did install newer Xcode on it and since my program is located on GitHub cloned my repository there and tried to compile and run.
While compilation and linking were successful, executing failed, even before it even started (the failure was somewhere inside the Assembly code).
All libraries I'm using had been compiled with the same set of options. And compilation of my software was successful.
How do I find where/how to fix the issue?
I'm sure something inside Xcode changed which made the code generation fail. But how do I find what exactly?
Thank you.
[EDIT]
I just tried to run the program from the Terminal. Here is the output from the crash:
Process: dbhandler [11125]
Path: /Users/USER/*/dbhandler.app/Contents/MacOS/dbhandler
Identifier: abc.dbhandler
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: dbhandler [11125]
User ID: 501
Date/Time: 2019-03-31 15:58:19.681 -0500
OS Version: Mac OS X 10.13.6 (17G65)
Report Version: 12
Anonymous UUID: AB9F6124-7868-5E43-BBB7-1A7D8A2DEF30
Sleep/Wake UUID: 2F231255-E0CA-47D4-8FD1-08C6F47A0627
Time Awake Since Boot: 58000 seconds
Time Since Wake: 350 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /usr/local/lib/liblibdbwindow.dylib
Referenced from: /Users/USER/*/dbhandler.app/Contents/MacOS/dbhandler
Reason: image not found
Binary Images:
0x109ff9000 - 0x10a02bff7 +abc.dbhandler (1.0 - 1) <F1A3B876-188B-3BCD-839F-D586CC3F400A> /Users/USER/*/dbhandler.app/Contents/MacOS/dbhandler
0x10a071000 - 0x10a113ff7 +libwx_osx_cocoau_xrc-3.1.1.0.0.dylib (0) <FCF4309C-08BD-3559-8E0F-47851DED7DE5> /Users/USER/*/libwx_osx_cocoau_xrc-3.1.1.0.0.dylib
0x10a1e1000 - 0x10a27cfff +libwx_osx_cocoau_html-3.1.1.0.0.dylib (0) <B24F932F-CA10-3FDF-8159-8E94046BA19D> /Users/USER/*/libwx_osx_cocoau_html-3.1.1.0.0.dylib
0x10a357000 - 0x10a378ff7 +libwx_osx_cocoau_qa-3.1.1.0.0.dylib (0) <F5CE0D9C-260C-3362-88CC-AE3D8D9F3119> /Users/USER/*/libwx_osx_cocoau_qa-3.1.1.0.0.dylib
0x10a3ad000 - 0x10a4d8fff +libwx_osx_cocoau_adv-3.1.1.0.0.dylib (0) <2AF1A22E-8DC9-30C3-898E-7BE762476889> /Users/USER/*/libwx_osx_cocoau_adv-3.1.1.0.0.dylib
0x10a6c3000 - 0x10abb9ff7 +libwx_osx_cocoau_core-3.1.1.0.0.dylib (0) <4EEDAE00-B05C-3D05-8488-7EC8F8F7A824> /Users/USER/*/libwx_osx_cocoau_core-3.1.1.0.0.dylib
0x10b0ad000 - 0x10b0c0fff +libwx_baseu_xml-3.1.1.0.0.dylib (0) <7CB5A2DA-A81D-3352-AE8D-D23ACBBC426D> /Users/USER/*/libwx_baseu_xml-3.1.1.0.0.dylib
0x10b0d7000 - 0x10b10cfff +libwx_baseu_net-3.1.1.0.0.dylib (0) <F758CDB6-A8A3-32A9-95D2-2155EBEB183B> /Users/USER/*/libwx_baseu_net-3.1.1.0.0.dylib
0x10b159000 - 0x10b348ff7 +libwx_baseu-3.1.1.0.0.dylib (0) <34B6DA7C-F404-3B1C-8EC9-F5FD781F0629> /Users/USER/*/libwx_baseu-3.1.1.0.0.dylib
0x10c57c000 - 0x10c5c6acf dyld (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> /usr/lib/dyld
0x7fff51f5f000 - 0x7fff521edff7 com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <E0B8B5D8-80A0-308B-ABD6-F8612102B5D8> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff528c1000 - 0x7fff528c1fff com.apple.Carbon (158 - 158) <F8B370D9-2103-3276-821D-ACC756167F86> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff52dd3000 - 0x7fff52dd3fff com.apple.Cocoa (6.11 - 22) <78E6C28E-4308-3D10-AD14-0CBCF6789B3F> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff55dc4000 - 0x7fff55e5ffff com.apple.framework.IOKit (2.0.2 - 1445.71.1) <2EA4F383-CAA9-3AF0-99C5-90C22ADAA6B6> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff5db0d000 - 0x7fff5db1cff3 com.apple.opengl (16.7.4 - 16.7.4) <9BDE8FF9-5418-3C70-8D1C-09656884CE48> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff7916b000 - 0x7fff7916cffb libSystem.B.dylib (1252.50.4) <CD555F3B-FDDB-35E5-A2FB-FBBF3D62031A> /usr/lib/libSystem.B.dylib
Model: MacBookAir7,2, BootROM MBA71.0178.B00, 2 processors, Intel Core i5, 1.8 GHz, 8 GB, SMC 2.27f2
Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: USB 3.0 Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Air, Apple Inc., 27.2
The error said the the library can't be found.
This library is coming from my projectand it is written by me. But I don't see a way in the Xcode to install the project.
On top of that everything on the old Mac works out of the box.
Does this an indication of 32/64-bit incompatibility?
[/EDIT]
Something that might help is:
do you get some message on the output / issue navigator?
what type of program are you writing?
since this was a new install, did you also installed the command line tools?
if it is an iOS program do you have the right components?
When I'm running my cocoa application inside Xcode it works fine.
But I'm going to where the .app file is and run it from there this error shows up:
Process: QBLoader [4571]
Path: /Users/USER/Library/Developer/Xcode/DerivedData/QBLoader-egxdvwlbzueazygfdbjqcxtgyvqz/Build/Products/Debug/QBLoader.app/Contents/MacOS/QBLoader
Identifier: com.fsm.QBLoader
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: launchd [210]
Date/Time: 2012-05-25 09:25:31.121 +0200
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
Interval Since Last Report: 62057 sec
Crashes Since Last Report: 10
Per-App Interval Since Last Report: 20 sec
Per-App Crashes Since Last Report: 10
Anonymous UUID: 5DEC6815-69C3-48FA-A3C4-3EEBC31CC1B6
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /Library/Frameworks/SBJson.framework/Versions/A/SBJson
Referenced from: /Users/USER/Library/Developer/Xcode/DerivedData/QBLoader-egxdvwlbzueazygfdbjqcxtgyvqz/Build/Products/Debug/QBLoader.app/Contents/MacOS/QBLoader
Reason: image not found
This is what worked for me.
I changed "Installation directory" for the SBJson target to: "#executable_path/../Frameworks".
Now is it possible to run the application outside Xcode.
On XCode 9, I'm not able to build my project, with this error :
KVNProgress Group/Users/xxx/Documents/project/Pods/KVNProgress/KVNProgress/Resources/KVNProgressView.xib
/Users/xxx/development/project/Pods/KVNProgress/KVNProgress/Resources/KVNProgressView.xib: Internal error. Please file a bug at bugreport.apple.com and attach "/var/folders/kb/3qmqmk_569v9ggc23nnc5btm0000gn/T/IB-agent-diagnostics_2018-02-16_10-30-34_345000".
Crash detail :
Process: Interface Builder Cocoa Touch Tool [10066]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/Interface Builder Cocoa Touch Tool
Identifier: Interface Builder Cocoa Touch Tool
Version: 9.2 (13772)
Code Type: X86-64 (Native)
Parent Process: ibtoold [10050]
Responsible: Interface Builder Cocoa Touch Tool [10066]
User ID: 262
Date/Time: 2018-02-15 14:33:28.445 +0100
OS Version: Mac OS X 10.12.6 (16G1114)
Report Version: 12
Anonymous UUID: C68970F4-1365-1C3A-554B-396EA6A954FC
Time Awake Since Boot: 1800 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks
Library not loaded: /System/Library/PrivateFrameworks/CoreAnalytics.framework/CoreAnalytics
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
Reason: image not found
I tried a lot of solutions from Reason: no suitable image found. but I still have the problem.
Important precision : On my other mac, the project build correctly.
Before yesterday, project build on this mac...
I tried to delete and recreate all the Provisioning profile and Certificates, to delete XCode cash, remove project and recreate from git and install pod again, restart mac, clean derived data, but nothing works...
Other precision : I'm not able to build another project with KVNProgress lib.
Turns out Avast quarantined the file that was missing.
Restored the file and Xcode worked fine