Compile the string catalog in a build phase !306

merged merged by cmc on 2026-10-12 00:30 UTC · krz/orgstar:xcstrings-no-sync into main

1 file changed, +108 −10

Layout: unified · split

ios/Orgstar.xcodeproj/project.pbxproj +108 −10
@@ -7,9 +7,6 @@
7 objects = { 7 objects = {
8 8
9/* Begin PBXBuildFile section */ 9/* Begin PBXBuildFile section */
10 0C3C75F379379A9A6CE73594 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = E28063B787B853DBF86E0BE8 /* Localizable.xcstrings */; };
11 66B4CC5BE465CB078976E641 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = E28063B787B853DBF86E0BE8 /* Localizable.xcstrings */; };
12 D2A6A2AF120C4594370B7128 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = E28063B787B853DBF86E0BE8 /* Localizable.xcstrings */; };
13 1B78003BBCE8A4B809333342 /* OrgApp in Frameworks */ = {isa = PBXBuildFile; productRef = A2BE626BBE45EA52880B6169 /* OrgApp */; }; 10 1B78003BBCE8A4B809333342 /* OrgApp in Frameworks */ = {isa = PBXBuildFile; productRef = A2BE626BBE45EA52880B6169 /* OrgApp */; };
14 1E5861C0EFE1D96CDC21A22F /* OrgApp in Frameworks */ = {isa = PBXBuildFile; productRef = BA239181876756F7732397EB /* OrgApp */; }; 11 1E5861C0EFE1D96CDC21A22F /* OrgApp in Frameworks */ = {isa = PBXBuildFile; productRef = BA239181876756F7732397EB /* OrgApp */; };
15 2BE799BF03ED43EAA6849F53 /* OrgApp in Frameworks */ = {isa = PBXBuildFile; productRef = EDEF22C5B4F393296F1D17BB /* OrgApp */; }; 12 2BE799BF03ED43EAA6849F53 /* OrgApp in Frameworks */ = {isa = PBXBuildFile; productRef = EDEF22C5B4F393296F1D17BB /* OrgApp */; };
@@ -24,8 +21,6 @@
24 0A61626884F48A1B4963D767 /* OrgWatchData in Frameworks */ = {isa = PBXBuildFile; productRef = 925F6F580D155C1597A5F07B /* OrgWatchData */; }; 21 0A61626884F48A1B4963D767 /* OrgWatchData in Frameworks */ = {isa = PBXBuildFile; productRef = 925F6F580D155C1597A5F07B /* OrgWatchData */; };
25 C6824548013D3A2076EAF9C7 /* OrgWatchData in Frameworks */ = {isa = PBXBuildFile; productRef = 2EFA0D9CD8BD435F6283F3AA /* OrgWatchData */; }; 22 C6824548013D3A2076EAF9C7 /* OrgWatchData in Frameworks */ = {isa = PBXBuildFile; productRef = 2EFA0D9CD8BD435F6283F3AA /* OrgWatchData */; };
26 625E39E946591E6D43200C02 /* OrgstarWatch/Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C908C5209CABA6130FD12641 /* OrgstarWatch/Assets.xcassets */; }; 23 625E39E946591E6D43200C02 /* OrgstarWatch/Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C908C5209CABA6130FD12641 /* OrgstarWatch/Assets.xcassets */; };
27 B376F3ABC97B1DD45ACF72E6 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = E28063B787B853DBF86E0BE8 /* Localizable.xcstrings */; };
28 19C76E12526FA2C682420D8D /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = E28063B787B853DBF86E0BE8 /* Localizable.xcstrings */; };
29/* End PBXBuildFile section */ 24/* End PBXBuildFile section */
30 25
31/* Begin PBXContainerItemProxy section */ 26/* Begin PBXContainerItemProxy section */
@@ -291,6 +286,7 @@
291 isa = PBXNativeTarget; 286 isa = PBXNativeTarget;
292 buildConfigurationList = 3F4C2119C1AEC3C58EDF26F9 /* Build configuration list for PBXNativeTarget "Orgstar iOS" */; 287 buildConfigurationList = 3F4C2119C1AEC3C58EDF26F9 /* Build configuration list for PBXNativeTarget "Orgstar iOS" */;
293 buildPhases = ( 288 buildPhases = (
289 B86570FC8656E397B56018C7 /* Compile string catalog */,
294 FD11E99E3EE9450636C880B9 /* Sources */, 290 FD11E99E3EE9450636C880B9 /* Sources */,
295 843FAAECD041CD2466904790 /* Frameworks */, 291 843FAAECD041CD2466904790 /* Frameworks */,
296 287027B677CE75B2D4715EE6 /* Resources */, 292 287027B677CE75B2D4715EE6 /* Resources */,
@@ -321,6 +317,7 @@
321 isa = PBXNativeTarget; 317 isa = PBXNativeTarget;
322 buildConfigurationList = 9E5D2D8CAA074680FE17F119 /* Build configuration list for PBXNativeTarget "OrgstarShare" */; 318 buildConfigurationList = 9E5D2D8CAA074680FE17F119 /* Build configuration list for PBXNativeTarget "OrgstarShare" */;
323 buildPhases = ( 319 buildPhases = (
320 641BAD6CBA4413E3690E3513 /* Compile string catalog */,
324 E5AC38BB173B87555EBEC0AC /* Sources */, 321 E5AC38BB173B87555EBEC0AC /* Sources */,
325 1439C48F60EF427CC7ADB87B /* Frameworks */, 322 1439C48F60EF427CC7ADB87B /* Frameworks */,
326 1A9DC7DD7E76A6C5A1DC674C /* Resources */, 323 1A9DC7DD7E76A6C5A1DC674C /* Resources */,
@@ -367,6 +364,7 @@
367 isa = PBXNativeTarget; 364 isa = PBXNativeTarget;
368 buildConfigurationList = 14080276016DB67528B057D6 /* Build configuration list for PBXNativeTarget "OrgstarWidgets" */; 365 buildConfigurationList = 14080276016DB67528B057D6 /* Build configuration list for PBXNativeTarget "OrgstarWidgets" */;
369 buildPhases = ( 366 buildPhases = (
367 C9A138A7D511613ADA30B0C1 /* Compile string catalog */,
370 296E85448BDDDD3245D3D432 /* Sources */, 368 296E85448BDDDD3245D3D432 /* Sources */,
371 AE22603FB5DE3C5FFFBBC68E /* Frameworks */, 369 AE22603FB5DE3C5FFFBBC68E /* Frameworks */,
372 EA6C64E8D42ADCFBC3B131FF /* Resources */, 370 EA6C64E8D42ADCFBC3B131FF /* Resources */,
@@ -390,6 +388,7 @@
390 isa = PBXNativeTarget; 388 isa = PBXNativeTarget;
391 buildConfigurationList = F016DC0514ED09D03670EA41 /* Build configuration list for PBXNativeTarget "OrgstarWatch" */; 389 buildConfigurationList = F016DC0514ED09D03670EA41 /* Build configuration list for PBXNativeTarget "OrgstarWatch" */;
392 buildPhases = ( 390 buildPhases = (
391 4316AE7E93B32A6A11452968 /* Compile string catalog */,
393 CACD414798C1FBC733B9DAEF /* Sources */, 392 CACD414798C1FBC733B9DAEF /* Sources */,
394 19E8368F7C3E6B0B873B86D7 /* Frameworks */, 393 19E8368F7C3E6B0B873B86D7 /* Frameworks */,
395 D80B89150108F9E7F9B977F1 /* Resources */, 394 D80B89150108F9E7F9B977F1 /* Resources */,
@@ -415,6 +414,7 @@
415 isa = PBXNativeTarget; 414 isa = PBXNativeTarget;
416 buildConfigurationList = 4B3C4C78C0194125D7118FBE /* Build configuration list for PBXNativeTarget "OrgstarWatchWidgets" */; 415 buildConfigurationList = 4B3C4C78C0194125D7118FBE /* Build configuration list for PBXNativeTarget "OrgstarWatchWidgets" */;
417 buildPhases = ( 416 buildPhases = (
417 76C7F6FC6E17B50D801D8E15 /* Compile string catalog */,
418 56106460CED1CCEA1C324745 /* Sources */, 418 56106460CED1CCEA1C324745 /* Sources */,
419 BCA36593052CBFAC52822B63 /* Frameworks */, 419 BCA36593052CBFAC52822B63 /* Frameworks */,
420 A068258849F81C306955A8BE /* Resources */, 420 A068258849F81C306955A8BE /* Resources */,
@@ -477,7 +477,6 @@
477 isa = PBXResourcesBuildPhase; 477 isa = PBXResourcesBuildPhase;
478 buildActionMask = 2147483647; 478 buildActionMask = 2147483647;
479 files = ( 479 files = (
480 D2A6A2AF120C4594370B7128 /* Localizable.xcstrings in Resources */,
481 ); 480 );
482 runOnlyForDeploymentPostprocessing = 0; 481 runOnlyForDeploymentPostprocessing = 0;
483 }; 482 };
@@ -485,7 +484,6 @@
485 isa = PBXResourcesBuildPhase; 484 isa = PBXResourcesBuildPhase;
486 buildActionMask = 2147483647; 485 buildActionMask = 2147483647;
487 files = ( 486 files = (
488 0C3C75F379379A9A6CE73594 /* Localizable.xcstrings in Resources */,
489 67AD8B4FFD1ED43852CFC2CA /* Orgstar/Assets.xcassets in Resources */, 487 67AD8B4FFD1ED43852CFC2CA /* Orgstar/Assets.xcassets in Resources */,
490 ); 488 );
491 runOnlyForDeploymentPostprocessing = 0; 489 runOnlyForDeploymentPostprocessing = 0;
@@ -501,7 +499,6 @@
501 isa = PBXResourcesBuildPhase; 499 isa = PBXResourcesBuildPhase;
502 buildActionMask = 2147483647; 500 buildActionMask = 2147483647;
503 files = ( 501 files = (
504 66B4CC5BE465CB078976E641 /* Localizable.xcstrings in Resources */,
505 ); 502 );
506 runOnlyForDeploymentPostprocessing = 0; 503 runOnlyForDeploymentPostprocessing = 0;
507 }; 504 };
@@ -509,7 +506,6 @@
509 isa = PBXResourcesBuildPhase; 506 isa = PBXResourcesBuildPhase;
510 buildActionMask = 2147483647; 507 buildActionMask = 2147483647;
511 files = ( 508 files = (
512 B376F3ABC97B1DD45ACF72E6 /* Localizable.xcstrings in Resources */,
513 625E39E946591E6D43200C02 /* OrgstarWatch/Assets.xcassets in Resources */, 509 625E39E946591E6D43200C02 /* OrgstarWatch/Assets.xcassets in Resources */,
514 ); 510 );
515 runOnlyForDeploymentPostprocessing = 0; 511 runOnlyForDeploymentPostprocessing = 0;
@@ -518,12 +514,114 @@
518 isa = PBXResourcesBuildPhase; 514 isa = PBXResourcesBuildPhase;
519 buildActionMask = 2147483647; 515 buildActionMask = 2147483647;
520 files = ( 516 files = (
521 19C76E12526FA2C682420D8D /* Localizable.xcstrings in Resources */,
522 ); 517 );
523 runOnlyForDeploymentPostprocessing = 0; 518 runOnlyForDeploymentPostprocessing = 0;
524 }; 519 };
525/* End PBXResourcesBuildPhase section */ 520/* End PBXResourcesBuildPhase section */
526 521
522/* Begin PBXShellScriptBuildPhase section */
523 B86570FC8656E397B56018C7 /* Compile string catalog */ = {
524 isa = PBXShellScriptBuildPhase;
525 buildActionMask = 2147483647;
526 files = (
527 );
528 inputFileListPaths = (
529 );
530 inputPaths = (
531 "$(SRCROOT)/../l10n/Localizable.xcstrings",
532 );
533 name = "Compile string catalog";
534 outputFileListPaths = (
535 );
536 outputPaths = (
537 "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/de.lproj/Localizable.strings",
538 );
539 runOnlyForDeploymentPostprocessing = 0;
540 shellPath = /bin/sh;
541 shellScript = "# The catalog is compiled here rather than as a resource, so that Xcode doesn't sync it\n# from this target's sources; scripts/sync-strings.sh keeps it.\nxcrun xcstringstool compile \"$SCRIPT_INPUT_FILE_0\" --output-directory \"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\"\n";
542 };
543 641BAD6CBA4413E3690E3513 /* Compile string catalog */ = {
544 isa = PBXShellScriptBuildPhase;
545 buildActionMask = 2147483647;
546 files = (
547 );
548 inputFileListPaths = (
549 );
550 inputPaths = (
551 "$(SRCROOT)/../l10n/Localizable.xcstrings",
552 );
553 name = "Compile string catalog";
554 outputFileListPaths = (
555 );
556 outputPaths = (
557 "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/de.lproj/Localizable.strings",
558 );
559 runOnlyForDeploymentPostprocessing = 0;
560 shellPath = /bin/sh;
561 shellScript = "# The catalog is compiled here rather than as a resource, so that Xcode doesn't sync it\n# from this target's sources; scripts/sync-strings.sh keeps it.\nxcrun xcstringstool compile \"$SCRIPT_INPUT_FILE_0\" --output-directory \"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\"\n";
562 };
563 C9A138A7D511613ADA30B0C1 /* Compile string catalog */ = {
564 isa = PBXShellScriptBuildPhase;
565 buildActionMask = 2147483647;
566 files = (
567 );
568 inputFileListPaths = (
569 );
570 inputPaths = (
571 "$(SRCROOT)/../l10n/Localizable.xcstrings",
572 );
573 name = "Compile string catalog";
574 outputFileListPaths = (
575 );
576 outputPaths = (
577 "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/de.lproj/Localizable.strings",
578 );
579 runOnlyForDeploymentPostprocessing = 0;
580 shellPath = /bin/sh;
581 shellScript = "# The catalog is compiled here rather than as a resource, so that Xcode doesn't sync it\n# from this target's sources; scripts/sync-strings.sh keeps it.\nxcrun xcstringstool compile \"$SCRIPT_INPUT_FILE_0\" --output-directory \"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\"\n";
582 };
583 4316AE7E93B32A6A11452968 /* Compile string catalog */ = {
584 isa = PBXShellScriptBuildPhase;
585 buildActionMask = 2147483647;
586 files = (
587 );
588 inputFileListPaths = (
589 );
590 inputPaths = (
591 "$(SRCROOT)/../l10n/Localizable.xcstrings",
592 );
593 name = "Compile string catalog";
594 outputFileListPaths = (
595 );
596 outputPaths = (
597 "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/de.lproj/Localizable.strings",
598 );
599 runOnlyForDeploymentPostprocessing = 0;
600 shellPath = /bin/sh;
601 shellScript = "# The catalog is compiled here rather than as a resource, so that Xcode doesn't sync it\n# from this target's sources; scripts/sync-strings.sh keeps it.\nxcrun xcstringstool compile \"$SCRIPT_INPUT_FILE_0\" --output-directory \"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\"\n";
602 };
603 76C7F6FC6E17B50D801D8E15 /* Compile string catalog */ = {
604 isa = PBXShellScriptBuildPhase;
605 buildActionMask = 2147483647;
606 files = (
607 );
608 inputFileListPaths = (
609 );
610 inputPaths = (
611 "$(SRCROOT)/../l10n/Localizable.xcstrings",
612 );
613 name = "Compile string catalog";
614 outputFileListPaths = (
615 );
616 outputPaths = (
617 "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/de.lproj/Localizable.strings",
618 );
619 runOnlyForDeploymentPostprocessing = 0;
620 shellPath = /bin/sh;
621 shellScript = "# The catalog is compiled here rather than as a resource, so that Xcode doesn't sync it\n# from this target's sources; scripts/sync-strings.sh keeps it.\nxcrun xcstringstool compile \"$SCRIPT_INPUT_FILE_0\" --output-directory \"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH\"\n";
622 };
623/* End PBXShellScriptBuildPhase section */
624
527/* Begin PBXSourcesBuildPhase section */ 625/* Begin PBXSourcesBuildPhase section */
528 296E85448BDDDD3245D3D432 /* Sources */ = { 626 296E85448BDDDD3245D3D432 /* Sources */ = {
529 isa = PBXSourcesBuildPhase; 627 isa = PBXSourcesBuildPhase;