Repository navigation
docs: Set up the app before the stores and add xcodeVersion to scloud.yaml #929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -69,6 +69,7 @@ project: | |||||
| app: | ||||||
| dir: "../my_app_flutter" | ||||||
| flutterSdk: "3.50.0" | ||||||
| xcodeVersion: "26.6" | ||||||
| identifiers: | ||||||
| ios: "com.yourcompany.yourapp" | ||||||
| android: "com.yourcompany.yourapp" | ||||||
|
|
@@ -99,6 +100,20 @@ project: | |||||
| flutterSdk: "3.50.0" | ||||||
| ``` | ||||||
|
|
||||||
| #### xcodeVersion | ||||||
|
|
||||||
| **Type:** string. **Optional.** | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: The CLI also accepts a number here (
Suggested change
|
||||||
|
|
||||||
| The Xcode version to build your iOS app with, such as `26.6`. When unset, iOS builds use the Xcode version that Serverpod Cloud selects. Android builds ignore this setting. Put the version in quotes: without them, YAML reads a version such as `26.10` as the number `26.1`. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggestion: The style guide's section 8 (updated in #931) keeps colons for bold lead-ins and for sentences that introduce a list, table, or code block. This one joins two clauses, so "because" fits better:
Suggested change
|
||||||
|
|
||||||
| If the value isn't a version in the form `major.minor` or `major.minor.patch`, `serverpod cloud app publish` stops with an error. If the build machines don't have that Xcode version, the iOS build fails. | ||||||
|
|
||||||
| ```yaml title="scloud.yaml" | ||||||
| project: | ||||||
| app: | ||||||
| xcodeVersion: "26.6" | ||||||
| ``` | ||||||
|
|
||||||
| #### identifiers | ||||||
|
|
||||||
| **Type:** map with the optional string keys `ios` and `android`. **Optional.** | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The guide doesn't continue on its own. The console checks every 5 seconds whether
app setuphas saved the identifier, then shows "Connected bundle ID …" (or package name) and enables a Continue button that the reader selects (setup_sheet.dartandapp_setup_blocker.dart, from serverpod/serverpod_cloud#3229).With
app setupnow first on the page, a reader who follows it in order never sees that waiting screen, so it fits in a note after the steps: