From eb9de532f197935fe7f3f14f594d6fa19d7f8e64 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Mon, 18 Apr 2022 20:13:22 +0200 Subject: [PATCH] Fixed build phases order in target See [Xcode 10's known issues](https://developer.apple.com/documentation/xcode-release-notes/build-system-release-notes-for-xcode-10) in the release notes: > Targets with Copy Headers build phases ordered after Compile Sources build phases may fail to build and emit a diagnostic regarding build cycles. (39880168) >*Workaround*: Arrange any Copy Headers build phases before Compile Sources build phases. This has been an issue for nearly 4 years, and now with Xcode 13.3 it leads to `XCBBuildService` to crash consistently. --- Socket.IO-Client-Swift.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Socket.IO-Client-Swift.xcodeproj/project.pbxproj b/Socket.IO-Client-Swift.xcodeproj/project.pbxproj index e34e324..5a3917a 100644 --- a/Socket.IO-Client-Swift.xcodeproj/project.pbxproj +++ b/Socket.IO-Client-Swift.xcodeproj/project.pbxproj @@ -344,9 +344,9 @@ isa = PBXNativeTarget; buildConfigurationList = 572EF24B1B51F18A00EEBB58 /* Build configuration list for PBXNativeTarget "SocketIO" */; buildPhases = ( + 572EF2351B51F18A00EEBB58 /* Headers */, 572EF2331B51F18A00EEBB58 /* Sources */, 572EF2341B51F18A00EEBB58 /* Frameworks */, - 572EF2351B51F18A00EEBB58 /* Headers */, 572EF2361B51F18A00EEBB58 /* Resources */, ); buildRules = (