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

180 Posts

Post

Replies

Boosts

Views

Activity

[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
xcode 14.2 on macOS ventura 13.2.1, run react native project for ios cd ios open MyReactNative.xcworkspace build the project it gives me this error MyReactNative[15716:175392] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2023-02-20 14:24:37.978938+0800 MyReactNative[15716:175392] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2023-02-20 14:24:37.985835+0800 MyReactNative[15716:175392] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist. 2023-02-20 14:24:37.985947+0800 MyReactNative[15716:175392] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist. 2023-02-20 14:24:38.193484+0800 MyReactNative[15716:175690] [connection] nw_socket_handle_socket_event [C1.1.1:2] Socket SO_ERROR [61: Connection refused] 2023-02-20 14:24:38.195158+0800 MyReactNative[15716:175690] [connection] nw_socket_handle_socket_event [C1.1.2:2] Socket SO_ERROR [61: Connection refused] 2023-02-20 14:24:38.195957+0800 MyReactNative[15716:175690] Connection 1: received failure notification 2023-02-20 14:24:38.196059+0800 MyReactNative[15716:175690] Connection 1: failed to connect 1:61, reason -1 2023-02-20 14:24:38.196118+0800 MyReactNative[15716:175690] Connection 1: encountered error(1:61) 2023-02-20 14:24:38.197311+0800 MyReactNative[15716:175690] Task <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1> HTTP load failed, 0/0 bytes (error code: -1004 [1:61]) 2023-02-20 14:24:38.223511+0800 MyReactNative[15716:175687] Task <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x600001c82ca0 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], _kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(   "LocalDataTask <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1>" ), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=http://localhost:8081/status, NSErrorFailingURLKey=http://localhost:8081/status, _kCFStreamErrorDomainKey=1} 2023-02-20 14:24:38.301222+0800 MyReactNative[15716:175392] [native] No bundle URL present. Make sure you're running a packager server or have included a .jsbundle file in your application bundle.
1
0
2.5k
Feb ’23
Server returning invalid response while uploading app to apple store.
I am trying to upload an app build to the Apple app store and I am getting the following error. I am connecting from a network that does not have a proxy. 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.
0
0
1.2k
Feb ’23
Xcode Cloud Workflow creation can't get access to self hosted gitlab server
Xcode is unable to Grant Xcode Cloud access to my source code. When setting up a workflow one of the steps is "Grant Access to Your Source Code". On this tab I can select my self hosted Gitlab instance and click "Grant Access...". When I do this I get the following error message: This operation could not be completed. invalid clone_urls: http://[gitlab_repo_url].git
3
5
1.3k
Feb ’23
Why do my mac keep removing my Xcode version whenever a new version is available?
This is completely frustrating and looks like intrusion on my privately owned Mac. From a general point of view, this is not acceptable some actions are initiated on my Mac by someone else than myself. For development, i have installed Xcode. Every 3 or 6 months, all my environment stop working as Xcode disappear from my Mac without me being asked or informed and then checking on App store , it always correponds to a new version of Xcode being unavailable. This is an unbearable way of forcing user to update to a new version and quite bothering. How to stop such outside action to be initiated on my device?
1
0
835
Dec ’22
dyld[870]: Library not loaded: @rpath/libswiftCore.dylib
after upgrading to Ventura started to show this error, no one knows how to fix it? but if you delete Xcode, then this error does not exist, but if you download it back, it appears again dyld[870]: Library not loaded: @rpath/libswiftCore.dylib   Referenced from: <1BF3BE5E-DAD7-3109-B2CF-E336B6CC19D3> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx/libswift_Concurrency.dylib   Reason: tried: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx/libswiftCore.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/libswiftCore.dylib' (no such file), '/usr/local/lib/libswiftCore.dylib' (no such file), '/usr/lib/libswiftCore.dylib' (no such file, not in dyld cache)
1
0
1.3k
Dec ’22
Xcode 12 Beta 2 causes Xcode Server to be unmanageable
FB7864358 Upon replacing Xcode 12.0 Beta 1 with 12.0 Beta 2, the Xcode Server settings configuration is no longer accessible. One the 'Server &amp; Bots' preference pane the message presented is: Xcode Server Is Already Running Your computer is already configured to run Xcode Server and this version of Xcode is not compatible. If you manually switch the service off and back on, an alert is presented with the following: This version of Xcode is not supported (version is too old) I have managed to revert back to Xcode 12.0 Beta one, and continue managing my server. Has anyone had the same experience or any suggestions on getting Xcode 12.0 Beta 2 to work with Xcode Server?
2
0
1.6k
Dec ’22
XCSBuilderService Connection die, something progress was block?
I have 80+ bots on Xcode Server. We use reset API to create our bots, and active once the integration of all bots. Later the Xcode Server was die away. when I restart XcodeServer (which had 2 integration tasks on the CouchDB), the 2 task was active and run success. and later XcodeServer entry died away again. I was collect some logs from XCSBuilderService. Dispatch Thread Soft Limit: 64 reached in 2156 of 2156 samples -- too many dispatch threads blocked in synchronous operations Call graph: 2156 Thread_680651 DispatchQueue_1: com.apple.main-thread (serial) + 2156 start (in dyld) + 520 [0x102ca508c] + 2156 main (in XCSBuilderService) + 92 [0x102b3c15c] + 2156 -[NSXPCListener resume] (in Foundation) + 344 [0x18d969eac] + 2156 xpc_main (in libxpc.dylib) + 108 [0x18c6d71d0] + 2156 _xpc_objc_main (in libxpc.dylib) + 876 [0x18c6d78b4] + 2156 -[NSRunLoop(NSRunLoop) run] (in Foundation) + 92 [0x18d9d8464] + 2156 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) + 236 [0x18d9480c0] + 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84] + 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0] + 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210] + 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20] + 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0] 2156 Thread_680717: com.apple.NSURLConnectionLoader + 2156 thread_start (in libsystem_pthread.dylib) + 8 [0x18c99308c] + 2156 _pthread_start (in libsystem_pthread.dylib) + 148 [0x18c99826c] + 2156 __NSThread__start__ (in Foundation) + 808 [0x18d9405cc] + 2156 ??? (in CFNetwork) load address 0x1915ef000 + 0x26b638 [0x19185a638] + 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84] + 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0] + 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210] + 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20] + 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0] 2156 Thread_954093 DispatchQueue_46513: -[DVTSourceControlWorkspaceBlueprint init] (QOS: UNSPECIFIED) (concurrent) More file: XCSBuilderServerFaile.log Sample of XCSBuilderService.txt By the way, if apple did not support it. can you open Source this code of XCS's all files? Thanks
2
1
1.9k
Nov ’22
what's XCS2-Dashboard/dashboard ?
some one can share this? Path: /Applications/Xcode.app/Contents/Developer/usr/share/xcs/xcsd/app/app_global_config.js  Above: Xcode 7 have this config. `function initDashboard() { if (cluster.isMaster || cluster.isDisabled) { var dashboardPath = path.join(__dirname, '../public/XCS2-Dashboard/dashboard'); if (fs.existsSync(dashboardPath)) { redisClass.client().hset('XCSDashboard key', 'isDashboardInstalled', dashboardPath); logger.info('Xcode Server Dashboard is installed.'); } else { redisClass.client().hdel('XCSDashboard key', 'isDashboardInstalled'); logger.debug('Xcode Server Dashboard is not installed.'); } } }
0
0
1.4k
Nov ’22
Deployment server guide
Hi, Until now, deploying code to production in XCode was done locally in each developer MacBook. As deployment takes a long time and it basically makes the device unusable during this time, we are looking for ways to deploy code via some sort of deployment server. As we are fairly new to XCode deployments, I was wondering if there is a method/guide to install a deployment server. Thanks!
1
0
1.6k
Nov ’22
Xcode Server Launch Daemons error
check out the error log by Launch Daemons Looks like NodeJS Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. (node:99989) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99988) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99990) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99991) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99990) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99988) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99990) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99991) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99989) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99991) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99988) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99989) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated Option log level is not valid. Please refer to the README. (node:2012) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:2012) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
1
0
1.4k
Nov ’22
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value .... what im I doing wrong
//  OTPViewController.swift //  FinalBookingApp // //  Created by Makwin Santhosh K on 19/10/22. // import UIKit import FirebaseAuth import Firebase import FirebaseCore class OTPViewController: UIViewController {          @IBOutlet weak var OTPLabel: UILabel!          @IBOutlet weak var EnterOTPLabel: UILabel!     @IBOutlet weak var MailTextField : UITextField!     @IBOutlet weak var PasswordTextField: UITextField!     @IBOutlet weak var EnterOTPTextField: UITextField!     @IBOutlet weak var VerifyButton: UIButton!     @IBOutlet weak var ErrorLabel : UILabel!               override func viewDidLoad() {         super.viewDidLoad()                  // Do any additional setup after loading the view.     }     // check the data validate Things     func validateFields() -> String?{         if PasswordTextField.text?.trimmingCharacters(in: .whitespacesAndNewlines) == "" //   // im getting error in this error saying "Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value"         {             return "Please enter the password without the BlankSpaces"         }         let cleanedPassword = PasswordTextField.text!.trimmingCharacters(in: .whitespacesAndNewlines)         if Helpers.isPasswordValid(cleanedPassword) == false{             //Password wasn't secure enough             return "Please make sure your password is at least 8 characters, contains a special character and a number."         }         return nil     }          /*      // MARK: - Navigation            // In a storyboard-based application, you will often want to do a little preparation before navigation      override func prepare(for segue: UIStoryboardSegue, sender: Any?) {      // Get the new view controller using segue.destination.      // Pass the selected object to the new view controller.      }      */          @IBAction func ButtonTapped(_ sender: Any) {         let error = validateFields()                  if error != nil {                          // There's something wrong with the fields, show error message             showError(error!)         }         else {             let Email = MailTextField.text!.trimmingCharacters(in: .whitespacesAndNewlines)             let Password = PasswordTextField.text!.trimmingCharacters(in: .whitespacesAndNewlines)             //MARK: Create a User             Auth.auth().createUser(withEmail: Email, password: Password){(result,err) in                 if err != nil {                                          // There was an error creating the user                     self.showError("Error creating user")                 }                 else {                                          let db = Firestore.firestore()                                                               db.collection("Users").addDocument(data: ["mail" : Email, "uid" : result!.user.uid])                 }             }             self.TransistiontoHome()         }              }                  func showError(_ message : String){             ErrorLabel.text = message             ErrorLabel.alpha = 1         }         func TransistiontoHome() {                      }          }
2
0
1.4k
Nov ’22
xcodebuild can't find destination for testing but Xcode via UI can
I use Xcode 13.2.1 on macOS 12.3 Beta (21E5206e) and want to compile a watchOS-only application with Xcode Server. The app runs on a simulator fine using UI of Xcode, but it fails on Xcode Server during the testing, because a destination isn't available. The server uses a command similar to this: xcodebuild -scheme "MyApp" -destination 'id=3A6FF6DA-5EE5-41E0-83EB-573A212D9C08' test So, I run this command in Terminal and get the following: Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme "MyApp" -destination id=3A6FF6DA-5EE5-41E0-83EB-573A212D9C08 test User defaults from command line:     IDEPackageSupportUseBuiltinSCM = YES xcodebuild: error: Unable to find a destination matching the provided destination specifier: { id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08 } The requested device could not be found because no available devices matched the request. Available destinations for the "MyApp" scheme: { platform:iOS Simulator, id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08, OS:15.2, name:iPhone 11 } Ineligible destinations for the "MyApp" scheme: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device } Just to double check that I actually have the specified destination available for the project, I run: xcodebuild -scheme "MyApp" -showdestinations and get: Command line invocation:     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme "MyApp" -showdestinations User defaults from command line:     IDEPackageSupportUseBuiltinSCM = YES --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device } { platform:iOS Simulator, id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08, OS:15.2, name:iPhone 11 } Available destinations for the "MyApp" scheme: { platform:iOS Simulator, id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08, OS:15.2, name:iPhone 11 } Ineligible destinations for the "MyApp" scheme: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device } Could somebody pinpoint to the problem? Why I'm getting The requested device could not be found because no available devices matched the request. if the device is actually available according to xcodebuild? I tried: to remove all simulators and create new ones to remove DerivedData to update target versions, I'm running iOS 15.2 and watchOS 8.3 on simulators, my application targets watchOS 8.0, so I changed it to 8.3 without any luck to run using IDs and device specifiers without specific IDs of all my simulators to specify in a Xcode Server bot specific simulators, or just "iOS simulators", or even my real connected device – neither worked
6
4
14k
Oct ’22
Why does Xcode occasionally go unresponsive?
I'm building a React Native project and it seems that at least once a week when I start my project from Visual Studio Code it gets stuck building. Then when I try and open the project in Xcode it gets stuck in the infinite loading screen like the attached image. I end up having to delete and reinstall Xcode, which takes a good amount of time since it's such a large application. What could be going on here? Is there a way I can troubleshoot this without reinstalling Xcode every time, perhaps a way to clean the build cache without opening the project in Xcode?
1
1
1.6k
Oct ’22
[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")
xcode 14.2 on macOS ventura 13.2.1, run react native project for ios cd ios open MyReactNative.xcworkspace build the project it gives me this error MyReactNative[15716:175392] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2023-02-20 14:24:37.978938+0800 MyReactNative[15716:175392] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2023-02-20 14:24:37.985835+0800 MyReactNative[15716:175392] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist. 2023-02-20 14:24:37.985947+0800 MyReactNative[15716:175392] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist. 2023-02-20 14:24:38.193484+0800 MyReactNative[15716:175690] [connection] nw_socket_handle_socket_event [C1.1.1:2] Socket SO_ERROR [61: Connection refused] 2023-02-20 14:24:38.195158+0800 MyReactNative[15716:175690] [connection] nw_socket_handle_socket_event [C1.1.2:2] Socket SO_ERROR [61: Connection refused] 2023-02-20 14:24:38.195957+0800 MyReactNative[15716:175690] Connection 1: received failure notification 2023-02-20 14:24:38.196059+0800 MyReactNative[15716:175690] Connection 1: failed to connect 1:61, reason -1 2023-02-20 14:24:38.196118+0800 MyReactNative[15716:175690] Connection 1: encountered error(1:61) 2023-02-20 14:24:38.197311+0800 MyReactNative[15716:175690] Task <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1> HTTP load failed, 0/0 bytes (error code: -1004 [1:61]) 2023-02-20 14:24:38.223511+0800 MyReactNative[15716:175687] Task <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1> finished with error [-1004] Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={_kCFStreamErrorCodeKey=61, NSUnderlyingError=0x600001c82ca0 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], _kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(   "LocalDataTask <F70D2BF5-A43E-4A53-A047-044B94C2E8D1>.<1>" ), NSLocalizedDescription=Could not connect to the server., NSErrorFailingURLStringKey=http://localhost:8081/status, NSErrorFailingURLKey=http://localhost:8081/status, _kCFStreamErrorDomainKey=1} 2023-02-20 14:24:38.301222+0800 MyReactNative[15716:175392] [native] No bundle URL present. Make sure you're running a packager server or have included a .jsbundle file in your application bundle.
Replies
1
Boosts
0
Views
2.5k
Activity
Feb ’23
Server returning invalid response while uploading app to apple store.
I am trying to upload an app build to the Apple app store and I am getting the following error. I am connecting from a network that does not have a proxy. 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.
Replies
0
Boosts
0
Views
1.2k
Activity
Feb ’23
Xcode Cloud Workflow creation can't get access to self hosted gitlab server
Xcode is unable to Grant Xcode Cloud access to my source code. When setting up a workflow one of the steps is "Grant Access to Your Source Code". On this tab I can select my self hosted Gitlab instance and click "Grant Access...". When I do this I get the following error message: This operation could not be completed. invalid clone_urls: http://[gitlab_repo_url].git
Replies
3
Boosts
5
Views
1.3k
Activity
Feb ’23
Referencing initializer 'init(_:content:)' on 'ForEach' requires that 'Message' conform to 'Identifiable'
I'm trying to create a messenger app and this error shows up. Can someone help me?
Replies
3
Boosts
0
Views
3.2k
Activity
Jan ’23
Why do my mac keep removing my Xcode version whenever a new version is available?
This is completely frustrating and looks like intrusion on my privately owned Mac. From a general point of view, this is not acceptable some actions are initiated on my Mac by someone else than myself. For development, i have installed Xcode. Every 3 or 6 months, all my environment stop working as Xcode disappear from my Mac without me being asked or informed and then checking on App store , it always correponds to a new version of Xcode being unavailable. This is an unbearable way of forcing user to update to a new version and quite bothering. How to stop such outside action to be initiated on my device?
Replies
1
Boosts
0
Views
835
Activity
Dec ’22
dyld[870]: Library not loaded: @rpath/libswiftCore.dylib
after upgrading to Ventura started to show this error, no one knows how to fix it? but if you delete Xcode, then this error does not exist, but if you download it back, it appears again dyld[870]: Library not loaded: @rpath/libswiftCore.dylib   Referenced from: <1BF3BE5E-DAD7-3109-B2CF-E336B6CC19D3> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx/libswift_Concurrency.dylib   Reason: tried: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.5/macosx/libswiftCore.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/libswiftCore.dylib' (no such file), '/usr/local/lib/libswiftCore.dylib' (no such file), '/usr/lib/libswiftCore.dylib' (no such file, not in dyld cache)
Replies
1
Boosts
0
Views
1.3k
Activity
Dec ’22
Xcode 12 Beta 2 causes Xcode Server to be unmanageable
FB7864358 Upon replacing Xcode 12.0 Beta 1 with 12.0 Beta 2, the Xcode Server settings configuration is no longer accessible. One the 'Server &amp; Bots' preference pane the message presented is: Xcode Server Is Already Running Your computer is already configured to run Xcode Server and this version of Xcode is not compatible. If you manually switch the service off and back on, an alert is presented with the following: This version of Xcode is not supported (version is too old) I have managed to revert back to Xcode 12.0 Beta one, and continue managing my server. Has anyone had the same experience or any suggestions on getting Xcode 12.0 Beta 2 to work with Xcode Server?
Replies
2
Boosts
0
Views
1.6k
Activity
Dec ’22
normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'FlipperKit' from project 'Pods')
Not able to understand what to do , I could not able to find the solutions. I'm running application through react-native run-ios --simulator="iPhone 14 Pro Max" I'm trying to run below application - I'm new to mobile app development . https://www.youtube.com/watch?v=c-NfKd1iVwE
Replies
3
Boosts
2
Views
7.0k
Activity
Nov ’22
XCSBuilderService Connection die, something progress was block?
I have 80+ bots on Xcode Server. We use reset API to create our bots, and active once the integration of all bots. Later the Xcode Server was die away. when I restart XcodeServer (which had 2 integration tasks on the CouchDB), the 2 task was active and run success. and later XcodeServer entry died away again. I was collect some logs from XCSBuilderService. Dispatch Thread Soft Limit: 64 reached in 2156 of 2156 samples -- too many dispatch threads blocked in synchronous operations Call graph: 2156 Thread_680651 DispatchQueue_1: com.apple.main-thread (serial) + 2156 start (in dyld) + 520 [0x102ca508c] + 2156 main (in XCSBuilderService) + 92 [0x102b3c15c] + 2156 -[NSXPCListener resume] (in Foundation) + 344 [0x18d969eac] + 2156 xpc_main (in libxpc.dylib) + 108 [0x18c6d71d0] + 2156 _xpc_objc_main (in libxpc.dylib) + 876 [0x18c6d78b4] + 2156 -[NSRunLoop(NSRunLoop) run] (in Foundation) + 92 [0x18d9d8464] + 2156 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] (in Foundation) + 236 [0x18d9480c0] + 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84] + 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0] + 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210] + 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20] + 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0] 2156 Thread_680717: com.apple.NSURLConnectionLoader + 2156 thread_start (in libsystem_pthread.dylib) + 8 [0x18c99308c] + 2156 _pthread_start (in libsystem_pthread.dylib) + 148 [0x18c99826c] + 2156 __NSThread__start__ (in Foundation) + 808 [0x18d9405cc] + 2156 ??? (in CFNetwork) load address 0x1915ef000 + 0x26b638 [0x19185a638] + 2156 CFRunLoopRunSpecific (in CoreFoundation) + 600 [0x18ca62a84] + 2156 __CFRunLoopRun (in CoreFoundation) + 1180 [0x18ca636c0] + 2156 __CFRunLoopServiceMachPort (in CoreFoundation) + 372 [0x18ca65210] + 2156 mach_msg (in libsystem_kernel.dylib) + 76 [0x18c95ad20] + 2156 mach_msg_trap (in libsystem_kernel.dylib) + 8 [0x18c95a8b0] 2156 Thread_954093 DispatchQueue_46513: -[DVTSourceControlWorkspaceBlueprint init] (QOS: UNSPECIFIED) (concurrent) More file: XCSBuilderServerFaile.log Sample of XCSBuilderService.txt By the way, if apple did not support it. can you open Source this code of XCS's all files? Thanks
Replies
2
Boosts
1
Views
1.9k
Activity
Nov ’22
what's XCS2-Dashboard/dashboard ?
some one can share this? Path: /Applications/Xcode.app/Contents/Developer/usr/share/xcs/xcsd/app/app_global_config.js  Above: Xcode 7 have this config. `function initDashboard() { if (cluster.isMaster || cluster.isDisabled) { var dashboardPath = path.join(__dirname, '../public/XCS2-Dashboard/dashboard'); if (fs.existsSync(dashboardPath)) { redisClass.client().hset('XCSDashboard key', 'isDashboardInstalled', dashboardPath); logger.info('Xcode Server Dashboard is installed.'); } else { redisClass.client().hdel('XCSDashboard key', 'isDashboardInstalled'); logger.debug('Xcode Server Dashboard is not installed.'); } } }
Replies
0
Boosts
0
Views
1.4k
Activity
Nov ’22
Deployment server guide
Hi, Until now, deploying code to production in XCode was done locally in each developer MacBook. As deployment takes a long time and it basically makes the device unusable during this time, we are looking for ways to deploy code via some sort of deployment server. As we are fairly new to XCode deployments, I was wondering if there is a method/guide to install a deployment server. Thanks!
Replies
1
Boosts
0
Views
1.6k
Activity
Nov ’22
Xcode Server Launch Daemons error
check out the error log by Launch Daemons Looks like NodeJS Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. Option log level is not valid. Please refer to the README. (node:99989) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99988) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99990) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99991) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:99990) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99988) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99990) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99991) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99989) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (node:99991) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99988) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated (node:99989) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated Option log level is not valid. Please refer to the README. (node:2012) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [process]. Use emitter.setMaxListeners() to increase limit (node:2012) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Replies
1
Boosts
0
Views
1.4k
Activity
Nov ’22
how to add animation in Launch Screen
I have to added the background image and background colour in launch screen but for user experience i need to add the loading animation in launch screen, I also used the Activity indicator View but it is not moving (not showing animation) is there is any way to add LottieView or Rive Animation in Launch Screen
Replies
3
Boosts
0
Views
6.9k
Activity
Nov ’22
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value .... what im I doing wrong
//  OTPViewController.swift //  FinalBookingApp // //  Created by Makwin Santhosh K on 19/10/22. // import UIKit import FirebaseAuth import Firebase import FirebaseCore class OTPViewController: UIViewController {          @IBOutlet weak var OTPLabel: UILabel!          @IBOutlet weak var EnterOTPLabel: UILabel!     @IBOutlet weak var MailTextField : UITextField!     @IBOutlet weak var PasswordTextField: UITextField!     @IBOutlet weak var EnterOTPTextField: UITextField!     @IBOutlet weak var VerifyButton: UIButton!     @IBOutlet weak var ErrorLabel : UILabel!               override func viewDidLoad() {         super.viewDidLoad()                  // Do any additional setup after loading the view.     }     // check the data validate Things     func validateFields() -> String?{         if PasswordTextField.text?.trimmingCharacters(in: .whitespacesAndNewlines) == "" //   // im getting error in this error saying "Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value"         {             return "Please enter the password without the BlankSpaces"         }         let cleanedPassword = PasswordTextField.text!.trimmingCharacters(in: .whitespacesAndNewlines)         if Helpers.isPasswordValid(cleanedPassword) == false{             //Password wasn't secure enough             return "Please make sure your password is at least 8 characters, contains a special character and a number."         }         return nil     }          /*      // MARK: - Navigation            // In a storyboard-based application, you will often want to do a little preparation before navigation      override func prepare(for segue: UIStoryboardSegue, sender: Any?) {      // Get the new view controller using segue.destination.      // Pass the selected object to the new view controller.      }      */          @IBAction func ButtonTapped(_ sender: Any) {         let error = validateFields()                  if error != nil {                          // There's something wrong with the fields, show error message             showError(error!)         }         else {             let Email = MailTextField.text!.trimmingCharacters(in: .whitespacesAndNewlines)             let Password = PasswordTextField.text!.trimmingCharacters(in: .whitespacesAndNewlines)             //MARK: Create a User             Auth.auth().createUser(withEmail: Email, password: Password){(result,err) in                 if err != nil {                                          // There was an error creating the user                     self.showError("Error creating user")                 }                 else {                                          let db = Firestore.firestore()                                                               db.collection("Users").addDocument(data: ["mail" : Email, "uid" : result!.user.uid])                 }             }             self.TransistiontoHome()         }              }                  func showError(_ message : String){             ErrorLabel.text = message             ErrorLabel.alpha = 1         }         func TransistiontoHome() {                      }          }
Replies
2
Boosts
0
Views
1.4k
Activity
Nov ’22
xcodebuild can't find destination for testing but Xcode via UI can
I use Xcode 13.2.1 on macOS 12.3 Beta (21E5206e) and want to compile a watchOS-only application with Xcode Server. The app runs on a simulator fine using UI of Xcode, but it fails on Xcode Server during the testing, because a destination isn't available. The server uses a command similar to this: xcodebuild -scheme "MyApp" -destination 'id=3A6FF6DA-5EE5-41E0-83EB-573A212D9C08' test So, I run this command in Terminal and get the following: Command line invocation: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme "MyApp" -destination id=3A6FF6DA-5EE5-41E0-83EB-573A212D9C08 test User defaults from command line:     IDEPackageSupportUseBuiltinSCM = YES xcodebuild: error: Unable to find a destination matching the provided destination specifier: { id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08 } The requested device could not be found because no available devices matched the request. Available destinations for the "MyApp" scheme: { platform:iOS Simulator, id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08, OS:15.2, name:iPhone 11 } Ineligible destinations for the "MyApp" scheme: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device } Just to double check that I actually have the specified destination available for the project, I run: xcodebuild -scheme "MyApp" -showdestinations and get: Command line invocation:     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme "MyApp" -showdestinations User defaults from command line:     IDEPackageSupportUseBuiltinSCM = YES --- xcodebuild: WARNING: Using the first of multiple matching destinations: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device } { platform:iOS Simulator, id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08, OS:15.2, name:iPhone 11 } Available destinations for the "MyApp" scheme: { platform:iOS Simulator, id:3A6FF6DA-5EE5-41E0-83EB-573A212D9C08, OS:15.2, name:iPhone 11 } Ineligible destinations for the "MyApp" scheme: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device } Could somebody pinpoint to the problem? Why I'm getting The requested device could not be found because no available devices matched the request. if the device is actually available according to xcodebuild? I tried: to remove all simulators and create new ones to remove DerivedData to update target versions, I'm running iOS 15.2 and watchOS 8.3 on simulators, my application targets watchOS 8.0, so I changed it to 8.3 without any luck to run using IDs and device specifiers without specific IDs of all my simulators to specify in a Xcode Server bot specific simulators, or just "iOS simulators", or even my real connected device – neither worked
Replies
6
Boosts
4
Views
14k
Activity
Oct ’22
The exact time taken by each layer of the coreml model operator
How can I get the exact time spent on each layer of the coreml model, is there an API like tensorflow?
Replies
0
Boosts
0
Views
1.1k
Activity
Oct ’22
Some question about Xcode`Debug navigator`
Debug navigator panel says CPU usage 36%. is it overall cpu occupation or single core cpu occupation. if it is overall, why max percentage is 600%
Replies
0
Boosts
0
Views
851
Activity
Oct ’22
Why does Xcode occasionally go unresponsive?
I'm building a React Native project and it seems that at least once a week when I start my project from Visual Studio Code it gets stuck building. Then when I try and open the project in Xcode it gets stuck in the infinite loading screen like the attached image. I end up having to delete and reinstall Xcode, which takes a good amount of time since it's such a large application. What could be going on here? Is there a way I can troubleshoot this without reinstalling Xcode every time, perhaps a way to clean the build cache without opening the project in Xcode?
Replies
1
Boosts
1
Views
1.6k
Activity
Oct ’22
I am getting error while building
While building release scheme , i am getting below error while building Cannot find 'UITestLaunchArgument' in scope even though the normal debug is working well , can anyone please suggest and help me ? Xcode Version - 13.2
Replies
1
Boosts
0
Views
781
Activity
Sep ’22
'Integrate-Pending " still waiting too long, how to fixed?
Event i was set timeout range. it's not work for timeout. How to fix? or find this, why is it clogged?
Replies
0
Boosts
0
Views
1.7k
Activity
Sep ’22