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

40 Posts
Sort by:
Post not yet marked as solved
1 Replies
228 Views
Hi, I would like to ask a question regarding Xcode. When I test the app from FlutterFlow in runner.xcworkspace it builds the app on the local phone and it works but then when I close the app or turn off the test. The app just does not run anymore meaning it goes back to the menu when you click on the icon. Please explain? Also, can you provide me some help on how to ensure that my phone runs the FlutterFlow app even when testing is off on Xcode? Thanks
Posted
by AngadP.
Last updated
.
Post not yet marked as solved
0 Replies
267 Views
Hi Devs, Hope you are all doing well. When I try to click on "Clone from git repo" button on the Xcode home page the Xcode is disappearing automatically. I tried to re-install the application and I also restarted the system and nothing has worked so far. When I click on create new project or open existing project it is working completely fine and the only issue is with Clone from git repo button. Can any please help me with this issue. Thanks in advance
Posted
by Dushi.
Last updated
.
Post not yet marked as solved
1 Replies
238 Views
Dear Apple Developer Forum Community, I hope this message finds you well. I am writing to seek assistance regarding an error I encountered while attempting to create a "Tic Tac Toe" application using Xcode. Upon launching Xcode and starting a new project, I followed the standard procedure for creating a simple iOS application. However, during the process, I encountered I am trying to make an app but the code showing an error when any player won the match. I have attempted to troubleshoot the issue by see two images, but unfortunately, I have been unsuccessful in resolving it. I am reaching out to the community in the hope that someone might have encountered a similar issue or have expertise in troubleshooting Xcode errors. Any guidance, suggestions, or solutions would be greatly appreciated. Thank you very much for your time and assistance. Sincerely, Zipzy games
Posted Last updated
.
Post not yet marked as solved
0 Replies
254 Views
Hello Folks! I'm new to Xcode and I'm trying to create a simple 2D-Game with c++ and I found out, that SFML offers a nice tool to create a game engine. Now my purpose is to develop tools for studying and I'm trying to link SFML with Xcode. Since I already was successful in creating a pop-up window via the terminal I believe I can handle to do it with Xcode. I tried the following: I created a new SFML project in Xcode with the same Main.cpp file. I went to the build settings and changes the Header-Path to the SFML-Include folder and the Library-Path to the SFML-lib folder. I also linked the binaries with the libraries in the build phase. When I run the script Xcode told me, that the build was successful and the app tried to open the window (It jumped around and appears in the strip. But I also got an error message, that the dynamic libraries couldn't load. It would be very nice, if someone could help me with my issue. Happy to hear from you, kind regards Jeremy
Posted
by Jryl123.
Last updated
.
Post not yet marked as solved
0 Replies
288 Views
Hello everyone, Due to a change in our development team we had to revoke some certificates and regenerate new one. I have generated a Development Mobile profile including needed certificates etc. Also, in Xcode 15 i have disabled "automatically manage signing" and everything look okay as I can see the generated provisioning profile, my team, my certificate etc. Build is working correctly. We are using App Center as a CI to build/archive.. our iOS app. During the last step of the archive export I have the following error which I cannot resolve : [command]/usr/libexec/PlistBuddy -c Print CFBundleIdentifier /Users/runner/work/1/output/build/archive/OurStagingApp.xcarchive/Products/Applications/OurStagingApp.app/Info.plist com.OurStagingDomain.OurStagingApp [command]/usr/libexec/PlistBuddy -c Add provisioningProfiles:com.OurStagingApp.OurStagingApp string toktokdoc provisioning profile development _XcodeTaskExportOptions.plist [command]/usr/bin/xcodebuild -exportArchive -archivePath /Users/runner/work/1/output/build/archive/OurStagingApp.xcarchive -exportPath /Users/runner/work/1/output/build/export/_XcodeTaskExport_OurStagingApp -exportOptionsPlist _XcodeTaskExportOptions.plist 2024-02-08 14:21:05.218 xcodebuild[18640:56463] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/r0/ztvld9wd66bfpv_g6h3ksl000000gn/T/OurStagingApp_2024-02-08_14-21-05.213.xcdistributionlogs". 2024-02-08 14:21:05.370 xcodebuild[18640:56463] [MT] IDEDistribution: -[IDEDistributionMethodManager orderedDistributionMethodsForTask:archive:logAspect:]: Error = Error Domain=IDEDistributionMethodManagerErrorDomain Code=2 "Unknown Distribution Error" UserInfo={NSLocalizedDescription=Unknown Distribution Error} error: exportArchive: exportOptionsPlist error for key "method": expected one of {}, but found development Error Domain=IDEFoundationErrorDomain Code=1 "exportOptionsPlist error for key "method": expected one of {}, but found development" UserInfo={NSLocalizedDescription=exportOptionsPlist error for key "method": expected one of {}, but found development} ** EXPORT FAILED ** ##[error]Error: /usr/bin/xcodebuild failed with return code: 70 I tried to regen certificates, regen provisioning profile, use automatically signed.. Also this is the logs of the last working build : DEV PROV PROFILE TokTokDocRCX [command]/bin/rm -f _xcodetasktmp.plist [command]/usr/libexec/PlistBuddy -c Print CFBundleIdentifier /Users/runner/work/1/output/build/archive/OurStagingApp.xcarchive/Products/Applications/OurStagingApp.app/Info.plist com.OurDomain.OurStagingApp [command]/usr/libexec/PlistBuddy -c Add provisioningProfiles:com.OurDomain.OurStagingApp string DEV PROV PROFILE TokTokDocRCX _XcodeTaskExportOptions.plist [command]/usr/bin/xcodebuild -exportArchive -archivePath /Users/runner/work/1/output/build/archive/OurStagingApp.xcarchive -exportPath /Users/runner/work/1/output/build/export/_XcodeTaskExport_OurStagingApp -exportOptionsPlist _XcodeTaskExportOptions.plist 2023-08-02 11:20:01.234 xcodebuild[19044:64264] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/cn/nkrr6l5n0jz01kq9jbtb9tg00000gn/T/OurStagingApp_2023-08-02_11-20-01.233.xcdistributionlogs". Exported OurStagingApp to: /Users/runner/work/1/output/build/export/_XcodeTaskExport_OurStagingApp ** EXPORT SUCCEEDED ** I have replaced some logs with "OurStagingApp". Also when trying to build the archive via xcode 15 the button validate is disabled. In my podfile: target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0' config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' config.build_settings['SKIP_INSTALL'] = 'NO' end Thanks for your help
Posted
by antekwave.
Last updated
.
Post not yet marked as solved
1 Replies
313 Views
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!
Posted Last updated
.
Post not yet marked as solved
1 Replies
377 Views
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.
Posted
by johnnylim.
Last updated
.
Post not yet marked as solved
0 Replies
212 Views
Having MacBook Pro with macOS Monterey v 12.7.2 and Xcode 13.3 (13B113) I cannot find a Xcode simulator, which could provide iPhone 6.7" display for my first app's product page' Any advice? Thanks!
Posted Last updated
.
Post not yet marked as solved
3 Replies
1.9k 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 atandel.
Last updated
.
Post not yet marked as solved
0 Replies
288 Views
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
Posted Last updated
.
Post not yet marked as solved
0 Replies
289 Views
Só tenho aparelho Android, não tenho nenhum aparelho com o sistema iOS para publicar o meu aplicativo na App Store, alguém pode fazer isso por mim? Só falta o upload para o XCode, o app está todo configurado, aberto a negociação.
Posted
by Anerson.
Last updated
.
Post not yet marked as solved
1 Replies
367 Views
I noticed that my MacBook heats up on using Xcode. I installed latest Xcode 15.0.1 this morning along with something related to iOS 17. When I forced quit Xcode, temp. lowered to normal. What to do?
Posted Last updated
.
Post not yet marked as solved
1 Replies
865 Views
I'm using expo. I run npm start, then press "i" to open the IOS simulator. It was working up to now and I'm not sure what changed. I get this error Error: xcrun exited with non-zero code: 148 Invalid device or device pair: 3C84B562-463E-4524-AD01-4E8A959D3415 Any advice on how to proceed?
Posted Last updated
.
Post not yet marked as solved
4 Replies
1.7k 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 Last updated
.
Post not yet marked as solved
0 Replies
354 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 365days.
Last updated
.
Post not yet marked as solved
0 Replies
406 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.
Posted Last updated
.
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 Last updated
.