Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,663 results found

Post

Replies

Boosts

Views

Activity

Reply to AppIntents
It doesn't make much sense to make Statistics as an AppEntity as this is only computed as a result. You're spot on with that thought, which is why there's TransientAppEntity. There's even an example of generated statistics to show this API off in a sample code project — take a look at the ActivityStatisticsSummary structure in that project! — Ed Ford,  DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
How to install cocoapods and pod
Hi, I am developing IOS(Android App) with React Native. I am very confused about cocoapods and pod and how to correctly install it on my new Macbook Pro M4. I am not using bash but I am using zsh. Note, actuallywhich pod return nothing During the preparation of my environment, it say CocoaPods is one of the dependency management system available for iOS. CocoaPods is a Ruby gem. You can install CocoaPods using the version of Ruby that ships with the latest version of macOS. the web site show two commands gem install cocoapods sudo gem install cocoapods I saw another command as well brew install cocoapods During different processes, I experienced several time the following error (Command 'pod install failed) Command pod install failed. └─ Cause: pod install --repo-update --ansi exited with non-zero code: 1 Then I am confused about cocoapods and pod. Are both he same? With my previous MacBook pro, I spend time to install cocoapod on my profile because Ruby was not the latest version on the sys
2
0
170
1w
Reply to My app crashes on startup in iOS 26
Three letter prefixes are the recommendation here to avoid runtime name collisions with Apple's system frameworks for exactly this reason, and that advice is in the Objective-C Programming Guide: Two-letter prefixes like these are reserved by Apple for use in framework classes [...] Your own classes should use three letter prefixes. — Ed Ford,  DTS Engineer
1w
Reply to Once started, NWPathMonitor appears to be kept alive until cancelled, but is this documented?
Out of curiosity, is it possible to set a cancellation handler for the class-based API using an NWPathMonitor instance? i.e. is there a way to derive a nw_path_monitor_t from such an instance? No, I don't think so. The development path from the original C library to the modern Swift syntax was a bit messy, and I don't think we really made any effort to provide a path between the two. They were intended to be direct replacements for each other, so there wasn't really any reason to switch between the two. A few other suggestions/notes that may be useful to be aware of: Some of the C APIs’ design has more to do with API symmetry than useful functionality. Case in point, I have a very difficult time thinking of any reason why you'd actually need a cancellation handler for NWPathMonitor. It's a lightweight object (notably, it doesn't do any actual networking”) and I can't really think of any reason why you'd care about when it ACTUALLY finished cancelling. The primary reason the C API exists is f
1w
Unable to reset simulators
I'm unable to reset simulators using the menu or the xcrun simctl tool: == Devices == -- iOS 17.5 -- iPhone SE (3rd generation) (5A06623A-173D-4C96-8DD3-3E9FE39A06F1) (Shutdown) iPhone 15 (iOS 17.5) (F4329E8D-29BB-4EA7-8465-C11A98D04ED7) (Shutdown) -- iOS 18.0 -- iPhone SE (3rd generation) (2DDE8F03-F8E1-4C1B-8E28-CD9B208F3FFA) (Shutdown) iPhone 16 Pro (DE788688-8AC6-40A0-B25C-A56AA423798E) (Shutdown) iPhone 16 Pro Max (1405184C-36A9-40F3-B0D0-4EEB88452883) (Shutdown) iPhone 16 (0CBBA7DB-B20E-4F17-BBC5-910F1F6E1A0A) (Shutdown) iPhone 16 Plus (95421C27-11A0-4FCF-A889-DAAE8557B271) (Shutdown) == Device Pairs == ~/Library`` ❯ xcrun simctl erase 0CBBA7DB-B20E-4F17-BBC5-910F1F6E1A0A An error was encountered processing the command (domain=NSCocoaErrorDomain, code=513): “data” couldn’t be moved because you don’t have permission to access “Deleting-8FEDFF47-5B2F-4534-BCA2-036BBE68CE37”. You don’t have permission. To view or change permissions, select the item in the Finder and choose File > Get Info. Und
4
0
1.7k
1w
Reply to Unable to enable Finder Sync Extension
Hi, I am developing a NSReplicatedFileProvider extension. Part of that, I am also doing a Finder Sync Extension, but I am for whatever reason unable to enable the extension. What am I missing? Why are you trying to do this? Practically speaking, NSReplicatedFileProvider should be able to do everything Finder Sync Extension did (plus a lot more, obviously). Is there anything else I need to enable for it? Two points: Have you used FIFinderSyncController.showExtensionManagementInterface() to enable it? Having said that, I'm not sure you'll be able to use NSReplicatedFileProvider and Finder Sync together. The system only supports having one owner per directory, which creates a conflict between the two extension points. Expanding on #2, I haven't specifically tested this, but I wouldn't be surprised if the system resolved this issue by simply having the replicated provider supersede the Finder Sync extension. I don't think that would prevent the extension from loading, but it would mean
Topic: App & System Services SubTopic: Core OS Tags:
1w
[Matter] Device cannot be commissioned to Google Home through iOS
Hi, We are facing the issue of commissioning our Matter device to google home through iOS device will be 100% failed. Here is our test summary regarding the issue: TestCase1 [OK]: Commissioning our Matter 1.4.0 device to Google Nest Hub 2 by Android device (see log DoorWindow_2.0.1_Google_Success.txt ) TestCase2 [NG]: Commissioning Matter 1.4.0 device to Google Nest Hub 2 by iPhone13 or iPhone16 (see log DoorWindow_2.0.1_Google_by_iOS_NG.txt ) TestCase3 [OK]: Commissioning our Matter 1.3.0 device to Google Nest Hub 2 by iPhone13 In TestCase2, we noticed that device was first commissioned to iOS(Apple keychain) then iOS opened a commissioning window again to commission it in Google’s ecosystem, and the device was failed at above step 2, so we also tried: Commissioning the device to Apple Home works as expected, next share the device to Google Home app on iOS, this also fails. Commissioning the device to Apple Home works as expected, next share the device to Google Home app o
1
0
106
1w
Double Charge and Pending Membership
Hi Apple Developer Support Team, I placed a membership order on 12/27/2025 — Order #W1642892477 — and I’m running into two issues: Possible duplicate charges I was first charged on the card ending **73, but the site then indicated the charge did not go through. However, I can see the deduction on my card. I then tried again using my second card ending **53, and I also see a deduction there. Please confirm whether both charges actually captured or if one is only a pending authorization. If both captured, please refund the duplicate charge. Membership still shows “Pending” Even though payment appears successful, when I log in my membership status still shows Pending. I also have not received any approval/activation/confirmation email. Could you please: Confirm the payment status for Order W1642892477 (including both cards), Activate my membership, and Let me know how long activation normally takes and whether there’s any action needed from my side? Thank you, Raymond.
4
0
112
1w
Apple CDN connection error after changing server ip version to v6
The universal links for my apps stopped working. The server where the AASA files where hosted worked on IPV4 exclusively, a few days ago i changed the configuration to IPV6 only. I´ve created new IPV6 entries, renewed all certifactes and deleted all IPV4 entries for the domains. All seemed fine, but at Saturday I realized that my universal links stopped working for new user. What i´ve done to find the issue: Example domain that was used for debugging: https://developffw.burns.fun I´ve verified the AASA file is hosted properly by using different browsers and Postman to retrieve it. The file can be accessed and the certificates look fine. Output of curl -v https://developffw.burns.fun/.well-known/apple-app-site-association * Host developffw.burns.fun:443 was resolved. * IPv6: 2a01:4f8:13b:340a::2 * IPv4: (none) * Trying [2a01:4f8:13b:340a::2]:443... * schannel: disabled automatic use of client certificate * ALPN: curl offers http/1.1 * ALPN: server accepted http/1.1 * Established connection to
5
0
142
1w
I'm currently using macOS 26 and Xcode 26, but I'm unable to download iOS 26 simulators.
Download failed. Domain: DVTDownloadableErrorDomain Code: 41 User Info: { DVTErrorCreationDateKey = 2025-10-26 06:59:38 +0000; } Download failed. Domain: DVTDownloadableErrorDomain Code: 41 Failed fetching catalog for assetType (com.apple.MobileAsset.iOSSimulatorRuntime), serverParameters ({ RequestedBuild = 23A8464; }) 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.1 (Build 25A362) Xcode 26.0.1 (24229) (Build 17A400) Timestamp: 2025-10-26T17:59:38+11:00
19
0
977
1w
OSSystemExtensionsWorkspace on iPadOS
Hello! I have app (macos and iPadOS platforms) with empbedded DEXT. The DEXT executable runs fine on both platforms (ver 26.2). Trying to execute from iPad App code: let sysExtWs = OSSystemExtensionsWorkspace.shared let sysExts = try sysExtWs.systemExtensions(forApplicationWithBundleID: appBudleId) but always getting OSSystemExtensionError.Code.missingEntitlement error. Which entitlement am I missing? Thank You!
1
0
130
1w
[DriverKit SCSI] SCSI probe stalls for Target ID > 0 with IOUserSCSIParallelInterfaceController
Hello everyone, We are migrating a KEXT storage driver to DriverKit. In our KEXT, we use a one LUN = one Target model and successfully create multiple targets in a loop during initialization. We are now trying to replicate this architecture in our DEXT. The issue is that only Target 0 is fully probed and mounted. For Target 1, the lifecycle silently stops after the first TEST UNIT READY command is successfully acknowledged. The macOS SCSI layer never sends any subsequent probe commands (like INQUIRY) to this target. The failure sequence for Target 1, observed from our logs (regardless of whether Target 0 is created), is as follows: AsyncCreateTargetForID(1) -> UserInitializeTargetForID(1) (Succeeds) UserProcessParallelTask(Target: 1, Opcode: TUR) (Succeeds) The DEXT correctly acknowledges the TUR command for Target 1 by returning kSCSITaskStatus_CHECK_CONDITION with UNIT ATTENTION in the Sense Data (Succeeds) <-- Breakpoint --> UserProcessParallelTask(Target: 1, Opcode: INQUIRY) (Never happens) Throu
3
0
177
1w