Customize your advanced Xcode Cloud workflows

RSS for tag

Discuss the WWDC21 session Customize your advanced Xcode Cloud workflows.

Posts under wwdc21-10269 tag

6 Posts

Post

Replies

Boosts

Views

Activity

Secret Environment Variables with Xcode Cloud
I see from the WWDC video that it's possible to use secrets, like an API_KEY variable, when running Xcode Cloud builds. How are these variables accessed from code? Is it something like this? ProcessInfo.processInfo.environment["API_KEY"] If so, how are we supposed to run the tests locally? Is the idea that every developer creates their own non-shared schemes and adds all secret environment variables to that scheme?
1
0
2.2k
Nov ’23
xcode cloud build performance
Hi, My name is Bin, software engineer at VBreathe in Sydney. We have a mobile app developed in Ionic Angular framework and managed to use xcode cloud to build and deploy the app to TestFlight. It worked well, but the speed is a bit slow, takes around 1 hour to finish the build. After checking the logs, the ci_post_clone.sh script took over 20 minutes to finish, because it installs bunch of tools and node packages, which are necessary to build the app. My question is that is there a way to cache these tools and node packages on xcode cloud, so no need to download & install them in every build? Cheers, Bin
2
0
3.0k
Aug ’23
Xcode Cloud + dynamic library package
I'm trying to archive my app via Xcode Cloud and auto-deploy to TestFlight but it fails during "Prepare Build for App Store Connect" with the following error message: ITMS-90334: Invalid Code Signature Identifier. The identifier "CoreImageExtensions-dynamic-555549444e09e22796a23eadb2704bf219d5c1fa" in your code signature for "CoreImageExtensions-dynamic" must match its Bundle Identifier "CoreImageExtensions-dynamic" CoreImageExtensions-dynamic is a .dynamic library target of a package that we are using. It seems that at some point a UUID is added to the library's identifier, which messes with code signing. When archiving and uploading the app in Xcode directly, everything works just fine. Any idea why this is happening and how I could fix it?
5
0
3.1k
Oct ’22
On Xcode Cloud, my macOS archive fails with NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but found development
On Xcode Cloud, my macOS archive fails with NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but found development It succeeds locally and on my other build systems, it only fails on Xcode Cloud. Any thoughts?
0
0
1k
Aug ’21
Secret Environment Variables with Xcode Cloud
I see from the WWDC video that it's possible to use secrets, like an API_KEY variable, when running Xcode Cloud builds. How are these variables accessed from code? Is it something like this? ProcessInfo.processInfo.environment["API_KEY"] If so, how are we supposed to run the tests locally? Is the idea that every developer creates their own non-shared schemes and adds all secret environment variables to that scheme?
Replies
1
Boosts
0
Views
2.2k
Activity
Nov ’23
xcode cloud build performance
Hi, My name is Bin, software engineer at VBreathe in Sydney. We have a mobile app developed in Ionic Angular framework and managed to use xcode cloud to build and deploy the app to TestFlight. It worked well, but the speed is a bit slow, takes around 1 hour to finish the build. After checking the logs, the ci_post_clone.sh script took over 20 minutes to finish, because it installs bunch of tools and node packages, which are necessary to build the app. My question is that is there a way to cache these tools and node packages on xcode cloud, so no need to download & install them in every build? Cheers, Bin
Replies
2
Boosts
0
Views
3.0k
Activity
Aug ’23
Xcode Cloud + dynamic library package
I'm trying to archive my app via Xcode Cloud and auto-deploy to TestFlight but it fails during "Prepare Build for App Store Connect" with the following error message: ITMS-90334: Invalid Code Signature Identifier. The identifier "CoreImageExtensions-dynamic-555549444e09e22796a23eadb2704bf219d5c1fa" in your code signature for "CoreImageExtensions-dynamic" must match its Bundle Identifier "CoreImageExtensions-dynamic" CoreImageExtensions-dynamic is a .dynamic library target of a package that we are using. It seems that at some point a UUID is added to the library's identifier, which messes with code signing. When archiving and uploading the app in Xcode directly, everything works just fine. Any idea why this is happening and how I could fix it?
Replies
5
Boosts
0
Views
3.1k
Activity
Oct ’22
Is the app build number still customizable?
I've noticed that my app's build number I set in the project doesn't seem to be respected anymore in TF using Xcode Cloud. Is this a new requirement that the build. number follow the CI_BUILD_NUMBER set by Xcode Cloud? Our build process uses the build number to tie into our other build processes (cross-platform). Thanks
Replies
5
Boosts
0
Views
2.5k
Activity
Nov ’21
Wifi Listing in near me
I m developing an App with IOT for that I need to find the wifi's near me(Listing the WIFI near Me ) and I wanna connect the wifi from the App itself I have tried many things it didn't work for me please help me with it Thanks In advance
Replies
0
Boosts
0
Views
564
Activity
Sep ’21
On Xcode Cloud, my macOS archive fails with NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but found development
On Xcode Cloud, my macOS archive fails with NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but found development It succeeds locally and on my other build systems, it only fails on Xcode Cloud. Any thoughts?
Replies
0
Boosts
0
Views
1k
Activity
Aug ’21