Changes between Version 135 and Version 136 of ProblemHotlist


Ignore:
Timestamp:
Nov 5, 2017, 8:10:03 PM (6 weeks ago)
Author:
grimreaper (Eitan Adler)
Comment:

xcode 7.2 is old and people upgraded

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v135 v136  
    2929Note you might have an older version of the `xcode-select` tool in case you installed Xcode 4.2 after installing the Mac OS X 10.7.3 update. If the command `xcode-select -version` returns `version 2003`, this is from Xcode 4.2 and we recommend to install the update once again with the [http://support.apple.com/kb/DL1484 Mac OS X 10.7.3 combo updater]. The current `xcode-select` version that comes with Mac OS X 10.7.3 identifies itself as `version 2307`.
    3030
    31 
    32 == Build failures after upgrading to Xcode 7.2 == #xcode7.2
    33 
    34 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.
    35 
    36 {{{
    37 Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
    38 2015-12-10 17:21:27.407 xcodebuild[7363:75765] launchctl print returned an error code: 28928
    39 2015-12-10 17:21:27.407 xcodebuild[7363:75765] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.  Adding it now.
    40 Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
    41 2015-12-10 17:21:27.431 xcodebuild[7363:75765] launchctl print returned an error code: 28928
    42 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
    43 ** INTERNAL ERROR: Uncaught exception **
    44 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>.
    45 }}}
    46 
    47 '''Please update to Xcode 7.3 to fix the permissions.'''
    48 
    49 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:
    50 
    51 {{{
    52 sudo chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
    53 sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
    54 }}}
    55 
    5631== Port installation fails with "no destroot found" == #nodestrootfound
    5732