Closed drewcrawford closed 8 years ago
Thanks for reporting this, @drewcrawford! I'll look into it right away.
Ok @drewcrawford, I pushed a fix in https://github.com/czechboy0/XcodeServerSDK/commit/be92e6e8f8aec0fd555bf96f1843f2a95dd0d538, can you try again but this time by pointing Carthage at the swift-2
branch instead of the last release? I'll create a release if all works for you later today.
So your Cartfile should look like this:
github "czechboy0/XcodeServerSDK" "swift-2"
Better, but still fails:
~/Code/carthage_test 🏇 carthage update
*** Fetching XcodeServerSDK
*** Cloning DVR
*** Cloning BuildaUtils
*** Checking out XcodeServerSDK at "8857a2c81c2d10adb50d125efe19de1359febb54"
*** Checking out DVR at "4e036d99d23aa3f8349c2648dda876112939d41a"
*** Checking out BuildaUtils at "f6d3d0679f9ee89155ab166d433e976250755559"
*** xcodebuild output can be found in /var/folders/vv/z02zhgz508g99fs34mhrkw6c0000gp/T/carthage-xcodebuild.r6OXoT.log
*** Building scheme "BuildaUtils" in BuildaUtils.xcodeproj
2015-08-10 03:22:35.143 xcodebuild[21733:1098872] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:22:35.144 xcodebuild[21733:1098872] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
*** Building scheme "BuildaUtilsiOS" in BuildaUtils.xcodeproj
2015-08-10 03:22:41.132 xcodebuild[21793:1099114] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:22:41.133 xcodebuild[21793:1099114] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:22:51.366 xcodebuild[21857:1099344] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:22:51.367 xcodebuild[21857:1099344] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
*** Building scheme "DVR-iOS" in DVR.xcodeproj
2015-08-10 03:23:03.818 xcodebuild[21947:1099694] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:03.819 xcodebuild[21947:1099694] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:11.184 xcodebuild[22007:1100106] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:11.185 xcodebuild[22007:1100106] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
*** Building scheme "DVR-OSX" in DVR.xcodeproj
2015-08-10 03:23:19.146 xcodebuild[22090:1100596] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:19.147 xcodebuild[22090:1100596] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
*** Building scheme "DVR-watchOS" in DVR.xcodeproj
2015-08-10 03:23:28.113 xcodebuild[22142:1101016] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:28.113 xcodebuild[22142:1101016] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:32.996 xcodebuild[22182:1101307] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:32.997 xcodebuild[22182:1101307] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
*** Building scheme "XcodeServerSDK - iOS" in XcodeServerSDK.xcworkspace
2015-08-10 03:23:39.141 xcodebuild[22258:1101720] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:39.142 xcodebuild[22258:1101720] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/drew/Library/Developer/Xcode/DerivedData/XcodeServerSDK-axwiczzlxpnscohhcihlxalgaepx/Build/Intermediates/XcodeServerSDK.build/Release-iphonesimulator/XcodeServerSDK\ -\ iOS.build/Script-FB223FF4186A90B7898C0B46.sh
(1 failure)
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
A shell task failed with exit code 65:
2015-08-10 03:23:39.141 xcodebuild[22258:1101720] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2015-08-10 03:23:39.142 xcodebuild[22258:1101720] [MT] PluginLoading: Required plug-in compatibility UUID AABB7188-E14E-4433-AD3B-5CD791EAD9A3 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/drew/Library/Developer/Xcode/DerivedData/XcodeServerSDK-axwiczzlxpnscohhcihlxalgaepx/Build/Intermediates/XcodeServerSDK.build/Release-iphonesimulator/XcodeServerSDK\ -\ iOS.build/Script-FB223FF4186A90B7898C0B46.sh
(1 failure)
Sorry, forgot to ask you to run pod deintegrate
first to clean cocoapods from the project.
It's kind of tricky I guess, we need to run pod deintegrate
in the XcodeServerSDK
repo before Carthage builds it. I'll think about how to do this (is there a way to add post-download scripts to Carthage?)
So, the right answer here I think depends on what you are trying to accomplish.
If the goal here is to support installing via carthage in a useful way, pod deintegrate
won't do the trick. That solution assumes
1 is suboptimal (but at least fairly likely), 2 is unlikely and false in my case.
The docs could of course tell me how to solve 2, but I question the value of "supporting" carthage by requiring the user to first configure cocoapods in a special way. I personally use carthage to avoid cocoapods, if I can't avoid cocoapods I might as well use cocoapods.
If you are happy with cocoapods being a build dependency I might suggest just not trying to support carthage. People like me can either suck it up and use cocoapods or be pushed to something like Rome.
I see what you mean, but I'd still prefer to provide at least some support for Carthage users (like having a Cartfile and thus our dependencies explicitly stated.) Having to run pod deintegrate
definitely isn't ideal, but I don't know what is without making the process of developing XcodeServerSDK itself much more painful (having a diff every time we run pod install
in the project file and not committing this upstream).
I wonder if someone has figured out a way to support both properly.
I am really not sure this is worth it. I'll remove Carthage support for now so that we're not lying to window-shoppers, and if anyone can come up with a good way to support it again, I'll be more than happy to merge a PR. I think that's the most honest thing I can do right now.
One can work around this issue with
However it then fails with a new error
To work around this, I had to remove iOS/watch targets as you can see in my fork. I don't need them, so that wasn't a big deal.