Xcode Server

RSS for tag

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

Xcode Server Documentation

Posts under Xcode Server tag

38 Posts
Sort by:
Post not yet marked as solved
1 Replies
1.8k Views
Hi there, Working on my first game project and I'm really at a loss here. I have Unity Ads installed in my mobile game project and it works perfectly fine in Unity and if I directly upload a build from Xcode to my iPhone. If I try to Archive the build in Xcode and load it for Distribution on the App Store, all of the Ads don't play. I'm not sure how to see if TestFlight is throwing any errors with regards to the Ads, but everything else in the game works perfectly fine including IAPs. I'd greatly appreciate any suggestions, guidance, or just outright instructions. Thanks so much in advance!
Posted
by
Post not yet marked as solved
2 Replies
1k Views
I am trying to archive xcode build in network drive(file share). But we unable to archive xcode build. Note: Same xcode build works fine in mac disk instead of network drive. I am very curious about why we facing issue if we use network drive Xcode version: V13.2 Can someone tell me It is possible to archive xcode build in network drive instead of Mac disk?
Posted
by
Post not yet marked as solved
5 Replies
2.6k Views
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
Posted
by
Post not yet marked as solved
0 Replies
538 Views
Hi All, When I use XCode to upload app to App Store Connect with my company network. I get error. The log shows "Error Domain=ITunesConnectionOperationErrorDomain Code=-19000 "The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later..." I am sure it is my company's firewall problems. because when I change to use my cell-phone's mobile network, I can upload successfully. Can anybody tell me how to set the firewall. My company has already allowed *.app.com, but still not work. Thank you very much.
Posted
by
Post not yet marked as solved
2 Replies
783 Views
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.
Posted
by
Post not yet marked as solved
0 Replies
594 Views
Hi, I've tried multiple ways of solving this issue, including adding scripts, DISABLE Bitcode and non works. ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker." I am currently building a games with Unity, and trying to publish to test flight but no success at the moment. Non of the online solutions works on my side. Appreciate for your inputs, thanks in advance!
Posted
by
Post not yet marked as solved
1 Replies
1.3k Views
Xcode Server is say goodbye at Xcode15 Beta. Hello Apple: As iOS developers and users of Xcode Server, we hope that Apple can retain the functionality of Xcode Server or provide an API for Xcode Server, open source the code, so that Xcode Server can continue to operate and provide better services for iOS developers. Additionally, Apple's recommendation of Xcode Cloud has raised some concerns among us. We are very grateful to Apple for creating this excellent tool that helps us automate building, testing, and deploying iOS applications, improving our development efficiency and quality. However, we are disappointed with the removal of Xcode Server from the latest Xcode 15 version. At the same time, we also have some doubts about Apple's proposed Xcode Cloud. Firstly, we hope that Apple can recognize that Xcode Server is an essential tool for iOS developers. Many development teams rely on Xcode Server for continuous integration and delivery, enabling them to quickly build, test, and deploy new versions of the application. If Xcode Server is removed, developers will need to spend more time and effort on these tasks, greatly reducing development efficiency and quality. Secondly, although Apple has proposed Xcode Cloud, we believe that it has some problems. Xcode Cloud is cloud-deployed, which presents limitations on private networks and data security, and lacks the ResetAPI of Xcode Server, making it difficult to integrate with other systems. Also, Xcode Cloud requires payment, which may be a considerable expense for individual developers and small teams. Therefore, we hope that Apple can reconsider and retain the functionality of Xcode Server or provide an API for Xcode Server, open source the code, so that Xcode Server can continue to operate and provide better services for iOS developers. At the same time, we also hope that Apple can continue to improve Xcode Cloud and address its problems to provide better cloud services for iOS developers. Thanks
Posted
by
Post not yet marked as solved
1 Replies
683 Views
Application fails almost immediately after initial entry to rendering code. Could not locate file '.' in bundle. Class for component already registered Registering library () that already exists in shader manager. Library will be overwritten. Resolving material name 'engine:BuiltinRenderGraphResources/AR/suFeatheringCreateMergedOcclusionMask.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle What additional packages need updates to run successfully? I have updated the Xcode and other packages available in Beta set
Posted
by
Post not yet marked as solved
0 Replies
725 Views
I'm trying to use a grapghQL API to query a list of data and return an array of that data. From that array, I will pick one random value to use. The code looks as follows: func queryLyrics() { var lyricArray : [Lyric] = [] Task { do { let result = try await Amplify.API.query(request: .list(Transaction.self)) switch result { case .success(let lyricsData): print("Successfully retrieved list of Lyrics") // convert an array of LyricData to an array of Lyric class instances //an array of LyricData to get one Lyric class instance for n in lyricsData { let lyric1 = Lyric.init(from: n) MainActor.run { lyricArray.append(lyric1) } } let goodLyric = lyricArray.randomElement() case .failure(let error): print("Can not retrieve result : error \(error.errorDescription)") } } catch { print("Can not retrieve Notes : error \(error)") } } }. However, the .list function provides the error: Static method 'list(_:where:includes:limit:)' requires that 'Transaction' conform to 'Model'. Im wondering why this is? and how can I fix this?
Posted
by
Post not yet marked as solved
0 Replies
820 Views
Has anyone enabled Xcode Server on Xcode 14.3.1? After I enabled it, it crashed repeatedly. Has anyone encountered this? Steps: Open Xcode, Settings, enable Xcode Server Follow the steps Xcode provides Switch to the account of Xcode Server Xcode Server crashes. macOS Ventura 13.4 Mac mini M1 16G 512G Xcode 14.3.1
Posted
by
Post not yet marked as solved
4 Replies
1.9k Views
I am getting the following error while trying to upload any new app on Xcode The operation couldn’t be completed. (IDEFoundation.DistributionAppRecordProviderError error 0.)
Posted
by
Post not yet marked as solved
3 Replies
2k Views
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
Posted
by
Post not yet marked as solved
1 Replies
1k Views
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.
Posted
by
Post not yet marked as solved
1 Replies
455 Views
I'm trying to install Xcode but because of version I'm not able to install.My Mac version is 12.6.8 where should I download an older version of Xcode?
Posted
by
Post not yet marked as solved
0 Replies
568 Views
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
Posted
by
Post not yet marked as solved
0 Replies
449 Views
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.
Post not yet marked as solved
0 Replies
410 Views
I am trying to make a automated betting bot which one place bet automatic by seeing any script or follow any group/tipster I need some one help
Posted
by