Hi, we're trying to reduce the Xcode Cloud usage in our project, and in the logs of the "Test" action I can see that there's a "Save artifacts" step that takes quite a while (more than 10 minutes), and it looks like a "fixed cost" that's impossible to reduce by improving the build and the tests themselves.
In the "Artifacts" section of the Xcode Cloud build I can see that there a "Test Products" zip that's almost 5GB, which seems to be the cause of this slowness (I could verify that in other projects the same zip is smaller, and the "Save artifacts" step is much faster, as a result), but this seems a waste: we never need to download that "Test Products" zip, and its upload takes literally 10 fixed minutes from every single build with a "Test" action.
Is it possible to either stop uploading the "Test Products" zip? Or maybe to skip the "Save artifacts" step entirely?
Thanks
Xcode Cloud
RSS for tagAutomate workflows to test, analyze, build, and distribute your app, and integrate them with other developer tools, such as TestFlight and App Store Connect.
Post
Replies
Boosts
Views
Activity
I posted earlier about my problems seing my own build in the Testflight app, despite it being in "Testing" status for the internal tester group. I added more users and they are all receiving invitations and testing the build normally.
I am the only one who doesn't see the build in my Testflight app in my iPhone. I tried sending myself a new invitation, I removed and re-added myself, nothing works.
With other apps, no problems at all. I see my own builds and am able to install and run them as a member of the internal test group.
The same app built with XCode installs and works normally on my phone. What is the problem with Testflight distribution ?
All the steps within our Archive action complete as expected with green checkmarks (including all Prepare Build for App Store Connect steps), but the Archive action itself never completes. It keeps spinning and never passes it off to the post-action to release the build to TestFlight.
The system status page says Xcode Cloud had issue for multiple days this week, but they resolved 14 hours ago. I've re-run our build several times today and keep running into this problem. Is this something server-side?
I have been trying for a couple of days now to get Xcode cloud running.
But after some struggle with cocoapods the ci_post_clone.sh is working.
But now it fails at the archive section with no real explenation what went worng.
I have my profisioning profile connected to the right bundle-id.
Run command: 'xcodebuild archive -workspace /Volumes/workspace/repository/wevize/ios/Runner.xcworkspace -scheme Runner -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/workspace/DerivedData -resultBundleVersion 3 -resultBundlePath /Volumes/workspace/resultbundle.xcresult -resultStreamPath /Volumes/workspace/tmp/resultBundleStream34ff2ba9-cd2a-4e3b-befb-3243d688c7f5.json -IDEPostProgressNotifications=YES CODE_SIGN_IDENTITY=- AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGN_STYLE=Automatic DEVELOPMENT_TEAM=KTJT289M8K COMPILER_INDEX_STORE_ENABLE=NO -hideShellScriptEnvironment'
Xcode Cloud always exports archive using ad-hoc, development and app-store profiles. This uses up 5-6 more minutes always for my app. How to disable and allow export only in single distribution profile
I have a repo with hundreds of tags (we make a tag for every build and for every version, and it has a browser extension project pulled in as a subtree where all those commits can and do have version tags of their own). I am trying to create a simple tag-triggered workflow to release my app to the external users and the app store, so I want to trigger it every time I update and push an e.g. latest tag.
I created a workflow and setup the tag trigger accordingly, but, in the workflow config, it says it can't find the tag. I saved the workflow anyway, however, when I try to manually trigger the workflow and browse the Tags tab, I only see a subset of the repo's tags. I suspect Xcode Cloud might be limiting the number of tags it pulls and consequently shows when searching tags.
I think this is a bug/shortcoming of Xcode Cloud. Is there any way to work around this?
Xcode cloud builds were failing with the following error. It wasn't the problem before yesterday morning 26.Apr.2023 before 1:00 PM.
Please let me know what the issue is or if there is anything I can do to solve this.
Additional information:
The app is a react-native app.
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fatal: expected flush after ref listing
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[in /Volumes/workspace/repository/ios]
[!] Invalid Podfile file: cannot load such file -- /Volumes/workspace/repository/node_modules/react-native/scripts/react_native_pods.
from /Volumes/workspace/repository/ios/Podfile:1
-------------------------------------------
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
-------------------------------------------
Error
Command exited with non-zero exit-code: 1
I am getting an error on Xcode Build
The bundle version must be higher than the previously uploaded version.
I am at a loss. My bundle version is set at 20. The latest version uploaded has bundle version 18. The project is clearly higher than the most recently uploaded version.
What am I doing wrong?
I tried setting the Bundle version in both the General tab for the target, in the Build Settings and in the Info.plist. Which takes precedence?
Fastlane reports the current build version as 18 on TestFlight.
Confusingly, throughout Xcode, Bundle Version is variously referred to as both 'Bundle Version' and 'Current Project Version', and is 'Build' on App Store Connect.
App Store Version is variously referred to as 'Version', 'Bundle version string (Short)', and 'Marketing Version'.
Hi, In our current CI/CD environment, I can easily upload an IPA to Firebase so that we can distribute test versions of the app.
Now we are trying to move the CI/CD to Apple Xcode Cloud and I am trying to figure out how to upload my app to the Firebase Distribution system.
Please advise ;-)
Kind regards,
Wouter
Recently, I have trouble with my Xcode Cloud builds, where they seemingly complete, but the very final step does not happen.
I am building from the same codebase for both macOS and iOS (I have two “Archive” steps in my workflow, one for iOS and one for macOS). The iOS one usually completes fast without problems. The macOS log ending looks like this, and remains stuck forever, with the macOS build in the “spinning progress” state and never completing.
Is there something I can do on my end to make this work better? I would not want to go back to manual builds, Xcode Cloud is convenient and was working well for a while, but this is really annoying lately.
Hello,
Has anyone used Sentry with Xcode Cloud? How are you uploading dSYM files? One way is fastlane but Xcode Cloud doesn't come with Fastlane preinstalled, the other is sentry-cli but the same issue, it's not preinstalled.
It seems I used the wrong Bitbucket account when setting up my project with Xcode Cloud.
Now when I proceed with the "Grant Access" step, all I get is this error:
Bitbucket Cloud installation was incomplete
Repository was not found. Either the repository does not exist or you do not have permission to access it.
Is there any way to reset this and start over?
When trying to build other branch than develop it says that my branch may only exist locally. All branches are published in the remote, so i don't know why is this happening...
here is a screenshot of what i'm getting
same goes for the scheme which is marked as shared and pushed to the repo...
I'm trying to build my project with Xcode Cloud but run into this problem:
Cannot update Package.resolved because automatic resolution is disabled
The log shows this line prior to that:
Set default com.apple.dt.Xcode IDEDisableAutomaticPackageResolution to true
Any idea how to fix this?