Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,648 results found

Post

Replies

Boosts

Views

Activity

iOS Simulators Fail Download
I've been going through different fixes for a few weeks and nothing seems to work. Prior to updating everything to iOS 26 and OS 26, everything worked normally except for the predictive code which wouldn't download. Download failed. Domain: DVTDownloadableErrorDomain Code: 41 User Info: { DVTErrorCreationDateKey = 2026-01-02 23:41:12 +0000; } Download failed. Domain: DVTDownloadableErrorDomain Code: 41 Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({ RequestedBuild = 23C54; }) Domain: DVTDownloadsUtilitiesErrorDomain Code: -1 Download failed due to a bad URL. (Catalog download for com.apple.MobileAsset.iOSSimulatorRuntime) Domain: com.apple.MobileAssetError.Download Code: 49 User Info: { checkConfiguration = 1; } System Information macOS Version 26.0 (Build 25A354) Xcode 26.2 (24553) (Build 17C52) Timestamp: 2026-01-02T16:41:12-07:00 What I've Tried Cleared caches Restarted my machine Reinstalled Xcode Installed
1
0
184
1w
Hover effects w/ Compositor Services w/ PSVR2 controllers
Hi, I would like clarification on whether the new hover effects feature introduced in vision os 26 supported pinch gestures through the psvr 2 controllers. In your sample application, I was not able to confirm that this was working. Only pinch clicking with my hands worked. Pulling the trigger on the controller whilst looking at a 3d object did not activate the hover effect spatial event in the sample application. (The object is showing the highlight though) This is inconsistent with hover effect behavior with psvr2 controllers on swift ui views, where the trigger press does count as a button click. The sample I used was this one: https://developer.apple.com/documentation/compositorservices/rendering_hover_effects_in_metal_immersive_apps
0
0
385
1w
Reply to APNS always returning "discarded as device was offline"
gateway.push.apple.com is the legacy APNs endpoint which has been shutdown earlier in 2025. So, if that's the endpoint you are using your notifications will not work at all. But it would have stopped working back in the spring, not on December 13th. But in any case, if that is indeed the endpoint you are using, you need to update your push servers to use the new HTTP/2 protocol and the new endpoints. You can read more about the new APNs Provider API here: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns/ If you have issues after migrating to the new interface, or have technical questions about the migration, we are happy to help troubleshoot your push requests once you have started using the HTTP/2 protocol. Please understand that we are unable to help with the specifics of your server side implementation. Unfortunately we also cannot make recommendations on which 3rd party resources to use to make this
1w
Reply to In need of a sample receipt file that uses the SHA-256 hash
Ahh, finally found the right answer here: https://github.com/iterate-ch/cyberduck/issues/16031 Basically, the default behavior of hiding the actual Mac's MAC address is the cause for the problem (Privaty Wi-Fi Address): If the Mac rotates or replaces the primary network interface's MAC address, and my code still uses the old code that would fetch the MAC from the higher level APIs, it would get the wrong MAC, and then fail the receipt check. To fix this, the MAC has to be fetched from IOKit registry, e.g. as shown in https://developer.apple.com/documentation/appstorereceipts/validating-receipts-on-the-device or https://lapcatsoftware.com/articles/2023/11/4.html
1w
Right-clicking at the top edge of the menu bar doesn't trigger a statusitem action event any more in Tahoe
I have a program that installs an NSStatusItem button in the Menubar. It registers for both the right and left click events. Before Tahoe, clicking into the statusitem with the mouse at the very top of the menubar would also invoke the Action handler, be it a right or a left click. Now, with Tahoe, where the menubar height was changed from 24 to 30, left clicks at the top edge still trigger the Action event, but right clicks do not - they only work if moving the mouse a few pixels down. This is quite inconvenient - the idea of the menubar being at the edge of the screen was always that one can just push the mouse to the edge and then click to interact. Tahoe has broken this basic GUI concept now partially. And since left clicks still work, it suggests that I don't do anything wrong - the clicks are controlled by the framework, and I'm never asked to provide a frame in which the clicks shall be accepted. It's that Apple's code apparently now uses the smaller statusitem's bounds instead of the full men
Topic: UI Frameworks SubTopic: AppKit
0
0
58
1w
Reply to In need of a sample receipt file that uses the SHA-256 hash
I can't seem to edit the message now that I know a bit more. So, here's a reply instead. Turns out that the basic receipt validation does not use SHA-256. The message rather seems to come up when my app quits with exit code 173 due to the receipt being invalid (as in when the app was copied from a different Mac, and now the GUID doesn't match). Whereas older macOS versions would then re-fetch a new receipt (and optionally ask the user to authenticate again), this doesn't apparently happen any more (WhyTF not? Why not keep the old method and only use the new method when the app makes it known to support the new method?!) Forcing a re-fetch of the receipt by simply deleting and re-installing the app from the MAS doesn't appear to work either as the receipt appears to be cached somewhere (again WTF - why isn't macOS being cautious here and falls back to downloading it when the app keeps returning 173???) It appears the app now has to explicitly request a new receipt. With SKReceiptRefreshRequest, which
1w
Age Assurance Sandbox Testing - revoke vs declined
1)What's the relationship between Texas, child, 16-17, significant change declined from my 11:03 screenshot below and revoking? ie what situation could someone decline but not revoke or vice versa, what is the purpose of the distinction in testing or legally or implications/implementation 2) What is a cause besides a typo to receive the Can't trigger notification titled message after using Revoke? you can see by my screenshot by comparing the left and right half there is no title. 3) Even if i find a workaround perhaps my info will help someone else or be an opportunity for improved documentation see: see my 5:54pm second screenshot
0
0
63
1w
Reply to Swift UI View is to small
Thanks. Image is 300 * 300, so it does not fill the screen. What do you expect ? The view to fill the screen ? Something else ? Or is the problem with the space at the top ? In this case, see this: https://codecrew.codewithchris.com/t/remove-white-space-navigationview-ios-foundations-m5-wrap-up/15656 ; even though it seems you have already put navigationTitle as indicated. I do not see where you call RecipeView (in code, not Preview). Did you set the size of the frame for this RecipeView ? Note: for testing purpose set the background of RecipeView to some color, as yellow, so that you see it clearly.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
Reply to Icon composer icon contains alpha channel upload error
I am also running into this error. (Jan 2026) Xcode v26.2. Icon Composer 1.2 (76) Looking at the release notes above, the issue has not been resolved. Error message I get: Invalid large app icon. The app icon in the asset catalog -app name- can't be transparent or contain an alpha channel. My two cents, it might be due to the automated compiler for the apple App Store distribution SDK they use to review apps quickly before it goes to a real person. This might be due to the new Liquid Glass UX/UI update. I was really excited to try it, but until it gets fixed, I don't think we will get app icons being Liquid Glass anytime soon. Might be due to the fact that, I have the lowest version of iOS 17, which might not recognize it yet. I wonder if it is only for iOS 26 uploads? no idea.
1w
In need of a sample receipt file that uses the SHA-256 hash
My app that's been around since the dawn of the Mac App Store, and which uses its own receipt validation code for 15 years now, recently sometimes triggers a does not support the latest receipt validation requirements error message with my app's users. But I cannot reproduce it, even if I freshly install the app on a M4 Mac running macOS 26.2. So I have a hard time testing my fix. Does someone have a sample receipt file they could share with me (including the MAC from en0 / GUID device ID), or do you know where I can find one that uses the new SHA-256 hash? In fact - when reading https://developer.apple.com/documentation/appstorereceipts/validating-receipts-on-the-device it seems that there's only a SHA-1 after all. So why do some users get the receipt validation requirements message at all? I'm only reading the receipt, decoding the ASN.1 fields and then validate the hash from the receipt (field 5) against the SHA-1 from the GUID+receipt, as always, calling libCrypto's SHA1() function. So, what woul
3
0
179
1w
Sporadic "no route to host" over ssh
When connecting to my M1 mac mini over ssh, certain programs are often unable to reach network destinations in the corporate LAN, although they can usually reach external addresses like www.apple.com. For example, a java program attempting to download from teamcity.dev.corp.com:8111 often fails like: java.net.NoRouteToHostException: No route to host Running the exact same command from the Apple Terminal program works like normal, simply connecting over ethernet on en0 to a TeamCity server inside the same building. Basic diagnostics from the ssh session do not show anything unusual: > traceroute teamcity.dev.corp.com traceroute to teamcity.dev.corp.com (10.21.4.1), 64 hops max, 40 byte packets 1 teamcity.dev.corp.com (10.21.4.1) 1.702 ms 0.409 ms 0.336 ms > route -n get teamcity.dev.corp.com route to: 10.21.4.1 destination: 10.21.4.1 interface: en0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 1194 > uname -a Darwin mac 25.1.0 Darwin Kernel Version 25.1.0: Mon
3
0
91
1w
Reply to My app crashes on startup in iOS 26
As far as I understand Core Data - and who really understands it, really? - an entity will have an ObjC class generated for it, so you've just unfortunately used a name that Apple is now using for a class in one of their private frameworks on iOS 26. As you've seen, renaming your entity fixes the issue because your new entity's generated class no longer has the same name, and so the compiler isn't seeing two classes with the same name. As a general rule, avoid using names anywhere in your code that start with three capital letters, i.e. PSSegment. It's tempting to use your own name to name classes, and in your case perhaps you would name something HHSegment (because: HeezerHiker). Apple use this convention, so you should try and avoid it. For example, NSString == NS String == NextStep String. You could use something like HHEntitySegment, or the name of your app, i.e. MyAppSegment.
1w
Reply to Swift UI View is to small
Ok, so the same problem is also with the simulator (iPhone 17). Sorry for that. Here is the Code for the ListItem: import SwiftUI struct RecipeListItem: View { let image: Image let title: String let subtitle: String let category: String let kitchenDevice: String let istTermomix: Bool var body: some View { ZStack { VStack(alignment: .leading, spacing: 16) { image .frame(width: 300, height: 300) VStack(alignment: .leading, spacing: 12) { // Title & Subtitle block with rounded background VStack(alignment: .leading, spacing: 4) { Text(title) .foregroundStyle(.background) .font(.title2.bold()) Text(subtitle) .foregroundStyle(.background) .font(.caption) } .padding(12) .background( RoundedRectangle(cornerRadius: 20, style: .continuous) .fill(Color.primary) ) HStack { // Details block with rounded background VStack(alignment: .leading, spacing: 4) { Text(category) .foregroundStyle(.background) .font(.caption) Text(kitchenDevice) .foregroundStyle(.background) .font(.caption) if istTermomix { Text(Termomi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w