Opened 4 years ago

Last modified 3 years ago

#61183 assigned defect

ios-deploy @1.11.1_0: Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502

Reported by: chrstphrchvz (Christopher Chavez) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: ios-deploy

Description

Build fails on macOS 10.10 (Xcode 7.2.1)

Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
2020-08-19 15:25:09.125 xcodebuild[30093:46033860] launchctl print returned an error code: 28928
2020-08-19 15:25:09.125 xcodebuild[30093:46033860] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.  Adding it now.
Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
2020-08-19 15:25:09.173 xcodebuild[30093:46033860] launchctl print returned an error code: 28928
2020-08-19 15:25:09.173 xcodebuild[30093:46033860] *** Assertion failure in -[SimServiceContext reloadServiceIfMovedOrAbortIfWeAreInvalid], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreSimulator/CoreSimulator-201.3/CoreSimulator/SimServiceContext.m:451
** INTERNAL ERROR: Uncaught exception **
Exception: Unable to lookup com.apple.CoreSimulator.CoreSimulatorService in the bootstrap.  This can happen if running with a sandbox profile.  When running with a sandbox profile, make sure that com.apple.CoreSimulator.CoreSimulatorService.xpc is owned by root, not group writable, and not world writable.  See <rdar://problem/22142915>.
Stack:
=== BUILD TARGET ios-deploy OF PROJECT ios-deploy WITH CONFIGURATION Release ===

Check dependencies
  0  0x000000010dde7024 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010da5f76e objc_exception_throw (in libobjc.A.dylib)
  2  0x000000010dde6e1a +[NSException raise:format:arguments:] (in CoreFoundation)
  3  0x000000010c5ef97b -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
  4  0x0000000120af42e5 -[SimServiceContext reloadServiceIfMovedOrAbortIfWeAreInvalid] (in CoreSimulator)
  5  0x0000000120af4c03 -[SimServiceContext connect] (in CoreSimulator)
  6  0x0000000120af38bc -[SimServiceContext initWithConnectionType:] (in CoreSimulator)
  7  0x0000000120af341a +[SimServiceContext simContextWithConnectionType:] (in CoreSimulator)
  8  0x0000000120af33cb __41+[SimServiceContext sharedServiceContext]_block_invoke (in CoreSimulator)
  9  0x000000010f160e73 _dispatch_client_callout (in libdispatch.dylib)
 10  0x000000010f160d86 dispatch_once_f (in libdispatch.dylib)
 11  0x0000000120af33a9 +[SimServiceContext sharedServiceContext] (in CoreSimulator)
 12  0x0000000120b1341a +[SimDeviceSet setForSetPath:] (in CoreSimulator)
 13  0x0000000120b133b6 +[SimDeviceSet defaultSet] (in CoreSimulator)
 14  0x000000012443cfe0 __42-[DVTiPhoneSimulatorLocator startLocating]_block_invoke (in IDEiOSSupportCore)
 15  0x000000010cd1a8f8 __DVTDispatchAsync_block_invoke (in DVTFoundation)
 16  0x000000010f164700 _dispatch_call_block_and_release (in libdispatch.dylib)
 17  0x000000010f160e73 _dispatch_client_callout (in libdispatch.dylib)
 18  0x000000010f163dc7 _dispatch_root_queue_drain (in libdispatch.dylib)
 19  0x000000010f163a1c _dispatch_worker_thread3 (in libdispatch.dylib)
 20  0x000000010f49fa9d _pthread_wqthread (in libsystem_pthread.dylib)
 21  0x000000010f49d3dd start_wqthread (in libsystem_pthread.dylib)

sh: line 1: 30093 Abort trap: 6           /usr/bin/xcodebuild -target "ios-deploy" -configuration Release build 

This appears to be the problem described in ProblemHotlist#xcode7.2, however Xcode 7.2.1 is the latest version that can run on macOS 10.10.

Change History (2)

comment:1 Changed 3 years ago by amake (Aaron Madlon-Kay)

Owner: amake deleted

I am no longer maintaining this port.

comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

I notice the wiki page I linked to has since been updated for what to do on macOS 10.10. I guess there is nothing for the port to do about the issue, and this ticket can be closed.

Note: See TracTickets for help on using tickets.