Skip to content

Commit 714e085

Browse files
PGMacDesign2claude
andcommitted
Remove legacy CODE_SIGN_IDENTITY[sdk=iphoneos*] project settings
The project-level CODE_SIGN_IDENTITY[sdk=iphoneos*]="iPhone Developer" (Xcode 8 era) was overriding the command-line CODE_SIGN_IDENTITY since sdk-specific settings take precedence over general ones. This caused xcodebuild to look for "iOS Distribution" instead of "Apple Distribution". Also removed the broken conditional syntax from the workflow command line — shell mangles the brackets in CODE_SIGN_IDENTITY[sdk=iphoneos*]. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0a37e20 commit 714e085

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/deploy-testflight.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ jobs:
118118
-destination "generic/platform=iOS" \
119119
CODE_SIGN_STYLE=Manual \
120120
CODE_SIGN_IDENTITY="Apple Distribution" \
121-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]=Apple Distribution" \
122121
PROVISIONING_PROFILE_SPECIFIER="" \
123122
PROVISIONING_PROFILE="$PROFILE_UUID" \
124123
DEVELOPMENT_TEAM="$APPLE_TEAM_ID"

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@
460460
CLANG_WARN_SUSPICIOUS_MOVE = YES;
461461
CLANG_WARN_UNREACHABLE_CODE = YES;
462462
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
463-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
463+
464464
COPY_PHASE_STRIP = NO;
465465
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
466466
ENABLE_NS_ASSERTIONS = NO;
@@ -595,7 +595,7 @@
595595
CLANG_WARN_SUSPICIOUS_MOVE = YES;
596596
CLANG_WARN_UNREACHABLE_CODE = YES;
597597
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
598-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
598+
599599
COPY_PHASE_STRIP = NO;
600600
DEBUG_INFORMATION_FORMAT = dwarf;
601601
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -652,7 +652,7 @@
652652
CLANG_WARN_SUSPICIOUS_MOVE = YES;
653653
CLANG_WARN_UNREACHABLE_CODE = YES;
654654
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
655-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
655+
656656
COPY_PHASE_STRIP = NO;
657657
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
658658
ENABLE_NS_ASSERTIONS = NO;

0 commit comments

Comments
 (0)