Search results for

NSCocoaErrorDomain

1,063 results found

Post

Replies

Boosts

Views

Activity

How to use Family Controls in Mac Catalyst? Sandbox restriction
Hey, I am trying to use Family Controls in Mac Catalyst. On the iOS app it works fine. On macOs using Mac Catalyst it builds fine but I get following console output. Failed to get service proxy: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.FamilyControlsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.FamilyControlsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction.}` When i try to open the FamilyActivityPicker on the macOs app following error is displayed in the GUI. The operation could not be completed. (FamilyControls.ActivityPickerRemoteView Error error 2.) Do I need a familyControls capability for macOs? If yes, I only find it for iOS. Thanks for hints and help :)
1
0
1.4k
Apr ’24
Reply to Xcode Cloud Invalid Signature TN2206 error
Hi! I keep stuck here, I tried with another account and the error didn't appear, the problem, the account is not mine. I need to fix this. I think that this error is something happening in my xcode account, even after removing de Xcode cloud data and making all from scratch in my account. Looks like it's a problem in my account and I don't find a solution so I write to apple a couple of days ago requesting help because I am desperate to fix that. Another conclusion that I arrived is that the error that xcode cloud shows at first is not valid. iOS fails in the logs with the same errors but the conclusion error is diferent (the first one that I published). For some reason my xcode cloud is not able to communicate with App Store Connect as this error shows 2024-03-30 16:52:51 +0000 App Store Connect request for store configuration failed for account Session Proxy Provider (Account Session Proxy Provider: Unable to authenticate with App Store Connect (Error Domain=DVTITunesSoftwareServiceFoundation.DVTServicesSes
Apr ’24
FamilyControls on Mac Catalyst
I'm testing FamilyControls with Mac Catalyst. Child account signed in. Code: try await AuthorizationCenter.shared.requestAuthorization(for: .child) Target: I had a few obstacles: Passed - App was sandboxed and could not connect to FamilyControlsAgent Sandbox: macOSFamily(1967) deny(1) mach-lookup com.apple.FamilyControlsAgent Violation: deny(1) mach-lookup com.apple.FamilyControlsAgent Passed - Apple Family app was getting errors in Console. Managed to pass this after enabling screen time and a restart (not sure what wah. The connection to service named com.apple.contactsd.persistence was invalidated: failed at lookup with error 159 - Sandbox restriction. Persistent store service connection invalidated: failed at lookup with error 159 - Sandbox restriction Blocking - It seems that the required agent - com.apple.FamilyControlsAgent - is not running/doesn't exist. [authorization] Failed to get service proxy: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.FamilyContr
1
0
1.6k
Mar ’23
FilterDataProvider fails installation intermittently and device looses internet
We have a network content-filter consisting of a main target/GUI, a FilterDataProvider extension and a FilterControlprovider extension. The app is installed via MDMs and works without issues the vast majority of times, but during testing of TestFlight builds we've found that intermittently the device fails to install the network extensions and blocks internet access. The GUI is working fine though. From the logs we can see that when this happens the device tries to start the network extensions repeatedly. The issue is solved by restarting the device. Has anyone experienced similar issues or have some ideas of what might cause this behaviour? These are some of the logs we see in Console: neagent [u E6D696F2-62FB-4262-A97C-B2006EC528C5:m (null)] [()] Hub connection error: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named .FilterDataProvider ugDescription=connection to service named .FilterDataProvider}code-block Failed to start the data extension .FilterDataProvider: Error Domain=NSCocoaErrorDomain
3
0
814
Mar ’24
Make my app quit and reopen when updating it with .pkg
Context: Our app has a network system extension. After updating it via MDM sometimes the app and the extension have different versions until you restart the app. I suspect that it is because the app is not quit before installing. As a fix I am trying to create a .pkg with preinstall and postinstall script, that would close the app before installation and open it after installation. My code: FileUtils.mkdir_p(install_scripts) File.open('install_scripts/preinstall', 'w') do |file| file.puts #!/bin/bashnosascript -e 'quit app #{options[:app_name]}'nexit 0 end File.open('install_scripts/postinstall', 'w') do |file| file.puts #!/bin/bashnopen -a '#{options[:app_name]}'nexit 0' end sh chmod a+x install_scripts/preinstall sh chmod a+x install_scripts/postinstall sh( pkgbuild, --scripts, install_scripts, --identifier, ***_identifier(options), --component, ../#{options[:build_path]}/#{options[:app_name]}.app, --install-location, /Applications/#{options[:app_name]}.app, Distribution.pkg ) sh( productbuild, --synthesize
2
0
1.1k
Mar ’24
Reply to ShareLink not reliable, entitlement errors
I'm Facing a similar issue: ShareLink(item: viewModel.file.localURL!) { Image(systemName: square.and.arrow.up) .environment(.symbolVariants, .none) } and I'm getting: Error acquiring assertion: (501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction.} Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 Client not entitled UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErr
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’24
Code=4097 "connection to service named com.apple.storekitd"
StoreKit don't work with iOS 17.4. After updating to iOS 17.4 our users can't make any purchases in App. Its very critical bug that affected our App. : Error in remote proxy while checking server queue: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.storekitd UserInfo={NSDebugDescription=connection to service named com.apple.storekitd} [df94_SK2] Failed in XPC product request products(IDs: [report]): Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.storekitd UserInfo={NSDebugDescription=connection to service named com.apple.storekitd} Does anyone know what to do?
1
0
1.7k
Mar ’24
[RealityKit] Cannot OpenImmersiveView
I was developing my project just like HappyBeam, having a mechanism that after playing a small game round, a main menu pops up letting player to play again or back to main menu. When I start my first game after installing it on my vision pro, it works fine, which was basically like HappyBeam, counting from 3 to 1 then await openImmersiveView(id: xxx) to entering my game. After finish the round, I call await dismissImmersiveView() and reset my game ready for the next move. Letting player to choose play again or back to menu to continue my game. However, this time, when my counter counting 3 to 1, the immersive view didn't show up and the visionOS menu showed up instead (I guess it's because immersive view cannot be open). Some error showed in my logger are below scene request failed to return scene with error response : ------------------------------------------------ Unable to present an Immersive Space for id 'ImmersiveSpace': Error Domain=FBSWorkspaceErrorDomain Code=1 scene invalidated before create comp
1
0
942
Mar ’24
Reply to IAP returned an error "Couldn't communicate with a helper application" on iOS 17.4
The issue has been resolved. We found that setting the product name parameter of Xcode to more than 10 Chinese characters can lead to IAP failure. I don't know if this is a deliberate restriction by Apple or a bug in iOS 17.4. when we using SKProductsRequest to request product information, StoreKit will throw the following exception message: [c3d9_SK1] Failed in XPC product request products(IDs: [xsdqxz_tehui_1]): Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.storekitd UserInfo={NSDebugDescription=connection to service named com.apple.storekitd}
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’24
Reply to UIFontPickerViewController screen font is broken or black screen issue
When this error message appears, the app also dies. 3 = Error acquiring assertion: (501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction.} Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 Client not entitled UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 Client not entitled UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedF
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’24
Reply to UIFontPickerViewController screen font is broken or black screen issue
When this error message appears, the app also dies. 2 = Error acquiring assertion: (501) personaAttributesForPersonaType for type:0 failed with error Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction.} Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 Client not entitled UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 Client not entitled UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedF
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’24
Reply to Passkey from my macOS Credential Provider Extension is not being offered by AutoFill
Thanks so much for getting back to me @garrett-davidson . I've filed a request through the Feedback Assistant, and I hope you don't mind that I also ask you a little bit more in this thread. Firstly, the passkey logs via the terminal didn't yield anything very informative (I've pasted the logs all the way at the bottom). Secondly, I realized that in my original post I didn't mention that there is a potentially relevant error that appears in the system console when I attempt to authenticate using the newly created passkey: error 15:12:15.084213+0100 AuthenticationServicesAgent 0 No matched credentials are found in the platform attached authenticator. Here is the error in the context of the surrounding console errors (just in case any of these other errors reveal something that I'm not picking up on): error 15:12:15.082058+0100 nfcd 0 Logging -[_NFHardwareManager listener:shouldAcceptNewConnection:]:84 PID 1573 () missing entitlement: com.apple.nfcd.hwmanager error 15:12:15.082315+0100 AuthenticationServicesAg
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’24
DNS Proxy extension not launching
Hello! I created a simple DNS filter application for iOS but the extension is not launching. I am getting this log message in the console. Failed to start extension edu.stanford.stilakid.testDnsFilter.DNSFiltering: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named edu.stanford.stilakid.testDnsFilter.DNSFiltering.apple-extension-service UserInfo={NSDebugDescription=connection to service named edu.stanford.stilakid.testDnsFilter.DNSFiltering.apple-extension-service} For another project with the same code for dns filtering but different bundleID, I also got the following log message. Failed to start extension edu.stanford.sml.rdahlke.controlShift.DNSProxy: Error Domain=PlugInKit Code=4 RBSLaunchRequest error trying to launch plugin edu.stanford.sml.rdahlke.controlShift.DNSProxy(D26CD63C-4656-4A30-99A0-7C867265DD75): Error Domain=RBSRequestErrorDomain Code=5 Launch failed. UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0xc62b8c0d0 {Error Domain=NSPOSIXErrorDomain
5
0
1.1k
Mar ’24