Changes between Version 125 and Version 126 of ProblemHotlist


Ignore:
Timestamp:
Dec 10, 2015, 4:28:46 PM (8 years ago)
Author:
raimue (Rainer Müller)
Comment:

Document build failures after Xcode 7.2 update

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v125 v126  
    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
     34After 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 is a problem that should be addressed by Apple, please also file a [https://bugreport.apple.com bug report] to raise awareness.
     35
     36{{{
     37Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
     382015-12-10 17:21:27.407 xcodebuild[7363:75765] launchctl print returned an error code: 28928
     392015-12-10 17:21:27.407 xcodebuild[7363:75765] Failed to locate a valid instance of CoreSimulatorService in the bootstrap.  Adding it now.
     40Could not find service "com.apple.CoreSimulator.CoreSimulatorService" in domain for uid: 502
     412015-12-10 17:21:27.431 xcodebuild[7363:75765] launchctl print returned an error code: 28928
     422015-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 **
     44Exception: 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
     47At the moment, a known workaround is to manually fix the permissions of the path mentioned in the error message:
     48
     49{{{
     50$ sudo chmod 755 /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
     51}}}
     52
     53
    3154== Port installation fails with "no destroot found" == #nodestrootfound
    3255