1
1
mirror of https://github.com/robb/Cartography.git synced 2024-10-06 13:37:53 +03:00

Fixed build phases order

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.
This commit is contained in:
NachoSoto 2022-04-18 20:57:28 +02:00
parent b86461cb6c
commit 68b9f61990

View File

@ -515,9 +515,9 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 54C96A27195063CD000CDD27 /* Build configuration list for PBXNativeTarget "Cartography-iOS" */; buildConfigurationList = 54C96A27195063CD000CDD27 /* Build configuration list for PBXNativeTarget "Cartography-iOS" */;
buildPhases = ( buildPhases = (
54C96A0E195063CD000CDD27 /* Headers */,
54C96A0C195063CD000CDD27 /* Sources */, 54C96A0C195063CD000CDD27 /* Sources */,
54C96A0D195063CD000CDD27 /* Frameworks */, 54C96A0D195063CD000CDD27 /* Frameworks */,
54C96A0E195063CD000CDD27 /* Headers */,
54C96A0F195063CD000CDD27 /* Resources */, 54C96A0F195063CD000CDD27 /* Resources */,
); );
buildRules = ( buildRules = (
@ -555,9 +555,9 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 54F6A84B195C20C200313D24 /* Build configuration list for PBXNativeTarget "Cartography-Mac" */; buildConfigurationList = 54F6A84B195C20C200313D24 /* Build configuration list for PBXNativeTarget "Cartography-Mac" */;
buildPhases = ( buildPhases = (
54F6A835195C20C100313D24 /* Headers */,
54F6A833195C20C100313D24 /* Sources */, 54F6A833195C20C100313D24 /* Sources */,
54F6A834195C20C100313D24 /* Frameworks */, 54F6A834195C20C100313D24 /* Frameworks */,
54F6A835195C20C100313D24 /* Headers */,
54F6A836195C20C100313D24 /* Resources */, 54F6A836195C20C100313D24 /* Resources */,
); );
buildRules = ( buildRules = (
@ -594,9 +594,9 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 632F090F1BF1E7AA002431A3 /* Build configuration list for PBXNativeTarget "Cartography-tvOS" */; buildConfigurationList = 632F090F1BF1E7AA002431A3 /* Build configuration list for PBXNativeTarget "Cartography-tvOS" */;
buildPhases = ( buildPhases = (
632F09071BF1E7AA002431A3 /* Headers */,
632F09051BF1E7AA002431A3 /* Sources */, 632F09051BF1E7AA002431A3 /* Sources */,
632F09061BF1E7AA002431A3 /* Frameworks */, 632F09061BF1E7AA002431A3 /* Frameworks */,
632F09071BF1E7AA002431A3 /* Headers */,
632F09081BF1E7AA002431A3 /* Resources */, 632F09081BF1E7AA002431A3 /* Resources */,
); );
buildRules = ( buildRules = (