macOS 10.12.6
XCode 9GM
After starting an app on the simulator I'm getting with repeating "itunesstored unexpectedly quit" messages
Any ideas?
macOS 10.12.6
XCode 9GM
After starting an app on the simulator I'm getting with repeating "itunesstored unexpectedly quit" messages
Any ideas?
I am getting the same issue.
It seems that it only happens when there is more than one simulator open.
Also macOS 10.12.6 and XCode 9GM,
and iTunes 12.7, if that has anything to do with it.
The simulator doesn't actually stop working, as far as I can tell, but clicking on the notification produces the following:
Process: itunesstored [15677]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/iTunesStore.framework/Support/itunesstored
Identifier: itunesstored
Version: 1444.0.134
Code Type: X86-64 (Native)
Parent Process: launchd_sim [11833]
Responsible: itunesstored [15677]
User ID: 501
Date/Time: 2017-09-20 11:52:48.135 +0100
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: AD714FE1-09D7-8969-EFCC-CD1EDD0BB437
Sleep/Wake UUID: 84A1EC21-AF5B-4E1F-BC8C-070DD0251DB9
Time Awake Since Boot: 150000 seconds
Time Since Wake: 2700 seconds
System Integrity Protection: enabled
Crashed Thread: 2 Dispatch queue: com.apple.itunesstored.CacheDeleteCoordinator.dispatch
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OS_dispatch_queue length]: unrecognized selector sent to instance 0x7fae69502d20'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 494.13.6 - Device: iPad Air 2 - Runtime: iOS 11.0 (15A372) - DeviceType: iPad Air 2
Application Specific Backtrace 1:
0 CoreFoundation 0x000000010ee851cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010e7eff41 objc_exception_throw + 48
2 CoreFoundation 0x000000010ef05914 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000010ee08178 ___forwarding___ + 1432
4 CoreFoundation 0x000000010ee07b58 _CF_forwarding_prep_0 + 120
5 Foundation 0x000000010abe1c9a +[NSPathStore2 pathWithComponents:] + 672
6 StoreServices 0x000000010e33530b +[SSAppPurchaseHistoryDatabaseSchema databasePath] + 127
7 StoreServices 0x000000010e32fffa +[SSAppPurchaseHistoryDatabase newDefaultInstance] + 38
8 StoreServices 0x000000010e342d27 -[SSAppPurchaseHistoryCache init] + 86
Same here: macos 10.12.6 (16G29), XCode 9 from App Store.
> Crashed Thread: 3 Dispatch queue: com.apple.itunesstored.CacheDeleteCoordinator.dispatch
Tried resetting the simulator, but keeps crashing.
This might be related to the known issue reported as a part of xcode 9.1 beta release note:
https://download.developer.apple.com/Developer_Tools/Xcode_9.1_beta/Xcode_9.1_beta_Release_Notes.pdf
Known issue: Simulator will sometimes crash when interacting with devices booted by other versions of Xcode. (33585584)
Workaround: shutdown booted devices from the command line with xcrun simctl shutdown booted
Not sure if the proposed workaround works. You may want to give it a shot.