Skip to content

Commit d78e9fb

Browse files
leogdionclaudegithub-actions[bot]
authored
Fixing TestFlight Deployment (#65)
* fix(ci): add build processing validation and revert to build 2 - Revert build number to 2 (was incorrectly bumped without successful upload) - Remove skip_waiting_for_build_processing to wait for Apple's validation - Add wait_processing_timeout_duration: 1800 (30 min) for each app - Add 90-minute timeout for deploy job to accommodate processing wait - This will reveal any validation errors that caused build 2 to disappear 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * ci: temporarily add fix branch to deploy condition * chore: bump build number to 3 [skip ci] * fix(demo): use build settings for version numbers in Info.plist files Replaces hardcoded CFBundleVersion and CFBundleShortVersionString values with $(CURRENT_PROJECT_VERSION) and $(MARKETING_VERSION) respectively. This allows CI to properly increment build numbers for TestFlight uploads. Also resets build number to 2 since App Store Connect only has build 1. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * chore: bump build number to 3 [skip ci] * fix(ci): remove temporary branch and gitignore generated plists [skip ci] - Remove fix/build-2-upload-validation from deploy condition - Add *.plist to gitignore for xcodegen-generated files - Remove tracked Info.plist files (now auto-generated) - Reset build number to 2 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 20b791e commit d78e9fb

7 files changed

Lines changed: 15 additions & 117 deletions

File tree

.github/workflows/sundial-demo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ jobs:
184184
name: Deploy to TestFlight
185185
runs-on: macos-26
186186
needs: [archive-demo]
187+
timeout-minutes: 90
187188
if: |
188189
(github.ref == 'refs/heads/v2.0.0' || github.ref == 'refs/heads/main') &&
189190
!contains(github.event.head_commit.message, '[skip ci]')

Examples/Sundial/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ Fastlane/report.xml
44
Fastlane/test_output/
55
Fastlane/.env*
66
!Fastlane/.env.sample
7+
8+
# XcodeGen generated
9+
*.plist

Examples/Sundial/Fastlane/Fastfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ platform :ios do
4343
upload_to_testflight(
4444
api_key: api_key,
4545
ipa: options[:pulse_ipa],
46-
skip_waiting_for_build_processing: true
46+
wait_processing_timeout_duration: 1800
4747
)
4848
end
4949

@@ -52,7 +52,7 @@ platform :ios do
5252
upload_to_testflight(
5353
api_key: api_key,
5454
ipa: options[:flow_ipa],
55-
skip_waiting_for_build_processing: true
55+
wait_processing_timeout_duration: 1800
5656
)
5757
end
5858
end

Examples/Sundial/Resources/iOS/Info.plist

Lines changed: 0 additions & 48 deletions
This file was deleted.

Examples/Sundial/Resources/watchOS/Info-Combine.plist

Lines changed: 0 additions & 33 deletions
This file was deleted.

Examples/Sundial/Resources/watchOS/Info-Stream.plist

Lines changed: 0 additions & 33 deletions
This file was deleted.

Examples/Sundial/project.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ configFiles:
1919
settings:
2020
base:
2121
MARKETING_VERSION: "1.0.0"
22-
CURRENT_PROJECT_VERSION: "3"
22+
CURRENT_PROJECT_VERSION: "2"
2323
SWIFT_VERSION: "6.1"
2424
ENABLE_USER_SCRIPT_SANDBOXING: NO
2525

@@ -52,6 +52,8 @@ targets:
5252
info:
5353
path: Resources/iOS/Info.plist
5454
properties:
55+
CFBundleShortVersionString: $(MARKETING_VERSION)
56+
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
5557
UIApplicationSceneManifest:
5658
UIApplicationSupportsMultipleScenes: true
5759
LSRequiresIPhoneOS: true
@@ -108,6 +110,8 @@ targets:
108110
info:
109111
path: Resources/watchOS/Info-Combine.plist
110112
properties:
113+
CFBundleShortVersionString: $(MARKETING_VERSION)
114+
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
111115
WKApplication: true
112116
WKCompanionAppBundleIdentifier: com.brightdigit.sundial.combine.ios
113117
UISupportedInterfaceOrientations:
@@ -157,6 +161,8 @@ targets:
157161
info:
158162
path: Resources/iOS/Info.plist
159163
properties:
164+
CFBundleShortVersionString: $(MARKETING_VERSION)
165+
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
160166
UIApplicationSceneManifest:
161167
UIApplicationSupportsMultipleScenes: true
162168
LSRequiresIPhoneOS: true
@@ -213,6 +219,8 @@ targets:
213219
info:
214220
path: Resources/watchOS/Info-Stream.plist
215221
properties:
222+
CFBundleShortVersionString: $(MARKETING_VERSION)
223+
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
216224
WKApplication: true
217225
WKCompanionAppBundleIdentifier: com.brightdigit.sundial.stream.ios
218226
UISupportedInterfaceOrientations:

0 commit comments

Comments
 (0)