Continuous Integration

RSS for tag

Continuous integration is the process of automating and streamlining the building, analyzing, testing, and archiving of your apps, in order to ensure that they are always in a releasable state.

Posts under Continuous Integration tag

132 Posts

Post

Replies

Boosts

Views

Activity

Codesign fails when started from SSH, succeed in Mac Desktop
Hi, I'm using fastlane to build/sign my project and it works perfectly when I ran it in my Mac. I'm trying to setup some Jenkins CI/CD server in AWS EC2, and I started to have a problem with code sign. I realized that it's not something related to AWS, because if I ssh to my own Mac using "ssh localhost" it's possible to simulate the problem. To isolate the problem, I'm using this very simple project with fastlane:  https://github.com/rlechetaudemy/helloios This issue is also not related with match, because if you setup fastlane with manual signing, it returns the same error. I also tried to use the 'setup_ci' action before build/sign but without success. setup_ci( force: true ) These are the logs: [13:11:36]: ▸ Copying GoogleService-Info.plist [13:11:37]: ▸ Processing Info.plist [13:11:38]: ▸ ** ARCHIVE FAILED ** [13:11:38]: ▸ The following build commands failed: [13:11:38]: ▸ CodeSign /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app (in target 'HelloIOS (iOS)' from project 'HelloIOS') [13:11:38]: ▸ (1 failure) ▸ Processing Pods-HelloIOS (iOS)-Info.plist ▸ Processing Info.plist ** ARCHIVE FAILED ** The following build commands failed: CodeSign /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app (in target 'HelloIOS (iOS)' from project 'HelloIOS') (1 failure) [13:11:38]: Exit status: 65 +---------------+-------------------------+ |      Build environment      | +---------------+-------------------------+ | xcode_path  | /Applications/Xcode.app | | gym_version | 2.205.2        | | export_method | ad-hoc         | | sdk     | iPhoneOS15.2.sdk    | +---------------+-------------------------+ [13:11:38]: ▸             (ef0fada7-88c4-413f-a9e5-7d875f07e324) [13:11:38]: ▸   [13:11:38]: ▸  /usr/bin/codesign --force --sign CB4DB01189506EF6F172982414A36378AE18F48F --entitlements /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/IntermediateBuildFilesPath/HelloIOS.build/AdHoc-iphoneos/HelloIOS\ (iOS).build/HelloIOS.app.xcent --generate-entitlement-der /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app [13:11:38]: ▸ /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app: errSecInternalComponent [13:11:38]: ▸ Command CodeSign failed with a nonzero exit code [13:11:38]: [13:11:38]: ⬆️ Check out the few lines of raw xcodebuild output above for potential hints on how to solve this error [13:11:38]: 📋 For the complete and more detailed error log, check the full log at: [13:11:38]: 📋 /Users/user/Library/Logs/gym/HelloIOS-HelloIOS (iOS).log [13:11:38]: [13:11:38]: Looks like fastlane ran into a build/archive error with your project [13:11:38]: It's hard to tell what's causing the error, so we wrote some guides on how [13:11:38]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/ [13:11:38]: Before submitting an issue on GitHub, please follow the guide above and make [13:11:38]: sure your project is set up correctly. [13:11:38]: fastlane uses xcodebuild commands to generate your binary, you can see the [13:11:38]: the full commands printed out in yellow in the above log. [13:11:38]: Make sure to inspect the output above, as usually you'll find more error information there [13:11:38]: +---------------------------+----------------------------------------------------------+ |                  Lane Context                  | +---------------------------+----------------------------------------------------------+ | DEFAULT_PLATFORM     | ios                           | | PLATFORM_NAME      | ios                           | | LANE_NAME        | ios firebase                      | | KEYCHAIN_PATH      | ~/Library/Keychains/fastlane_tmp_keychain        | | ORIGINAL_DEFAULT_KEYCHAIN | "/Users/user/Library/Keychains/fastlane_tmp_keychain-db" | +---------------------------+----------------------------------------------------------+ [13:11:38]: Error building the application - see the log above +------+-------------------------------+-------------+ |         fastlane summary         | +------+-------------------------------+-------------+ | Step | Action            | Time (in s) | +------+-------------------------------+-------------+ | 1  | Verifying fastlane version  | 0     | | 2  | default_platform       | 0     | | 3  | Switch to ios buildAdHoc lane | 0     | | 4  | setup_ci           | 0     | | 5  | cocoapods          | 4     | | 💥 | build_app          | 36     | +------+-------------------------------+-------------+ code-block Is anything related with this issue?  https://developer.apple.com/forums/thread/69464 We need a better solution or recomendation from Apple, since it looks this problem happens with more people also.
0
0
1.7k
May ’22
is xcode cloud failing?
When i start my workflows, after few minutes i can see some messages like them: The Archive - iOS action could not complete due to an error. Something went wrong and the Xcode Cloud team has been notified to investigate. The error may not occur on rebuild. or The Test - iOS action could not complete due to an error. Something went wrong and the Xcode Cloud team has been notified to investigate. The error may not occur on rebuild. or The Analyze - iOS action could not complete due to an error. Something went wrong and the Xcode Cloud team has been notified to investigate. The error may not occur on rebuild. Any idea? Thanks!
11
0
4.9k
Apr ’22
Building apps is being handled all the time
2022-03-24 11:57am Building the app has been handled so far. I used Xcode 13.3.It's been going on for three days. the archive is successful、 validate success、upload success. but testflight Has been working on. I even added a version number to upload using Transport, but still like this. I haven't received any unusual emails,Have you encountered the same situation
0
0
506
Mar ’22
Xcode-server generated installable product not installing on iOS 14+ Devices
I'm using the Xcode server which shipped with Xcode 12.4. I'm setting Xcode-server's bot to generate an ad-hoc build from my source code. That IPA file is working perfectly on iOS 13. But when I try to install on iOS14+ device it is giving me error like "Unable to install app". I read somewhere that from iOS14 TLS 1.2 is mandatory, which is not in Xcode 12.4's Xcode server or even Xcode 13's server. Can we manually update SSL for the Xcode server which is running locally? What will be the steps?
2
0
860
Mar ’22
How can I run XCUITest on real devices with different versions of iOS?
I want to test my app on Firebase Labs, which has different devices running different versions of iOS. In order to do this I need to 'Build for Testing', targeting 'Any iOS Device (arm 64)'. This ends up creating an AppNameUITest-Runner.app to drive the UITest on the device. The problem is the driver app is built with the latest deployment target, while the test devices at Firebase Labs are all on older versions of iOS. So when I upload my package, the iOS 14.7 devices can't run the 15.2 driver app, and the tests fail. Is the any way I can fix or work around this?
0
0
1k
Mar ’22
Gitea Xcode support for private git repos
Hi: I would like to know if there is any way or plan to support Gitea for Xcode 10 as it is done for Bitbucket and GitLab. Gitea is a lightweight git solution in go, very usefull for smaill teams to scale and also for CI and SC. Using git command works but things like sync has to be done manually, and CI will have issues also. I have tried GitLab self hosting with self hosted Gitea but it does not work. Any idea ? Thanks: Jesús
4
9
2.6k
Feb ’22
Xcode Cloud source control integration
Will Xcode Cloud report the build status' back to the source control provider? Will it be possible to get any other build results to e.g. Github? Having everything integrated into Xcode is great, but it's often beneficial to have the status or other information outside. E.g. if the source control is set up in a way that it allows merging the pull requests only after there is a passing build or when the code coverage passes certain threshold.
1
0
2.3k
Jan ’22
Xcode Cloud to GitLab - Connection Error -"Your hostname must be publicly resolvable."
We are trying to implement Xcode Cloud for CI. We have a private repository in GitLab that can be accessed via VPN. We are experiencing the following errors while connecting Xcode Cloud to GitLab. We followed the steps provided by Apple. Connection Error to https://git------.com. Your hostname must be publicly resolvable. How can I resolve this issue? Thanks
1
0
1.4k
Dec ’21
Does Xcode Cloud support enterprise source control?
The documentation notes that Xcode Cloud supports self hosted source control options and how to connect to one. However in an enterprise environment these are often accessible only through the internal network. Is that something Xcode Cloud supports or is it only for source controls accessible publicly? If it's supported is there documentation how to configure that?
4
0
2.8k
Dec ’21
Cmake and on demand resources
What would the intended workflow be for setting up ODR tags in a project that is generated by cmake? More generally, what are the strategies of automation and integration when using ODR? All I can find in the documetation is that tags are meant to be created and assigned in Xcode, that is by hand. It is hard to believe a feature like this would be designed and rolled out without some proper ways to utilize it.
0
0
639
Nov ’21
app version format
https://developer.apple.com/library/archive/technotes/tn2420/_index.html I found this apple doc for the versioning and that the version number can x.y.z, but I saw some apps in App Store with 4 part versions also. Can you please confirm that the 4 part version is not supported or if there is a recent update documentation for it. And also 18 char limit is including the (.) periods, and regardless of individual part but limit is on total and major.minor.patch can be any length as long total length is upto 18 chars.
1
0
2.7k
Nov ’21
Test target: Timed out waiting for simulator to boot
We're getting 10 errors every time a bot is run. Each error looks like this:Error: Uncategorized: Test target Tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe this error represents a bug, please attach the log file at /Library/Developer/XcodeServer/Integrations/Integration-863d69d5efb05c26c9490d1c10056164/Session-2015-07-06_16:01:08-hXQWog.log)The log file referred to doesn't exist. The "/Library/Developer/XcodeServer/Integrations/" directory exists but it only includes a directory names Caches.Build and analyze are successful, but the tests do not run. The tests run successfully from my development machine. This problem seems to come and go.Sometimes we create a new bot for a branch and the errors don't initially occur, but start occurring later. On other bots, the errors initially occur, but stop occurring after several of integrations. Our integration usually takes 3 minutes. When the 10 errors occur, the integration takes 21 minutes.We're using OS X 10.10.4 (14E46), OS X Server 4.1.3 (14S1127), and Xcode 6.4 (6E35b), but have seen these errors on and off for months.Any ideas on how to resolve this?
8
0
6.6k
Oct ’21
Can one do automated testing with a System Extension? (And if so, how?)
In particular, network extensions, which need to be installed/activated by the containing app. I'm not particularly great at GUI stuff, so maybe there's a way one can simulate/automate that part? I'm assuming CI testing, presumably done with VMs being created on the fly to build & test. (I admit a historical failure on unit testing for my code, but most of that has historically been kernel code. I'm trying to do better!) I again apologise for my obvious ignorance at some of this.
2
0
684
Oct ’21
Code Review mode for multiple repo project
I have an Xcode 13 project (generated with CMake) with multiple dependencies, each one pulling a different repo. I'd like to use the new Code review mode, however I can't seem to switch which repo the project is looking at. Additionally, I can use the new source control dropdown to checkout different branches however the commit hash that is displayed is from the first alphabetically ordered dependency. Is it possible to scope these features to a specific repo?
0
0
482
Oct ’21
Codesign fails when started from SSH, succeed in Mac Desktop
Hi, I'm using fastlane to build/sign my project and it works perfectly when I ran it in my Mac. I'm trying to setup some Jenkins CI/CD server in AWS EC2, and I started to have a problem with code sign. I realized that it's not something related to AWS, because if I ssh to my own Mac using "ssh localhost" it's possible to simulate the problem. To isolate the problem, I'm using this very simple project with fastlane:  https://github.com/rlechetaudemy/helloios This issue is also not related with match, because if you setup fastlane with manual signing, it returns the same error. I also tried to use the 'setup_ci' action before build/sign but without success. setup_ci( force: true ) These are the logs: [13:11:36]: ▸ Copying GoogleService-Info.plist [13:11:37]: ▸ Processing Info.plist [13:11:38]: ▸ ** ARCHIVE FAILED ** [13:11:38]: ▸ The following build commands failed: [13:11:38]: ▸ CodeSign /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app (in target 'HelloIOS (iOS)' from project 'HelloIOS') [13:11:38]: ▸ (1 failure) ▸ Processing Pods-HelloIOS (iOS)-Info.plist ▸ Processing Info.plist ** ARCHIVE FAILED ** The following build commands failed: CodeSign /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app (in target 'HelloIOS (iOS)' from project 'HelloIOS') (1 failure) [13:11:38]: Exit status: 65 +---------------+-------------------------+ |      Build environment      | +---------------+-------------------------+ | xcode_path  | /Applications/Xcode.app | | gym_version | 2.205.2        | | export_method | ad-hoc         | | sdk     | iPhoneOS15.2.sdk    | +---------------+-------------------------+ [13:11:38]: ▸             (ef0fada7-88c4-413f-a9e5-7d875f07e324) [13:11:38]: ▸   [13:11:38]: ▸  /usr/bin/codesign --force --sign CB4DB01189506EF6F172982414A36378AE18F48F --entitlements /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/IntermediateBuildFilesPath/HelloIOS.build/AdHoc-iphoneos/HelloIOS\ (iOS).build/HelloIOS.app.xcent --generate-entitlement-der /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS\ (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app [13:11:38]: ▸ /Users/user/Library/Developer/Xcode/DerivedData/HelloIOS-eibmqfokwytdeddxnnluvsuzbtlp/Build/Intermediates.noindex/ArchiveIntermediates/HelloIOS (iOS)/InstallationBuildProductsLocation/Applications/HelloIOS.app: errSecInternalComponent [13:11:38]: ▸ Command CodeSign failed with a nonzero exit code [13:11:38]: [13:11:38]: ⬆️ Check out the few lines of raw xcodebuild output above for potential hints on how to solve this error [13:11:38]: 📋 For the complete and more detailed error log, check the full log at: [13:11:38]: 📋 /Users/user/Library/Logs/gym/HelloIOS-HelloIOS (iOS).log [13:11:38]: [13:11:38]: Looks like fastlane ran into a build/archive error with your project [13:11:38]: It's hard to tell what's causing the error, so we wrote some guides on how [13:11:38]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/ [13:11:38]: Before submitting an issue on GitHub, please follow the guide above and make [13:11:38]: sure your project is set up correctly. [13:11:38]: fastlane uses xcodebuild commands to generate your binary, you can see the [13:11:38]: the full commands printed out in yellow in the above log. [13:11:38]: Make sure to inspect the output above, as usually you'll find more error information there [13:11:38]: +---------------------------+----------------------------------------------------------+ |                  Lane Context                  | +---------------------------+----------------------------------------------------------+ | DEFAULT_PLATFORM     | ios                           | | PLATFORM_NAME      | ios                           | | LANE_NAME        | ios firebase                      | | KEYCHAIN_PATH      | ~/Library/Keychains/fastlane_tmp_keychain        | | ORIGINAL_DEFAULT_KEYCHAIN | "/Users/user/Library/Keychains/fastlane_tmp_keychain-db" | +---------------------------+----------------------------------------------------------+ [13:11:38]: Error building the application - see the log above +------+-------------------------------+-------------+ |         fastlane summary         | +------+-------------------------------+-------------+ | Step | Action            | Time (in s) | +------+-------------------------------+-------------+ | 1  | Verifying fastlane version  | 0     | | 2  | default_platform       | 0     | | 3  | Switch to ios buildAdHoc lane | 0     | | 4  | setup_ci           | 0     | | 5  | cocoapods          | 4     | | 💥 | build_app          | 36     | +------+-------------------------------+-------------+ code-block Is anything related with this issue?  https://developer.apple.com/forums/thread/69464 We need a better solution or recomendation from Apple, since it looks this problem happens with more people also.
Replies
0
Boosts
0
Views
1.7k
Activity
May ’22
is xcode cloud failing?
When i start my workflows, after few minutes i can see some messages like them: The Archive - iOS action could not complete due to an error. Something went wrong and the Xcode Cloud team has been notified to investigate. The error may not occur on rebuild. or The Test - iOS action could not complete due to an error. Something went wrong and the Xcode Cloud team has been notified to investigate. The error may not occur on rebuild. or The Analyze - iOS action could not complete due to an error. Something went wrong and the Xcode Cloud team has been notified to investigate. The error may not occur on rebuild. Any idea? Thanks!
Replies
11
Boosts
0
Views
4.9k
Activity
Apr ’22
Monterey Update Jan 19, 2022 - Major Bluetooth issues and Sytem Preference issues
Hi Update complete today and Magic Mouse is no longer scrolling Accessibility, Sound, Keyboard in Preferences can't be accessed iPods Pro can't be connected as well as any other device for audio Photos not synching Keyboard audio regulation switched off, unless on a wire Really? Yes, nothing changed with 12.1
Replies
2
Boosts
0
Views
1.3k
Activity
Apr ’22
Building apps is being handled all the time
2022-03-24 11:57am Building the app has been handled so far. I used Xcode 13.3.It's been going on for three days. the archive is successful、 validate success、upload success. but testflight Has been working on. I even added a version number to upload using Transport, but still like this. I haven't received any unusual emails,Have you encountered the same situation
Replies
0
Boosts
0
Views
506
Activity
Mar ’22
Xcode-server generated installable product not installing on iOS 14+ Devices
I'm using the Xcode server which shipped with Xcode 12.4. I'm setting Xcode-server's bot to generate an ad-hoc build from my source code. That IPA file is working perfectly on iOS 13. But when I try to install on iOS14+ device it is giving me error like "Unable to install app". I read somewhere that from iOS14 TLS 1.2 is mandatory, which is not in Xcode 12.4's Xcode server or even Xcode 13's server. Can we manually update SSL for the Xcode server which is running locally? What will be the steps?
Replies
2
Boosts
0
Views
860
Activity
Mar ’22
How can I run XCUITest on real devices with different versions of iOS?
I want to test my app on Firebase Labs, which has different devices running different versions of iOS. In order to do this I need to 'Build for Testing', targeting 'Any iOS Device (arm 64)'. This ends up creating an AppNameUITest-Runner.app to drive the UITest on the device. The problem is the driver app is built with the latest deployment target, while the test devices at Firebase Labs are all on older versions of iOS. So when I upload my package, the iOS 14.7 devices can't run the 15.2 driver app, and the tests fail. Is the any way I can fix or work around this?
Replies
0
Boosts
0
Views
1k
Activity
Mar ’22
Gitea Xcode support for private git repos
Hi: I would like to know if there is any way or plan to support Gitea for Xcode 10 as it is done for Bitbucket and GitLab. Gitea is a lightweight git solution in go, very usefull for smaill teams to scale and also for CI and SC. Using git command works but things like sync has to be done manually, and CI will have issues also. I have tried GitLab self hosting with self hosted Gitea but it does not work. Any idea ? Thanks: Jesús
Replies
4
Boosts
9
Views
2.6k
Activity
Feb ’22
Salesforce integration with app store
I want to integrate my salesforce org with app store by which all of the reviews can be captured within salesforce and i also want to reply for the same. So, I need APIs for this integration. It would be soo helpful if you could help me. Thanks
Replies
1
Boosts
0
Views
943
Activity
Jan ’22
Xcode Cloud source control integration
Will Xcode Cloud report the build status' back to the source control provider? Will it be possible to get any other build results to e.g. Github? Having everything integrated into Xcode is great, but it's often beneficial to have the status or other information outside. E.g. if the source control is set up in a way that it allows merging the pull requests only after there is a passing build or when the code coverage passes certain threshold.
Replies
1
Boosts
0
Views
2.3k
Activity
Jan ’22
Xcode Cloud to GitLab - Connection Error -"Your hostname must be publicly resolvable."
We are trying to implement Xcode Cloud for CI. We have a private repository in GitLab that can be accessed via VPN. We are experiencing the following errors while connecting Xcode Cloud to GitLab. We followed the steps provided by Apple. Connection Error to https://git------.com. Your hostname must be publicly resolvable. How can I resolve this issue? Thanks
Replies
1
Boosts
0
Views
1.4k
Activity
Dec ’21
Does Xcode Cloud support enterprise source control?
The documentation notes that Xcode Cloud supports self hosted source control options and how to connect to one. However in an enterprise environment these are often accessible only through the internal network. Is that something Xcode Cloud supports or is it only for source controls accessible publicly? If it's supported is there documentation how to configure that?
Replies
4
Boosts
0
Views
2.8k
Activity
Dec ’21
Cmake and on demand resources
What would the intended workflow be for setting up ODR tags in a project that is generated by cmake? More generally, what are the strategies of automation and integration when using ODR? All I can find in the documetation is that tags are meant to be created and assigned in Xcode, that is by hand. It is hard to believe a feature like this would be designed and rolled out without some proper ways to utilize it.
Replies
0
Boosts
0
Views
639
Activity
Nov ’21
app version format
https://developer.apple.com/library/archive/technotes/tn2420/_index.html I found this apple doc for the versioning and that the version number can x.y.z, but I saw some apps in App Store with 4 part versions also. Can you please confirm that the 4 part version is not supported or if there is a recent update documentation for it. And also 18 char limit is including the (.) periods, and regardless of individual part but limit is on total and major.minor.patch can be any length as long total length is upto 18 chars.
Replies
1
Boosts
0
Views
2.7k
Activity
Nov ’21
Why does x-code not recognize that i have a developer account!!!
Yes I already went to the preferences and signed in with my developer account. But I cannot click the button upload to app store shown in the first picture. I have a developer account and I am signed in with it, I AM VERY frustrated please help!!! Thank You
Replies
1
Boosts
0
Views
592
Activity
Nov ’21
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
UrlSession Timeout
Hii Everyone I have set timeoutInterval = 120 but my application got timeout earlier than this timeout anyone know the Reason for this ???
Replies
0
Boosts
0
Views
734
Activity
Nov ’21
Cannot create any bot in Xcode 13
I can’t seem to create any bot with Xcode 13 on macOS Monterey. The error message was “The server is currently unable to build for any platforms...” The app I was trying to build was the standard macOS SwiftUI application, straight from the template code. What seems to be the problem here?
Replies
1
Boosts
0
Views
1.2k
Activity
Oct ’21
Test target: Timed out waiting for simulator to boot
We're getting 10 errors every time a bot is run. Each error looks like this:Error: Uncategorized: Test target Tests encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe this error represents a bug, please attach the log file at /Library/Developer/XcodeServer/Integrations/Integration-863d69d5efb05c26c9490d1c10056164/Session-2015-07-06_16:01:08-hXQWog.log)The log file referred to doesn't exist. The "/Library/Developer/XcodeServer/Integrations/" directory exists but it only includes a directory names Caches.Build and analyze are successful, but the tests do not run. The tests run successfully from my development machine. This problem seems to come and go.Sometimes we create a new bot for a branch and the errors don't initially occur, but start occurring later. On other bots, the errors initially occur, but stop occurring after several of integrations. Our integration usually takes 3 minutes. When the 10 errors occur, the integration takes 21 minutes.We're using OS X 10.10.4 (14E46), OS X Server 4.1.3 (14S1127), and Xcode 6.4 (6E35b), but have seen these errors on and off for months.Any ideas on how to resolve this?
Replies
8
Boosts
0
Views
6.6k
Activity
Oct ’21
Can one do automated testing with a System Extension? (And if so, how?)
In particular, network extensions, which need to be installed/activated by the containing app. I'm not particularly great at GUI stuff, so maybe there's a way one can simulate/automate that part? I'm assuming CI testing, presumably done with VMs being created on the fly to build & test. (I admit a historical failure on unit testing for my code, but most of that has historically been kernel code. I'm trying to do better!) I again apologise for my obvious ignorance at some of this.
Replies
2
Boosts
0
Views
684
Activity
Oct ’21
Code Review mode for multiple repo project
I have an Xcode 13 project (generated with CMake) with multiple dependencies, each one pulling a different repo. I'd like to use the new Code review mode, however I can't seem to switch which repo the project is looking at. Additionally, I can use the new source control dropdown to checkout different branches however the commit hash that is displayed is from the first alphabetically ordered dependency. Is it possible to scope these features to a specific repo?
Replies
0
Boosts
0
Views
482
Activity
Oct ’21