Search results for

xcode github

91,999 results found

Post

Replies

Boosts

Views

Activity

Testflight Build Erro - DVTAppStoreConnect.ServiceBackendError error 1.
Hi guys, I'm trying to make a test flight build (first time in a while) in Xcode 16.0 Beta for a visionOS 2.0 beta test. When I click Distribute App, It preps and creates the app but fails on the next step creating app record... with this code The operation couldn’t be completed. (DVTAppStoreConnect.ServiceBackendError error 1.) My account is old with a ton of certs, identifers, profiles etc. I've tied setting up a new one but that doesn't seem to fix the issue ( though I might have easily missed a step? ) Any help on how to solve this?
2
0
1.3k
Jun ’24
DVTAppStoreConnect.ServiceBackendError error 1 when publishing app
Hi there, I am trying to publish my first app (VisionOS 2.0) via TestFlight for internal testing via XCode 16.0 beta 2. I have tried clicking both 'Distribute App' and 'Validate App', but either way receive the following error: DVTAppStoreConnect.ServiceBackendError error 1 I am a bit stuck for now, any feedback would be gratefully received! Many thanks
5
0
613
Jun ’25
Reply to Printing of NSTextView
I tried using somewhat simpler printing code, which I've seen work in other apps: - (IBAction) doPrint: (id) sender { NSPrintOperation* printOp = [NSPrintOperation printOperationWithView: _webView]; printOp.jobTitle = @Help; NSPrintInfo* info = printOp.printInfo; info.verticallyCentered = NO; printOp.printInfo = info; [printOp runOperationModalForWindow: _webView.window delegate: self didRunSelector: nil contextInfo: nil ]; } But no go here. I tried the same thing in another window, this one using WKWebView, with the same blank result. This is a sandboxed app, and the com.apple.security.print entitlement is on. I'm working in Xcode 15.2 on macOS 13.8.8. I took a project that wouldn't print on this machine to a newer machine running a Tahoe beta, and there it worked. So then I'm asking myself, is printing just broken on this machine? No, printing from other apps shows the preview just fine.
Topic: UI Frameworks SubTopic: AppKit Tags:
2w
Error in Xcode console
Lately I am getting this error. GenerativeModelsAvailability.Parameters: Initialized with invalid language code: en-GB. Expected to receive two-letter ISO 639 code. e.g. 'zh' or 'en'. Falling back to: en Does anyone know what this is and how it can be resolved. The error does not crash the app
1
0
707
2w
Reply to `onTapGesture` not triggered on `Map` views
I'm also seeing this problem with Swift Charts. This is with the latest Xcode 26 Beta 6 and iOS 26 Beta 8. This issue doesn't affect devices running iOS 18 and 17 from my testing. As such I've made this modifier which may help someone, hopefully I can remove it in the release seed but who knows! extension View { func CustomTapGesture(tapCount:Int = 1, perform action: @escaping () -> Void ) -> some View { modifier(TapGestureModifier(tapCount: tapCount, action: action)) } } struct TapGestureModifier: ViewModifier { var tapCount:Int = 1 var action: (() -> Void) func body(content: Content) -> some View { if #available(iOS 26.0, *) { content.simultaneousGesture(TapGesture(count: tapCount).onEnded { action() }) } else { content.onTapGesture(count: tapCount) { action() } } } } Which can be used like this: Text(Hello World) .CustomTapGesture(tapCount:2) { UIImpactFeedbackGenerator().impactOccurred() } To be clear, this doesn't work as well for iOS 26 users as the standard .onTapGesture but it is
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Reply to False positive 'Deceptive Website' warning for personal domain
It's probably related to whatever you are doing with adguard and vaultwarden. I don't know what any of that is, but when I search for your domain, it shows up on a couple of Github domain lists. I also don't know what those domain lists are for. But if you're going to play around with anything even remotely related to security, you should do that on a burner site. Otherwise, you effectively turn your site into a burner site. There is no differentiation on the internet between legal/illegal, safe or malicious. It's the internet. It's all illegal and malicious, unless proven otherwise. Google and others work hard to hide that from regular folks. But if you fall through the cracks, even by accident, it's your problem to solve. Nobody's going to help. This is a developer support forum. It's a place for questions about SwiftUI, APIs, NSURLSession, etc. You can ask anything you want, but if you're asking about something that isn't developer related, you probably won't get any answer. I can tell you that th
Topic: Safari & Web SubTopic: General Tags:
2w
NSLog doesn't work on iOS 26 when the app is installed from TestFlight
I've noticed that NSLog() doesn't do anything on iOS 26 when an app is downloaded from TestFlight. I've got an app uploaded with a liberal sprinkling of NSLog lines in it for debugging purposes - if I download that onto an iOS 18 devices, and use Apple Configurator's console or the Mac's console app, then the logging output is verbose and as expected. But if I download that same app onto an iOS 26 handset, there's nothing. Logging is visible in the Xcode console, however sometimes there are situations where you need console logging with a TestFlight build. What happened? Was this an intentional change? Why. This is a major hindrance in diagnosing issues / bugs etc.
3
0
100
2w
Reply to Should SwiftUI view models in Swift 6 be both @Observable and @MainActor?
[quote='855795022, EoinN, /thread/798211?answerId=855795022#855795022, /profile/EoinN'] My question is whether this behaviour was default or not for new Apps [/quote] As of Xcode 26.0b6 (17A5305f), creating a new project from the macOS > App template sets: Approachable Concurrency Default Actor Isolation to MainActor. However, there’s a wrinkle here. The language mode (Swift Language Version) still defaults to Swift 5. I expect that’ll change at some point, but AFAIK there’s been no official announcement about that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Reply to GKLocalPlayer.authenticateHandler not called on iOS 26 when Game Center auth overlay is shown
Hello, Thank you for your reply. Here are the details we observed: • iOS 18.6.2 (current release): authenticateHandler is invoked consistently — both when the Game Center sign-in UI appears and when the user taps Cancel. • iOS 26.0 beta 1 (first available build): Regression begins here. The Game Center sign-in UI is shown automatically, but pressing Cancel does not invoke authenticateHandler. The app receives no callback. • All subsequent iOS 26 betas (beta 2, beta 3, and the latest beta): Same behavior as beta 1. The issue has been reproducible across every iOS 26 beta so far. • Xcode versions used for testing: • Xcode 16.0 beta 1 with iOS 26.0 beta 1 • Xcode 16.0 beta 2 with iOS 26.0 beta 2 • Xcode 16.0 beta [latest] with iOS 26.0 beta [latest] So the regression is present from the very first iOS 26 beta through the latest beta. To help with investigation, I will provide a minimal sample project that sets GKLocalPlayer.local.authenticateHandler in viewDidAppear and logs w
Topic: Graphics & Games SubTopic: GameKit Tags:
2w
SwiftData and CloudKit
Recently I've been working on a demo project called iLibrary. The main goal was to learn more about CloudKit and SwiftData. After a while I noticed that there were some hangs/freezes when running the app in debug mode. I first tried this with Xcode 15.4 and iOS 17.5. Here the hang only appears at the beginning, but only for a few seconds. But when I exit debug mode, there are no more hangs. With Xcode 16 beta 4 and iOS 18 it looks completely different. In this case, the hangs and freezes are always present, whether in debug mode or not. And it's not just at the beginning, it's throughout the app. I'm aware that this is still a beta, but I still find this weird. And when I profile this I see that the main thread gets quite overloaded. Interestingly, my app doesn't have that many operations going on. So I guess something with the sync of SwiftData or my CloudKitManger where I fetch some records from the public database is not running fine. Lastly, I wanted to delete the iCloud app data. So I w
9
0
1.4k
2w