Posts

Post not yet marked as solved
1 Replies
1.3k Views
When running a UI test the other day, an assertion failure terminated the test early when an expected button did not come onto screen. In looking at the screenshots, it appears the hosting app died during the test, leaving the UI test runner staring at the Springboard, rather than the main app, during accessibility element evaluation.In looking through the log files (Xcode Server > xcbot_name > Logs > Download Logs...) I see logs about the test runner and its attempts to find an on-screen button. But I see nothing about the main hosting app itself and why it crashed.Are these crash logs kept only in the Simulator?(I really hope not, as the nature of our project requires constant Simulator resets to avoid app cache conflicts between branch integrations)
Posted Last updated
.
Post not yet marked as solved
10 Replies
2.7k Views
This has happened more than once.This time occurred relatively soon after an upgrade of Xcode from 8.3 to 8.3.2.However, not immediately after because we saw no problems with the bots for the remainder of that day.We run Server 5.3.The problem:Bots keep failing due to "The devices configured for testing were not found." though those bots were running happily before.We have dozens of bots. "Edit bot..." on any bot and check "Devices"We only run CI tests on two simulators, so I want to set to run on those and exclude all others.Select "Specific iOS Devices" and I'm told "No devices found" though a check under Window > Devices shows a huge list of available simulators.Opening Simulator also reveals the list of devices.In Xcode under Product > Destination > iOS Simulators, I see everything I expect.Only the bots cannot connect to the simulators, which defeats the utility of having bots.Following various advice found around the internet (restarting Xcode, xcrun simctl erase all, rebooting the system entirely, deleting userdata from the project file) have all failed to let my bots see the simulators. I haven't tried reinstalling Xcode, but we just upgraded to a new version Wednesday, and it has been working. It is a sudden occurance and has happened twice now in three months.
Posted Last updated
.
Post not yet marked as solved
0 Replies
543 Views
I occasionally run out of hard drive space on my servers, depending on how many Xcode bots are being used at a time by the development team. Using GrandPerspective, I see an enormous file that I'd like to get rid of. xcsd.output.log dwarfs all other files in the system, at 67.4GB. It's a log file, so presumably I can just throw it away and it will regenerate fresh. However, keeping *some* history would be nice. Is there a strategy for keeping this file under control, rather than letting it just grow infinitely? Or do I just have to remember to clean it out manually from time to time?
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.2k Views
I have a very nice build server running on a Mac Mini which creates new integration bots to integrate against new branches our team pushes to github. This systems relies heavily on the availability of the Xcode Server API, specifically the ability to overwriteBlueprint on a bot. (basically there are raw template bots on the server, and the script duplicates one, receives a JSON definition for the bot, modifies that JSON, and writes back to update the bot)I'm quite distressed to see that all documentation regarding this API is gone. However, I cannot find information that explicitly says the API is deprecated. Has there been any announcement about the status of this API? Watching Xcode Server via Charles shows that the API is being used and has some new (?) api calls, but there is no information about this that I can find.If this API is removed, my whole server is dead in the water.I can work toward a replacement solution, but with no information on the matter, I don't know how long I have or if I'm actually safe.
Posted Last updated
.
Post not yet marked as solved
1 Replies
471 Views
We have an Xcode forum grouping. We have a Beta forum grouping.Neither of those have an "Xcode Beta" forum.Add "Beta 11" to the Xcode subsection, or add "Xcode Beta" to the Beta subsection, please.
Posted Last updated
.
Post not yet marked as solved
1 Replies
2.2k Views
Now that iPadOS has been split off into its own unique entity, how does this affect xcodebuild?Until now, I have been using "-destination generic/platform=com.apple.platform.iphoneos" to make my .xcarchives.In looking through Xcode.app/Contents/Developer/Platforms I see explict references to tvOS, macOS, watchOS and iPhoneOS.iPadOS is not referenced at all. So... do we just keep using "iphoneos" to build for both iPhone and iPad?It *seems* to be the case, but just wanted to see if someone knows something I'm overlooking or didn't hear about.
Posted Last updated
.
Post not yet marked as solved
6 Replies
1.6k Views
I have two Mac Minis: one running Xcode Server 10 (production) and one running Xcode Server 11 beta (development & testing)These two machines share a developer account only used for server-related things.Until this week, everything was moving smoothly on my Xcode 11b3 server, then I started having UI test failures.The tests don't even start, and the error seems to be related to Code Signing.Looking at my integration bot, under Signing > Options > Developer Teams I see, multiple times a day, "Your server has been removed from this team and needs to be added again.""Allow Xcode SErver to manage my certificates and profiles" is checked ON."Automatically register devices in my developer account" is checked ON.Code Signing for the project is set to (and has remained unchanged from) "Automatically manage signing"Last week, on Xcode 11b3, I had no problems. This issue appeared suddenly and *seemed* to coincide with the release of 11b4?But installing 11b4 yesterday did not resolve the issue.Anyone else having similar issues with Xcode 11b3 or 11b4?
Posted Last updated
.
Post not yet marked as solved
0 Replies
1.2k Views
On May 31 I switched my UI test environment as follows:BEFORE:- iPhone SE (Simulator) with iOS 11.4- iPad (6th Gen, Simulator) with iOS 12.2- iPhone 8 (real hardware) with iOS 12.4AFTER:- iPhone SE (Simulator) with iOS 11.4- iPad (6th Gen, Simulator) with iOS 12.2- iPhone Xs (Simulator) with iOS 12.2- iPhone 8 (real hardware) with iOS 12.4This seemed fine for one or two runs, but then the tests completely failed for iPhone SE (Simulator, iOS 11.4).The problem is the same every single time:Device Testing reports, "Unknown Status"Issue reports, "Failed to establish communication with the test runner. The operation couldn't be completed. DTXProxyChannel error 1.Log reports, Closing socket to testmanagerd for Sim iPhone SE. Failed to make test runner session: Channel disconnected.Removed the iPhone Xs (Simulator, iOS 12.2) from the mix and testing worked again (i.e. no change to codebase being tested).Server environment:Xcode 10.2.1 (10E1001)macMini (late 2014), 3Ghz i7, 16GBmacOS Mojave 10.14.5
Posted Last updated
.