Trying to test IAP in sandbox. I created the test group and tester accounts. Accepted the invite downloaded the app. Signed into to sandbox in settings with the tester account. In app the purchases are failing and throwing my catch error message product couldn't be found. I decided to test it from settings/ sandbox/ manage/ initiate purchase/ but I've been getting can't complete transaction. Something went wrong, ant this transaction couldn't be completed. Try again later since last week. I reached out to dev support over the phone then email and they couldn't or wouldn't provide assistance. I asked my senior at work she took a look at it and confirmed I created the IAP correctly and that my sandbox account could make test purchases in apps she make but couldn't get mine to work. The storekit test work fine in xcode I just don't know what to do now.
Search results for
Xcode
92,313 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Description: We are investigating an issue where running a specific e-commerce iOS app inside the Xcode Simulator intermittently disrupts the Mac’s network connectivity. When the app is launched in the Simulator, our NETransparentProxyProvider and NEFilterDataProvider extensions occasionally stop receiving traffic correctly, and shortly afterward the entire macOS DNS resolution fails. Once this happens, all apps on the Mac lose internet access until mac is restarted. Disabling extensions also fixing the issue. This issue only appears when the app runs in the Xcode Simulator. I would like to confirm: Is it possible for traffic patterns or network behavior inside the Simulator to interfere with system-level Network Extension providers on macOS? Are there known limitations or conflicts between the Simulator’s virtual networking interfaces and Network Extensions? Any recommended debugging steps or best practices to isolate this behavior? Any guidance, known issues, or suggestions would be apprec
Hi everyone, I’m experiencing a persistent issue when trying to download the iOS Simulator Runtime 26.1 on Xcode (version 26.1). The download always fails with the following error Download failed due to a bad URL. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime) Domain: com.apple.MobileAssetError.Download Code: 49 I’m located in Brazil, so I initially thought it might be region-related, but I’ve already tried several attempts to fix it, including: Using VPNs for the US and Europe Installing the Xcode 26.2 beta Downgrading Xcode to earlier versions Reinstalling the same version of Xcode Restarting Xcode and my Mac Switching networks Clearing simulator support/device files Unfortunately, nothing has resolved the issue. Is anyone else facing this problem? Does anyone know a workaround or a manual way to download/install the iOS 26.1 simulator runtime? Thanks in advance!
I am fixing bugs / extending a macOS app written by somebody else in Swift. I’ve made changes to it and debugging it, so breakpoints/rebuilding/debug print/change/rerun it isn’t a problem. But it is a multi-threaded, async app, and when I pause the running app, it will not display source code location in each thread where it is. I only get assembly. [and, yes, Always Show Assembly in OFF] It is inherent to async apps and threading that they spend most of their time waiting for the user to do something. Hence if you stop an app, you’ll almost always be in system code somewhere. But I think wanting to see the origin of completions that are pending is a legitimate question for somebody debugging (and trying to understand how the app works). Am I not aware some feature in Xcode / LLDB to reveal this?
Thanks for the post and the description. Never seen this, so I don't think is a bug, what version of Xcode are you using? Have you updated to the latest? Could you please provide a list of the macOS, Xcode, and simulator/physical device versions? Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Albert Pascual
Worldwide Developer Relations.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Hi I share the code of function that launches the stream query: func lanzarPeticion() async{ defer{👎🔘lanzarConsulta.toggle()} do { let sessionStream = LanguageModelSession(model: modelStream, instructions: instructions) let genOptions = generarSamplingMode(temperatura: temperatura, maxResponseTokens: maxResponseTokens, probabilityThreshold: probabilityThreshold, topK: topK, seed: semilla) let responseStream = sessionStream.streamResponse( to: prompt, options: genOptions) for try await partial in responseStream { withAnimation{ self.respuesta = partial.content t.createPartialTime() } } withAnimation{ t.stop() } } catch { // all the logic for errors } } Clarifications about the code: First of all, English is dominant on code but sometimes use Spanish, my native language, specially when terms overlap swift or framework ones; I have my own emoji rules to avoid characters an improve readability (at this moment I'm indie developer so I set the rules) The defer block is to free the button that launches the request
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Thank you! Developer feedback is vital to making Xcode even better. If you have any other feedback, please use the Feedback Assistant. You can access Feedback Assistant directly from Xcode, and use it to report issues you encounter or request enhancements to tools and services.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I am making an iOS step counting app and I have included a widget in the design. I would like to get the widget to pull data from the main app to display step count etc so I created a bundle id for the widget and have been trying to use a group id to link them together. The group capabilities for both seem to be set up/enabled properly with the same App Groups id, but I've been getting an error in xcode which says, 'Provisioning Profile: BUNDLE_ID doesn't include the com.apple.developer.security.application-groups entitlement.' Try Again But the identifiers do have the App Group id enabled. I have tried automatic signing, manual signing with generated profiles, unchecking and rechecking auto-signing, removing and re-adding the group capability. Creating a new bundle id from scratch, creating a new group id from scratch. Always I get the error. I've really pulled my hair out troubleshooting this and would appreciate support. I'm happy to answer and questions or share details. Thank you.
Thanks for the post, I am not familiar with the third party React Native. You should check with the support resources provided by the 3rd party to get assistance with their software. Unless another developer in the forums has experience with the third-party and can provide assistance. My sole recommendation is to ensure that your macOS is updated to the most recent version, as well as your Xcode. Additionally, I suggest contacting React Native support to inquire if they have encountered similar issues. Good luck. Albert Pascual
Worldwide Developer Relations.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
@Zhaocheng Please try the new Xcode that is currently in beta to see if fixes your issue. Let me know what results do you get please. Thanks @marceloamx Albert Pascual
Worldwide Developer Relations.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Hello Apple Developer Community, I'm experiencing an issue on macOS where ASWebAuthenticationSession fails to display its authentication window. The session is created successfully and start() returns true, but: no UI is shown, presentationAnchor(for:) is never invoked, the completion handler is never called, and no errors appear in Console.app or Xcode logs. This happens both when using the session via a Flutter plugin and when calling ASWebAuthenticationSession directly from Swift. Environment macOS 14.6 (Sonoma) Xcode latest stable Target: macOS 10.15+ App type: sandboxed macOS app, hardened runtime enabled The project also includes a Login Item (SMAppService) target Redirect URI scheme: myapp-auth://callback Problem Description When I trigger authentication, the logs show: [AuthPlugin] Starting ASWebAuthenticationSession... After that: no authentication sheet appears, presentationAnchor(for:) is never called, the completion handler is not invoked. The main window is visible and active wh
Topic:
Community
SubTopic:
Apple Developers
Xcode Version 26.2 beta 2 (17C5038g) iOS Version 26.2 (23C5044b) do { let response = try await AgeRangeService.shared.isEligibleForAgeFeatures // Handle response if response { print(Eligible for age features) } else { print(Not eligible for age features) } } catch AgeRangeService.Error.notAvailable { print(isEligibleForAgeFeatures not available error) } catch { print(isEligibleForAgeFeatures Unhandled error: (error)) } The above code snippet gets hang at the API call isEligibleForAgeFeatures could you please suggest what is wrong here
Topic:
App & System Services
SubTopic:
General
Tags:
Hello I'm wrapping my head around on how to properly set up xcode project to produce a static library Why? file locations /usr/local/lib/libXXX.a and /usr/local/include/XXX/xxx.h so it can be used Unix style in other projects That's not really the way that macOS works. I could write an old style Makefile and have xcode call the makefile but there must be an easier way to do this. What's wrong with a makefile? Xcode is designed to build iOS apps. There is no easy way to make it build open-source style archives and headers. And why should there be? Any open source project would be using standard tools to do this kind of thing. They would never, ever use Xcode. This is for a cross platform development so having it packaged into a Framework would not solve it neither. The Mac and Xcode are not useful for cross-platform development. Just use whatever standard tools fit your technical and social requirements - autotools, CMake, Google-build-engine-du-jour, whatever. Now
Topic:
Developer Tools & Services
SubTopic:
Xcode
Same here, my Mac Catalyst app is also stuck in Processing on TestFlight. I'm using XCode 26.1
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags:
Same here, my Mac Catalyst app is also stuck in Processing on TestFlight. I'm using XCode 26.1
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags: