I want to use a ci_script to change the CI_BUILD_NUMBER to a new value.
But in XCODE CLOUD there seems to be no programmatic way to change it?
Post
Replies
Boosts
Views
Activity
Can we please add the ability to set build numbers manually in the API?
We have bitbucket pipelines with build numbers, and we have Android build numbers, and we want all 3 to be the same number.
Kick off IOS/Android with build 1056 -> Send to Xcode Cloud 1056 so the build has this number.
Thanks!
Can we get a new feature? Ability to set the bundle ID via the API for Xcode Cloud?
When we run multiple version - we want to set it to be the same as our Bitbucket bundle number. And we do a ton of builds that are not sent to Xcode Cloud.
So if we could set the next build number (the UX already has this - but need it programmatically).
https://developer.apple.com/documentation/appstoreconnectapi/xcode_cloud_workflows_and_builds
When building in Xcode Cloud it allows setting a schema but is missing Configuration.
We have: Debug, Release.
configuration: "Debug", scheme: "MyApp"
I noticed in scheme it has several types:
Build
Run - Debug
Test - Debug
Profile - Release
Analyze - Debug
Archive - Release
For XCode to work right what should these be set to? This seems to not be documented. In React Native they recommend "Run to be Release". Is it ok to change that for Xcode Cloud?
Info:
Building an app for distribution in the App Store requires using the Release scheme in Xcode. Apps built for Release will automatically disable the in-app Developer menu, which will prevent your users from inadvertently accessing the menu in production. It will also bundle the JavaScript locally, so you can put the app on a device and test whilst not connected to the computer.
To configure your app to be built using the Release scheme, go to Product → Scheme → Edit Scheme. Select the Run tab in the sidebar, then set the Build Configuration dropdown to Release.
It is great that we can set the schema in Xcode Cloud - but what about Variant? Release, Debug, etc?
That would really help us sending builds to browserstack etc since it requires debug IPAs.
We need the ability to get the Xcode Cloud next-build-number and set the next-build-number via API.
Can you please add this or show us how to do this?
The UX does it this way:
: https://appstoreconnect.apple.com/ci/api/teams/TEAM_GUID/products/PROD_GUID/next-build-number