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

46 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Xcode Cloud + Cocoapods - Failing inconsistently
Hey there, everybody Having a difficult time getting app to consistently build on Xcode Cloud due to several errors in ci_post_clone.sh I'm not trying to do anything amazing other than: brew install cocoapods pod install Here are some of the errors that occur. Sometimes the build succeeds! More often than not, it fails for unknown reasons. "Couldn't determine repo type for URL: https://github.com/CocoaPods/Specs.git" [!] Couldn't determine repo type for URL: `https://github.com/CocoaPods/Specs.git`: Failed to open TCP connection to github.com:443 (Connection reset by peer - connect(2) for "github.com" port 443) Failed to download libyaml (dependency of cocoapods) curl: (7) Failed to connect to ghcr.io port 443 after 3 ms: Couldn't connect to server Error: libyaml: Failed to download resource "libyaml" Have tried: unlinking/uninstalling cocoapods and re-installing: brew update brew uninstall cocoapods #issue https://github.com/facebook/react-native/issues/42698 curl https://raw.githubusercontent.com/Homebrew/homebrew-core/1364b74ebeedb2eab300d62c99e12f2a6f344277/Formula/c/cocoapods.rb > cocoapods.rb brew install cocoapods.rb brew link --overwrite cocoapods Installing libyaml independently of cocoapods: brew install libyaml brew install cocoapods Installing with gem/bundler Add source to Podfile source 'https://github.com/CocoaPods/Specs.git' adding export HOMEBREW_NO_INSTALL_CLEANUP=TRUE pod repo update before pod install Any insight? Anybody else seeing this behavior? Thank you!
2
1
1.2k
Feb ’24
initWithURL vs initWithBundleIdentifier giving different permissions
I am directed from https://discuss.appium.io/t/create-multiple-instances-of-the-same-app/41266/14?u=lxnm, the context is that Appium max2 driver is implementing the activating of MacOS app using XCTest API methods. There are 2 ways to implement the activating of the app, using app path (calling initWithURL) and bundle id (calling initWithBundleIdentifier). This pull request shows how the XCTest methods are called when using the Mac2 driver, specifically in the file WebDriverAgentMac/WebDriverAgentLib/Routing/FBSession.m. The problem is that I am able to launch my MacOS app(it is a company app) using bundle id, but when I launch the app with app path, I receive XcodeBuild errors: [WebDriverAgentMac] [xcodebuild] XCTExpectFailure: matcher accepted Assertion Failure: Failed to launch com.company.companyApp: You do not have permission to run the application “companyApp”. You don’t have permission. To view or change permissions, select the item in the Finder and choose File > Get Info. (Underlying Error: The operation couldn’t be completed. Operation not permitted) I followed this to enable R+W permissions to all users, but the same error is displayed.
3
0
914
Jun ’24
[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
540
Dec ’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
3.0k
Dec ’23
Upgrading to iPadOS 17 running RoomPlan gets exception on call to Rendering.
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
2
0
936
Jul ’24