Xcode Server

RSS for tag

Xcode Server controls server-side bots that continuously build, analyze, test, and even archive your Xcode projects.

Posts under Xcode Server tag

39 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

[Xcode]Problem in the emulator when uploading files, preview crashed
I have a MacOS M1 device that is updated to the latest version. (Sonoma 14.2) The codes are from the Swift language, and basic ones such as printing sentence and adding an image were written for an experiment, but an error appears Error text (“You cannot use this version of the application (project name) with this version of maCos” I tried all the official and beta versions from the Apple developer website, but to no avail. I exhausted all possible solutions, read and searched a lot, and the error appears itself. Is there a solution for this? The latest version of beta 15.2. In the description it was mentioned that the error was resolved, but this is not true
0
0
448
Dec ’23
Unable to execute app in simulator.
I have a cordova ionic project created in Visual studio and deploying my app to XCode 14.3.1. When I run my project in a simulator I get the below error, Can somebody suggest. 2023-09-06 14:47:27.792859+0530 Test Mobile[76454:473537] [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSAutoresizingMaskLayoutConstraint:0x60000168a710 h=--& v=--& _UIToolbarContentView:0x7fb3500680c0.width == 0 (active)>", ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x6000016887d0 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x7fb350243580]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x7fb350242910 )> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful. 2023-09-06 14:47:27.797415+0530 Test Mobile[76454:473537] [LayoutConstraints] Unable to simultaneously satisfy constraints.
0
0
505
Sep ’23
Bookmark Creation With Security Scope Fails in Xcode Cloud
I have an macOS app, where the user can open/drag a folder so that the contents can be listed and used. The app saves the bookmark data for these folders and restores them the next time the app runs. This works perfect on the development machines and on thousands of users' Macs. Recently I added UI tests which perform a couple if happy path tests and they are helping a lot. One of the tests adds a folder and tries to use an image which is in the folder. The folder is copied from the test bundle to the Desktop at the beginning of the test. This works both locally (on my Mac) and on two CI "servers" (latest macOS, Xcode Server). At the moment I try to migrate to Xcode Cloud. Unit tests run fine (after disabling the Hardened Runtime). However, I do not get the UI tests to succeed. They run and add the folder, however, the URL's bookmark data creation fails. I tried to track the differences during the build and found Xcode Cloud builds always being adhoc-signed. Running the UI tests locally but signing the app (and the tests) adhoc too does not result in the same problem. Problem in short: user selects folder (using NSOpenPanel or Drag'n'Drop) url.bookmarkData() works locally and in Xcode Cloud url.bookmarkData(options: [.withSecurityScope]) only works locally but not in Xcode Cloud This is easily reproducible with a very simple project which I can hand-out if needed. Anybody a hint or idea? Since those folders are essential for the app, not solving this would render Xcode Cloud completely useless for me. Thanks! Daniel
1
0
639
Aug ’23
Is There Any Way for XCodeBuild in Linux Server?
Ask if there is a way to run XCodeBuild in a Linux server environment. Server installation in our IDC is only possible with UNIX and X86 rack equipment, so it is difficult to use a Mac Pro, so we are looking for alternative way. Ask if it is possible to use OSX images in a Docker environment. If we want to use the XCodeBuild function by running MacOS using the OSX Docker image and we intend to report any bugs found at this time to Apple, I wonder if the license is protected under the AppleSecurityBounty program. I wonder if it is possible to purchase a physical macOS device a nd apply the serial of the device to the OSX Docker image to run it.
1
0
1.2k
Jul ’23
xcode cloud ci_scripts failing with unexpected EOF while looking for matching `''
Hello , I am facing following error while building my project on xcode cloud using custom ci scripts . Error: ci_post_clone.sh script is failing with following error. Run command: 'cd /Volumes/workspace/repository/ci_scripts && /Volumes/workspace/repository/ci_scripts/ci_post_clone.sh' /Volumes/Task/ci_plan.env: line 2: unexpected EOF while looking for matching `'' /Volumes/Task/ci_plan.env: line 3: syntax error: unexpected end of file Here is my script : ci_post_clone.sh #!/bin/sh touch availCert-dev.p12 touch availCert-qa.p12 touch availCert-stage.p12 touch availCert-prod.p12 ls -la It also shows a warning message for shebang: The ci_post_clone.sh is executable but exited with 1 exit code. Make sure a valid shebang line is specified if the file is a script and that the interpreter specified in the shebang line is supported on Xcode Cloud. I will be appreciative for response on this issue. Thank You
3
1
2.4k
Dec ’23
Xcode not Loading projects or new Projects
I keep getting this in the terminal. I'm new in the Apple world. My Xcode was working two days ago and out of nowhere today started giving me problems. Please Help. I already unistalled and re-installed the app, updated my MacOs to Ventura 13.4 version. objc[1164]: Class DYShaderAnalyzerNextGPU is implemented in both /Applications/Xcode.app/Contents/SharedFrameworks/MTLToolsShaderProfiler.framework/Versions/A/MTLToolsShaderProfiler (0x141881808) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/GPUTools/PlugIns/GLToolsShaderProfilerMobileSupport.gtplugin/Contents/MacOS/GLToolsShaderProfilerMobileSupport (0x1441ab610). One of the two will be used. Which one is undefined.
2
0
868
Jul ’23
Xcode 14.3 Server Builder keeps crashing
I just installed Xcode 14.3 and now my Xcode Server doesn't work. The Xcode Server Builder keeps opening then crashing. I've tried disabling Xcode Server and even resetting it all using the command "sudo xcrun xcscontrol --reset" but whenever I start it up the Builder keeps crashing. Any other suggestions I can try? Resetting and starting through Xcode 14.2 works fine. Crash log: xcode.crash
5
6
2.8k
Jul ’23