[MacPorts] ProblemHotlist modified

MacPorts Wiki noreply at macports.org
Sat Oct 20 17:24:55 UTC 2018


Page "ProblemHotlist" was changed by kencu
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=143>
Revision 143
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 142)
+++ ProblemHotlist (version: 143)
@@ -177,6 +177,33 @@
 The following problems are now solved, no longer apply to current MacPorts or should no longer be happening due to other circumstances. They are kept here for future reference and to avoid breaking existing links.
 }}}
 
+== Build failures after upgrading to Xcode 7.2 == #xcode7.2
+
+After installing the update to Xcode 7.2, port installations or upgrades using `xcodebuild` may fail with the following error due to an error in the Xcode installation. This has been fixed by Apple in Xcode 7.3.
+
+{{{
+Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
+2015-12-10 17:21:27.407 xcodebuild[7363:75765] launchctl print returned an error code: 28928
+2015-12-10 17:21:27.407 xcodebuild[7363:75765] 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
+2015-12-10 17:21:27.431 xcodebuild[7363:75765] launchctl print returned an error code: 28928
+2015-12-10 17:21:27.431 xcodebuild[7363:75765] *** 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>.
+}}}
+
+'''Please update to Xcode 7.3 to fix the permissions.'''
+
+Updating to Xcode 7.3 appears to be no longer automatic in App Store Updates. You may try updating from the Xcode App Store page directly, or obtaining Xcode 7.3 via Apple's Developer downloads area.
+
+As an alternative, the immediate workaround is to manually fix the permissions of the path mentioned in the error message. User should be 'root', group should be 'wheel', and write permissions only granted for the owner:
+
+{{{
+sudo chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
+sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
+}}}
+
+
 == Build failures after upgrading to ncurses 6 == #ncurses6
 
 After upgrading ncurses to version 6, a port may fail to build, with the following error message in the main.log or config.log file:
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/ProblemHotlist>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'ProblemHotlist' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list