Search results for

xcode github

92,001 results found

Post

Replies

Boosts

Views

Activity

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
Reply to PKPassLibrary.requestAutomaticPassPresentationSuppression Behavior
Hi @RamiroDiaz-Latch, You wrote: In most cases, our code snippet works as expected, and the result is .success. However, we are also encountering other results, such as .denied, .alreadyPresenting, and .cancelled or .notSupported, which cause the Wallet to appear for users. [...] As @EtienneVTS mentioned, the API is intended to be used while an approved app is in the foreground. However, this requirement is indeed documented below: Use this method only in apps that must stay in the foreground when operating near NFC or other RF readers. This method prevents the device from automatically displaying the Apple Pay passes when it detects a compatible reader. This suppression occurs only while the app is in the foreground. The system automatically reenables the Apple Pay interface when the app goes to the background. If the app resumes, the system automatically suppresses the Apple Pay interface again. requestAutomaticPassPresentationSuppression(responseHandler:‍) https://developer.apple.com/documentation
Topic: App & System Services SubTopic: Wallet Tags:
2w
Reply to iOS folder bookmarks
Do devs realise they need to call stop access after resolving a bookmark? It's long been documented, but the reality is that: Most apps only interact with files in a limited/controlled way. Particularly on iOS, app lifetimes tend to be short enough that it hides most mistakes. Explicit start/stop makes it more obvious what to do, and the ideal API would be something like withAccess { callback } that would automatically stop access when the callback returns, or this: This works okay if/when file access is highly constrained, but it doesn't really work as well if you're working with a document over a very long period of time. More to the point, the APIs involved here are part of a LONG chain of evolution that keeps being expanded/tweaked/repurposed. For example, bookmarks weren't created to preserve security access; they were created to replace the Alias manager (from macOS Classic/Carbon). Similarly, security scoping in URLs is partially tied to file reference URLs (vs. file paths), but THOSE were really creat
Topic: App & System Services SubTopic: Core OS Tags:
2w
Problem with adding Tap to Pay on a React Native/Expo app
Hello, We are trying to add tap to pay to our app built with react native through expo. When running the command eas build --profile development --platform ios --local I get this error: But when I open the project in XCode I can see that the Tap to Pay capability is enabled: And when I look at my profiles in the apple developer platform, I can see that the profile the error mentioned above has the Tap to Pay entitlement contrary to what it tells me: I don't understand what's happening, can somebody help me? I'm here if you need more informations. P.S.: not sure if it's relevant but, the way we did thing with expo, we have a different bundle identifier and app name according to which environment we are building for (development/preview/production)
1
0
58
2w
MapKit MapReader Not working on iOS 26
I have the following code snippet with a simple map and map reader that shows a pin on the map when the user selects a location struct MapReaderTest: View { @State private var loc: CLLocationCoordinate2D? = nil var body: some View { MapReader { proxy in Map { UserAnnotation() if let loc { Marker(coordinate: loc, label: { Text(Marker) }) } } .onTapGesture { position in let position = proxy.convert(position, from: .local) loc = position } } } } This snippet compiles and works perfectly fine using Xcode version 16.4 building for iOS 18.0 and running on a device. This snippet also works for me when I build using Xcode 26 Beta and run in the canvas or simulator, however it does not work when I compile using Xcode 26 and run it on a physical device(I built and tested for both iOS 18.6 and iOS 26 Beta) Has anyone else had a similar issue / have any ideas for work arounds?
1
0
70
2w
Reply to On iOS 26 beta8, if a view's subview contains a WKWebView, using the CALayer's renderInContext method fails to capture the pixel
Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports. Bug Reporting: How and Why? has tips on creating your bug report.
Topic: Safari & Web SubTopic: General Tags:
2w
Reply to GKLocalPlayer.authenticateHandler not called on iOS 26 when Game Center auth overlay is shown
Hello, This sounds like a regression in beta iOS 26. What version of the betas (iOS and Xcode) are you using and has this behavior changed between any other beta versions recently? To fully understand the request flow and configuration it would be helpful to have a sample project. Please provide one if you're able. Something in the documentation of note: GameKit calls the [authenticateHandler] handler, possibly several times, for the following cases ... so we'll need to check each case. All that said, please also file a bug report as this is still in beta.
Topic: Graphics & Games SubTopic: GameKit Tags:
2w
Reply to Automatic Code Signing Error
Thank you for your help. I think this fixed it. Following your directions, Checked Xcode's Apple Accouts - Looked ok Set up a new project with a new AppID and CloudKit container. Worked. While in that new project, changed AppID and CloudKit container back to the problem values. FAILED. Logged in to Developer portal. No warnings or error messages and no pending agreements. Followed steps from TN3164. iCloud was checked. However, the option was Compatible with Xcode 5. Changed it to Include CloudKit support and saved. Forced a reprovisioning by unchecking and rechecking the Automatic Signing feature in Xcode. WORKED. (I believe I said previously that this was an OLD app...) Thank you for your help. (I'll copy this into a reply in the FB to complete your records.)
2w
How can I get the system to use my FSModule for probing?
I've gotten to the point where I can use the mount(8) command line tool and the -t option to mount a file system using my FSKit file system extension, in which case I can see a process for my extension launch, probe, and perform the other necessary actions. However, when plugging in my USB flash drive or trying to mount with diskutil mount, the file system does not mount: $ diskutil mount disk20s3 Volume on disk20s3 failed to mount If you think the volume is supported but damaged, try the readOnly option $ diskutil mount readOnly disk20s3 Volume on disk20s3 failed to mount If you think the volume is supported but damaged, try the readOnly option Initially I thought it would be enough to just implement probeExtension(resource:replyHandler:) and the system would handle the rest, but this doesn't seem to be the case. Even a trivial implementation that always returns .usable doesn't cause the system to use my FSModule, even though I've enabled my extension in System Settings > General > Login Items & Ex
12
0
487
2w