Post not yet marked as solved
Why locationManager did disconnect in this circumstance?
Always after START -> STOP -> START service.
locationManager = [[CLLocationManager alloc] init];
locationManager.delegate = self;
locationManager.desiredAccuracy = kCLLocationAccuracyBest;
locationManager.distanceFilter = 5; // meters
locationManager.allowsBackgroundLocationUpdates = YES;
locationManager.pausesLocationUpdatesAutomatically = NO;
if (@available(iOS 14.0, *)) {
if (locationManager.authorizationStatus == kCLAuthorizationStatusAuthorizedWhenInUse){
[locationManager startUpdatingLocation];
} else {
shouldStart = false;
[locationManager requestWhenInUseAuthorization];
}
} else {
// Fallback on earlier versions
}
--- resume log ---
{"msg":"#sbim client arrow state changed", "clientKey":"it.trainingcamp.app", "entityClass":"Application", "oldArrowState":"ReceivingLocationInformation", "newArrowState":"RequestingLocationInformation", "dueToDeauthorization":0}
client 'it.trainingcamp.app' authorized for location; starting shortly
client 'it.trainingcamp.app' authorized for location; starting now, desiredAccuracy, -1.0, distanceFilter, 5.0, operatingMode 0, dynamicAccuracyReductionEnabled 0, allowsAlteredAccessoryLocations 0, activityType 0
[application<it.trainingcamp.app>:9023] Suspending task.
Calculated state for application<it.trainingcamp.app>: running-suspended (role: None)
Process runningboardd.34 Released SystemIsActive "application<it.trainingcamp.app>34-77-203313:Location subscription" age:00:00:31 id:51539648441 [System: SysAct]
-CMSessionMgr- CMSessionMgrHandleApplicationStateChange: Client it.trainingcamp.app with pid '9023' is now Background Suspended. Background entitlement: YES ActiveLongFormVideoSession: NO WhitelistedLongFormVideoApp NO
-CMSessionMgr- CMSessionMgrHandleApplicationStateChange: Sending stop command to it.trainingcamp.app with pid '9023' because client is background suspended and there is no AirPlay video session for it
[application<it.trainingcamp.app>:9023] Setting process task state to: Suspended
Post not yet marked as solved
Hello,please help!!! Very urgent!!!!New warnings appeared in AR Resources folder in Assets.xcassets: all marker images shows warnings for Ambiguous Content. During test ARKit did wrong positive match with wrong marker.Then I downloaded (today) ARKitImageRecognition project from https://developer.apple.com/documentation/arkit/recognizing_images_in_an_ar_experienceNow it shows same warnings.What should I do to avoid these warnings? It's very urgent: this monday we'll release a beta to our client. There are 12 marker attached to wall in a showroom. Before beta 3 no warning at all (but not tried real test with real marker yet).Thank you a lot in advance.Romeo-------------------------------------------------------------------------------------AR Resources folder warnings of ARKitImageRecognition demo-------------------------------------------------------------------------------------file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image "MacBook 12-inch" is too similar to "iMac 21.5-inch", "iMac 27-inch", "iPad Pro 10.5-inch", "iPad Pro 12.9-inch", "iPhone 4.7-inch", and "iPhone 5.5-inch".file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “MacBook 12-inch”: The histogram of the image is narrow or not well distributed. Recognition works better on images with wider, flatter histograms.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “MacBook 12-inch”: The image has uniform color regions, low texture, or low local contrast regions. Recognition works better when there are higher local contrast regions distributed across the image.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image "MacBook Pro 13-inch" is too similar to "iMac 21.5-inch", "iMac 27-inch", "iPad Pro 10.5-inch", "iPad Pro 12.9-inch", "iPhone 4-inch", "iPhone X", and "MacBook 12-inch".file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “MacBook Pro 13-inch”: The histogram of the image is narrow or not well distributed. Recognition works better on images with wider, flatter histograms.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “MacBook Pro 13-inch”: The image has uniform color regions, low texture, or low local contrast regions. Recognition works better when there are higher local contrast regions distributed across the image.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image "MacBook Pro 15-inch" is too similar to "iMac 21.5-inch", "iMac 27-inch", "iPad Pro 10.5-inch", "iPad Pro 12.9-inch", "iPhone 4-inch", "iPhone 5.5-inch", "MacBook 12-inch", and "MacBook Pro 13-inch".file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “MacBook Pro 15-inch”: The histogram of the image is narrow or not well distributed. Recognition works better on images with wider, flatter histograms.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “MacBook Pro 15-inch”: The image has uniform color regions, low texture, or low local contrast regions. Recognition works better when there are higher local contrast regions distributed across the image.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “iMac 21.5-inch”: The histogram of the image is narrow or not well distributed. Recognition works better on images with wider, flatter histograms.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “iMac 21.5-inch”: The image has uniform color regions, low texture, or low local contrast regions. Recognition works better when there are higher local contrast regions distributed across the image.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “iMac 27-inch”: The histogram of the image is narrow or not well distributed. Recognition works better on images with wider, flatter histograms.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “iMac 27-inch”: The image has uniform color regions, low texture, or low local contrast regions. Recognition works better when there are higher local contrast regions distributed across the image.file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image "iPad 9.7-inch" is too similar to "iMac 21.5-inch" and "iMac 27-inch".file:///Users/romeomariani/Downloads/RecognizingImagesInAnARExperience/ARKitImageRecognition/Resources/Assets.xcassets: warning: Ambiguous Content: AR reference image “iPad 9.7-inch”: The histogram of the image is narrow or not well distributed. Recognition works better on images with wider, flatter histograms.