Changes between Version 142 and Version 143 of ProblemHotlist


Ignore:
Timestamp:
Oct 20, 2018, 5:24:47 PM (6 years ago)
Author:
kencu (Ken)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v142 v143  
    178178}}}
    179179
     180== Build failures after upgrading to Xcode 7.2 == #xcode7.2
     181
     182After 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.
     183
     184{{{
     185Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
     1862015-12-10 17:21:27.407 xcodebuild[7363:75765] launchctl print returned an error code: 28928
     1872015-12-10 17:21:27.407 xcodebuild[7363:75765] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.  Adding it now.
     188Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
     1892015-12-10 17:21:27.431 xcodebuild[7363:75765] launchctl print returned an error code: 28928
     1902015-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
     191** INTERNAL ERROR: Uncaught exception **
     192Exception: 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>.
     193}}}
     194
     195'''Please update to Xcode 7.3 to fix the permissions.'''
     196
     197Updating 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.
     198
     199As 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:
     200
     201{{{
     202sudo chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
     203sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
     204}}}
     205
     206
    180207== Build failures after upgrading to ncurses 6 == #ncurses6
    181208