Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,639 results found

Post

Replies

Boosts

Views

Activity

Reply to Background App Refresh
I think I understand what you are saying; however, with the code I have above, wouldn't the task run after the app being closed for a minute? Note that NSTimeInterval is based on seconds, not minutes, so a value of 1 is one second, not one minute. or is there an error in that code? There isn't an error in your code as such; however, I think you've misunderstood what the API means. The key issue is here: request.earliestBeginDate = Date(timeIntervalSinceNow: 1) The earliestBeginDate property is the system’s earliest time the system is allowed to run your task. That is, if you set that interval to 3600 (1 hour in seconds), then the system guarantees that it won't run your task until at LEAST 1 hour from now. The key words there are at LEAST“ - that is, the system is ONLY guaranteeing that the work won't run BEFORE that time, NOT making any promises about when the work will fire AFTER that time. The thing to understand here is that the larger goal here is to let the system better manag
1w
Reply to Announcing the Swift Student Challenge 2026
[quote='870922022, XXY_CH, /thread/806582?answerId=870922022#870922022, /profile/XXY_CH'] I am a bit confused about the 25MB limit for zip file size [/quote] You submit your source code and its required resources as a zipped up app playground (.swiftpm). The submission size limit applies to that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
Altool cannot authenticate with a managed Apple account
I am trying to list the providers on a managed Apple account using altool but I am getting an error. I am using the following command: xcrun altool --list-providers -u -p The error message indicates that a general error has occurred but does not specify what the root cause may be. 2026-01-05 11:13:29.272 ERROR: [altool.600001E6C1C0] Auth context delegate failed to get headers. Error Domain=ITunesConnectFoundationErrorDomain Code=1611 Unable to generate an Apple Connect token at this time due to a general error UserInfo={NSLocalizedDescription=Unable to generate an Apple Connect token at this time due to a general error} Failed to get providers. 2026-01-05 11:13:29.273 ERROR: [altool.600001E6C1C0] Unable to generate an Apple Connect token at this time due to a general error (1611) This command worked before the Apple ID was converted to a managed account. I have tried other managed accounts, as well as creating new app specific passwords but all fail with the same error. How can I accomplish this ta
0
0
34
1w
Switching personal account to organizational
I submitted a request to change the name on my developer account to my business name on November 29th. I did this because I don't want my personal info to be shown in the EU trader contact info. I submitted all required documents and the duns number on December 4th and the page said I would hear a response in two days. I have put in over three dev support requests and have yet to hear back from Apple in over one month now. The only way I could get a hold of someone was to reply to a very old email thread and they said it's not their department and I'll have to continue to wait. This is absolutely bizarre and unprofessional from Apple. Will I be compensated extra time on my dev subscription for having my account locked for over a month? This has delayed my app development because I am not able to sign any app bundles and I can't even use the sim because my team id must be changed because Google sign in doesn't recognize the team id anymore. This is ridiculous.
0
0
31
1w
macOS Tahoe generates low resolution wallpapers on certain Mac models
Dear Apple, please make sure this bug gets delivered to whoever is responsible. That's all I ask. Please don't let it sit for months unassigned. This is, by far, the worst bug I've ever found with the macOS wallpaper system. FB21532401 If you own a 13 2020 or newer MacBook pro model, set to the default resolution, and are running macOS Tahoe, macOS will significantly degrade the quality of any image set as wallpaper. When a still image is set as the wallpaper on macOS Tahoe, on some display configurations, the systems downscales the image to an incorrect size, resulting in pixelated wallpaper. The problem is exacerbated by the fact that macOS Wallpaper Agent appears to be using a less than ideal downscaling algorithm, which results in Super Mario Bros’ type pixelation (nearest neighbor) as opposed to any other reasonable modern method (like bicubic.) The issue does not repro on macOS Sequoia. Every model MacBook we’ve tested offers some resolutions with some form of this problem, but the 13” is the only one w
Topic: Design SubTopic: General
0
0
281
1w
Reply to LanguageModelSession with multiple tools and structured outpout
Hello! Sorry for the delay, most of us at Apple have been on winter break :) For this particular problem, we don't currently have a great solution. To be clear, from your description I'm interpreting your problem as: Given 2 tools Tool A and Tool B Each tool should return a different kind of structured output, OutA and OutB. Currently the model can correctly choose between Tool A and Tool B, but you're stuck with the model returning a single type: either string, OutA, or OutB. But really you want OutA or OutB depending on the user's query. The best I can currently offer you is a workaround, which would work as follows: Create a struct kinda like a view model (let's call it ResponseViewModel), that you give Tool A and Tool B upon initializing each tool. Still use the model to choose the correct tool based on the user's requests, and let the model call Tool A or Tool B with the correct dynamically-generated arguments. If Tool A is called, in the call body, set the return structure you want, OutA, on th
1w
Reply to SwiftUI, iOS 26.2, ToolbarItem .largeTitle and .title, overlap issue
Thank you for your post and the excellent animation that illustrates the result of the code. This is a very interesting issue, I personally have not seen this issue but other engineers here may have seen it and they can jump in this thread to provide an insight. In the meantime I would like to get familiar with the issue if any, Upon reviewing the code, I recommend implementing a focus sample that can be downloaded and tested across various iOS 26 release versions. Based on the code snippet you provided, it appears that you are experiencing an issue with custom toolbar items when using a placement in iOS 26 beta. Could you please specify which beta you are referring to? Is it the newest release beta? Providing more details will enable us to consult the release notes to ascertain whether there are any known issues or notes regarding toolbar items in the iOS 26 beta release notes. This could indicate a beta-specific bug. If you are able to create a focused sample, please share a link
Topic: UI Frameworks SubTopic: SwiftUI
1w
Reply to Deterministic AI Safety Governor for iOS — Seeking Feedback on App Review Approach
Hi there! Sorry for the long delay, at Apple we were on winter break. :) Are there specific App Review guidelines I should reference for AI safety claims? Any recommendations for demonstrating safety compliance during review? For these two questions, there are no one specific App Review guidelines for AI-safety, since the guidelines are meant to be broad enough to cover a wide range of technologies. Be sure to be familiar with Section 1. Safety and Section 2. Legal, since those topics tend to have the most overlap with AI safety. Currently App review does fairly minimal testing of your model feature, so you don't need to provide any specific documentation, but the onus is on you as a developer to do due diligence in safety testing your feature. Here are some resources that can help: Improving the safety of generative model output Acceptable use requirements for the Foundation Models framework Is there interest from Apple in deterministic governance layers for Apple Intelligence integration?
1w
Activation Lock Bypass Code
We are having issues working with bypass codes the server creates when initiating Activation Lock through MDM. We are able to use the device-generated bypass codes without issue. When using the end point to request activation lock as specified in https://developer.apple.com/documentation/devicemanagement/creating-and-using-bypass-codes/ we get a 200 response. But when using the endpoint to bypass the activation lock, we get a 404 response. If we try to manually input the activation lock bypass code, it also does not work. Both of these methods work with the device-generated bypass codes. Just to clarify when testing the server generated codes, we ensured that we did not test the device-generated codes. All of this was tested on iOS devices. Created feedback ticket FB21365819 with device specific details.
0
0
540
1w
Change account from Enterprises to Public
We need clarification on the following scenario and whether the requested actions are possible. Currently, we have an Enterprise iOS application that is distributed internally through Microsoft Intune using an Enterprise Apple Developer account. We are now planning to release the same application publicly via the Apple App Store using an App Store (public) Apple Developer account. While attempting to create a new app in App Store Connect, we are unable to proceed because the Bundle Identifier is already registered under the Enterprise account, and Apple does not allow creating another app with the same identifier. We would like clarification on the following points: Is it possible to move or transfer an app (or its Bundle Identifier) from an Enterprise Apple Developer account to a Public/App Store Apple Developer account? If yes, what is the recommended process to do so? If not, what alternatives are available while retaining the same Bundle Identifier? 2. If the app is successfully published on the
0
0
64
1w
SwiftUI, iOS 26.2, ToolbarItem .largeTitle and .title, overlap issue
I built this very simple example to demonstrate the issue im facing on iOS 26 when trying to use custom ToolbarItem element for .largeTitle. Code: struct ContentView: View { var body: some View { NavigationStack { Screen() .navigationTitle(First) .toolbar { ToolbarItem(placement: .largeTitle) { Text(First) .font(.largeTitle) .border(Color.black) } } .navigationDestination(for: Int.self) { integer in DestinationScreen(integer: integer) } } } } struct Screen: View { var body: some View { List { ForEach(1..<50) { index in NavigationLink(value: index) { Text(index.description) .font(.largeTitle) } } } } } struct DestinationScreen: View { let integer: Int var body: some View { HStack { Text(integer.description) .font(.largeTitle) Spacer() } .padding() .navigationTitle(integer.description) .toolbar { ToolbarItem(placement: .largeTitle) { Text(integer.description) .font(.largeTitle) .border(Color.black) } } } } As shown on the gif, when navigating between pages, titles are going to overlap for a short wh
Topic: UI Frameworks SubTopic: SwiftUI
1
0
91
1w
Reply to [DriverKit SCSI] SCSI probe stalls for Target ID > 0 with IOUserSCSIParallelInterfaceController
Hi Kevin, Thank you very much for your guidance. I am happy to report that the issue has been resolved. I would like to share the root cause and the final solution here in case it helps other developers facing similar issues. As you suspected, it was indeed a bug in our code regarding capability reporting. Although we were successfully calling AsyncCreateTargetForID(1), the macOS SCSI stack was silently aborting the probe sequence after the initial TEST UNIT READY command. The issue was located in our implementation of UserReportHighestSupportedDeviceID. We were mistakenly hardcoding the return value to 0: // Buggy implementation kern_return_t IMPL(DRV_MAIN_CLASS_NAME, UserReportHighestSupportedDeviceID) { *id = 0; // Reported that the HBA only supports ID 0 return kIOReturnSuccess; } Because the HBA reported a maximum supported ID of 0, the macOS SCSI Family treated Target 1 as an out-of-bounds device. While the object was instantiated and visible in ioreg, the kernel refused to Register or Match it
Topic: App & System Services SubTopic: Drivers Tags:
1w
Reply to 通过Advanced commerce API 创建SKU的疑问
感谢给我们提出问题。以下是针对你的问题的解答: 1.You need to provide offer / promotion at the time of purchase using https://developer.apple.com/documentation/advancedcommerceapi/offer 2.A customer can subscribe to different SKUs via Advanced commerce API, and different subscription groups via regular IAP which created by App Store Connect. You may migrate a subscription that a customer purchased through In-App Purchase to a subscription you manage using the Advanced Commerce API, but it not mandatory. https://developer.apple.com/documentation/advancedcommerceapi/migrate-subscription-to-advanced-commerce-api The product identifier you create in app store connect is generic product identifier. Generic product Identifiers only contain placeholder information for prices, localizations, and subscription periods and is overridden at the time of purchase. It is suggest to provide a different SKU identifier at runtime. Note: You assign a SKU to each product, along with other information such as the display name, description, and
Topic: App & System Services SubTopic: StoreKit Tags:
1w
Extreme increase in app storage size after enabling CloudKit
I have a SwiftData flashcard app which I am syncing with CloudKit using NSPersistentCloudKitContainer. While syncing itself is working perfectly, I have noticed a dramatic increase in the app size after enabling sync. Specifically, without CloudKit, 15k flashcards results in the default.store file being about 4.5 MB. With CloudKit, default.store is about 67 MB. I have inspected the store and found that most of this increase is due to the ANSCKRECORDMETADATA table. My question is, does implementing CloudKit normally cause this magnitude of increase in storage? If it doesn’t, is there something in my model, schema, implementation, etc. that could be causing it? Below are two other posts describing a similar issue, but neither with a solution. I replied to the first one about a month ago. I then submitted this to Developer Technical Support, but was asked to post my question in the forums, so here it is. Strange behavior with 100k+ records in NSPersistentCloudKitContainer Huge increase in sqlite file si
2
0
127
1w