Post

Replies

Boosts

Views

Activity

Reply to Nearby Interactions, wih camera assistance
so the BluetoothManager.scan... was a hardware problem. now I see {"msg":"#Warning Error reading file", "file":"//private/var/Managed Preferences/mobile/com.apple.CoreMotion.plist", "error":"Error Domain=NSCocoaErrorDomain Code=257 "The file “com.apple.CoreMotion.plist” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=//private/var/Managed Preferences/mobile/com.apple.CoreMotion.plist, NSURL=file:////private/var/Managed%20Preferences/mobile/com.apple.CoreMotion.plist, NSUnderlyingError=0x14cc64ea0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}"} I have the motion privacy tag in the plist for the code doing request camera assistance in the connect handler for the nearby operation.. in setup accessory dump of capabilities direction = false device does not support direction measurement device DOES support camera assistance here is the code logger.info("dump of capabilities direction = \(NISession.deviceCapabilities.supportsDirectionMeasurement)"); if(!(NISession.deviceCapabilities.supportsDirectionMeasurement)){ logger.info("device does not support direction measurement"); if(NISession.deviceCapabilities.supportsCameraAssistance){ logger.info("device DOES support camera assistance") accessory.configuration?.isCameraAssistanceEnabled = CMMotionManager().isDeviceMotionAvailable
Sep ’25
Reply to Nearby Interactions, wih camera assistance
actually even smaller fix add the ARSession delegate public func sessionShouldAttemptRelocalization(_ session: ARSession) -> Bool{ return false; }
Replies
Boosts
Views
Activity
2w
Reply to Nearby Interactions, wih camera assistance
after some more head banging, I've got it.. the coremotion error was a wild goose chase, unrelated to the problem.. I had to create the ARSession and add it to the NISession manually, AND run it manually.. the framework could not do it for some reason...
Replies
Boosts
Views
Activity
2w
Reply to Nearby Interactions, wih camera assistance
Anybody? Still fails on iOS 26.5
Replies
Boosts
Views
Activity
3w
Reply to Nearby Interactions, wih camera assistance
no help?? because I cannot submit an xcode project to show this as it needs my 3rd party device too.. I cannot submit developer case.. I need help..
Replies
Boosts
Views
Activity
Oct ’25
Reply to Nearby Interactions, wih camera assistance
so the BluetoothManager.scan... was a hardware problem. now I see {"msg":"#Warning Error reading file", "file":"//private/var/Managed Preferences/mobile/com.apple.CoreMotion.plist", "error":"Error Domain=NSCocoaErrorDomain Code=257 "The file “com.apple.CoreMotion.plist” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=//private/var/Managed Preferences/mobile/com.apple.CoreMotion.plist, NSURL=file:////private/var/Managed%20Preferences/mobile/com.apple.CoreMotion.plist, NSUnderlyingError=0x14cc64ea0 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}"} I have the motion privacy tag in the plist for the code doing request camera assistance in the connect handler for the nearby operation.. in setup accessory dump of capabilities direction = false device does not support direction measurement device DOES support camera assistance here is the code logger.info("dump of capabilities direction = \(NISession.deviceCapabilities.supportsDirectionMeasurement)"); if(!(NISession.deviceCapabilities.supportsDirectionMeasurement)){ logger.info("device does not support direction measurement"); if(NISession.deviceCapabilities.supportsCameraAssistance){ logger.info("device DOES support camera assistance") accessory.configuration?.isCameraAssistanceEnabled = CMMotionManager().isDeviceMotionAvailable
Replies
Boosts
Views
Activity
Sep ’25
Reply to No Developer Mode option on iOS 16 device.
but.. how do you do that if there is no mac and no xcode... I am trying to distribute a test app to registered devices, but they cannot get into developer mode they live on the other side of the country and are just users of the app, not developers..
Replies
Boosts
Views
Activity
Jun ’23