iPad and iOS apps on visionOS

RSS for tag

Discussion about running existing iPad and iOS apps directly on Apple Vision Pro.

Posts under iPad and iOS apps on visionOS tag

137 Posts

Post

Replies

Boosts

Views

Activity

Build setting variant for Designed for iPad
We're building one of our iPad apps for "Apple Vision Pro (Designed for iPad)" simulator and need to have certain different build settings for that simulator variant, compared to the default iOS simulator variant. It seems both variants use the iphonesimulator SDK. And in the Xcode build settings, the "Any iOS Simulator SDK" variant of any setting is what is also used, even when building for "Apple Vision Pro (Designed for iPad)". We tried adding a variant to the "Any iOS Simulator SDK" variant for one of the settings by editing the project file directly, using some possible variants we could think of. The added variant does show in the Xcode UI but it shows as "Any iOS Simulator SDK" also. But when building for "Apple Vision Pro (Designed for iPad)" Xcode still uses the original variant, as if it doesn't see that the added variant is matching the build destination. Example, where we want to exclude arm64 for iOS simulator builds, but not for "Apple Vision Pro (Designed for iPad)" builds. Original "Any iOS Simulator SDK" variant: "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64"; Added variant: "EXCLUDED_ARCHS[sdk=iphonesimulator*][variant=Apple Vision Pro]" = ""; We have tried using variant names such as 'xr', 'xors', 'vision', 'visionos' and of course 'Apple Vision Pro' to no avail. The variant shows in the UI but the build doesn't use it. Does anyone know if there is a variant (or other property or other way of distinguishing such variant) that we can use that Xcode will recognize and use when building for "Apple Vision Pro (Designed for iPad)"? Thanks.
1
5
1.2k
Nov ’23
View frame / bounds incorrect (iOS app on visionOS)
I'm running into an issue with the frame bounds of a Metal-based iOS app on the visionOS simulator. Here's a snapshot: That's the result of downloading Apple's sample code and running it in the simulator (Apple Vision Pro (Designed for iPad)). Is it a bug in the simulator / iOS->visionOS emulation, or is that sample code doing something odd that isn't compatible with visionOS? Thanks! Eddy
1
0
800
Nov ’23
iOS Xcode - ABPKPersonIDTracker not supported on this device
I am trying to use Vision framework in iOS but getting below error in logs. Not able to find any resources in Developer Forums. Any help would be appreciated! ABPKPersonIDTracker not supported on this device Failed to initialize ABPK Person ID Tracker public func runHumanBodyPose3DRequest() { let request = VNDetectHumanBodyPose3DRequest() let requestHandler = VNImageRequestHandler(url: filePath!) do { try requestHandler.perform([request]) if let returnedObservation = request.results?.first { self.humanObservation = returnedObservation print(humanObservation) } } catch let error{ print(error.localizedDescription) } }
3
0
1.2k
Nov ’23
Apple Vision Pro and Radiology for diagnostic viewing and interpretation
Will Apple Vision Pro support medical imaging diagnostic software such as Horos or Osirix. I am really curious if radiologist will be able to view and manipulate. interpret exams with this headset with ease and use built in microphone for voice recognition/dictation while using hands to manipulate the imaging and also simultaneously being able to view report in field of view. This could really unlock some major potential for interpreting at least CT, Ultrasound and MRI exams. I don't think the resolution will be high enough to interpret diagnostic x-rays and definitely not mammograms due to MQSA regulations and physicist inspections requiring more detail and information. However, I want to be at the forefront of bringing in Vision Pro headsets in the medical imaging space with rel utilization in clinical practices. It may also be beneficial for patients who are curious to see their medical imaging or even as headsets to use while undergoing medical imaging outpatient biopsy procedures for breast/etc to help put them at ease during the procedures. This could really provide patient satisfaction and I think we are scratching the surface on a world of possibilities in healthcare with devices like this. Upon utilixation, I would like to creat presentation series and share information with my Radiology colleagues at national/international meetings.
3
2
3k
Oct ’23
Downgrade iPad OS
I have several ipads that have been upgraded to 17.0.3 but I need to be able to back them up to 16.6.1 version. We have apps that do not work currently on 17. I have downloaded the 16.6.1 .ipsw file and every time I try to use it I get OS cannot be restored on "iPad". Personalization failed. Any way to get an os file that would work?
0
0
632
Oct ’23
Swift Chart LineMark create chart each time different
Hi There, Same data shows different line drawing. What I am missing here ? Each time I click to see chart, its drawing is different. Chart{ ForEach(data) { series in ForEach(series.data){ entry in LineMark( x: .value("Day", entry.day), y: .value("Amount", entry.amount) ) .foregroundStyle(by: .value("Doc", series.Doc)) .symbol(by: .value("Doc", series.Doc)) PointMark( x: .value("Day", entry.day), y: .value("Sales", entry.amount) ) .foregroundStyle(.purple) .symbolSize(symbolSize) } .lineStyle(StrokeStyle(lineWidth: lineWidth)) } } .chartLegend(position: .top) .chartYScale(domain: .automatic(includesZero: false)) .chartXAxis { AxisMarks(values: .automatic(roundLowerBound: false, roundUpperBound: false)) { value in if value.index < value.count - 1 { AxisValueLabel() } AxisTick() AxisGridLine() } }
2
0
1.9k
Oct ’23
How do load animated USDZs via Reality Composer Pro versus just doing it in code with raw files?
Creating an Entity and then changing between different animations (walk, run, jump, etc.) is pretty straightforward when you have individual USDZ files in your Xcode project, and then simply create an array of AnimationResource. However, I'm trying to do it via the new Reality Composer Pro app because the docs state it's much more efficient versus individual files, but I'm having a heck of a time figuring out how exactly to do it. Do you have one scene per USDZ file (does that erase any advantage over just loading individual files)? One scene with multiple entities? Something else all together? If I try one scene with multiple entities within it, when I try to change animation I always get "Cannot find a BindPoint for any bind path" logged in the console, and the animation never actually occurs. This is with the same files that animate perfectly when just creating an array of AnimationResource manually via individual/raw USDZ files. Anyone have any experience doing this?
0
1
1.3k
Oct ’23
Combine Master-Detail View and Tab View in iPad
Hello, I want to create a UI in which there are 4 main tabs representing individual views/screen (Just like the one in AppStore app). Now for some of the screens, I want to show the content of it using Master-Detail view - Just like iPad Messaging app where message list is in the master view and chatting is in the detail view. The TabView must remain visible to the users to navigate through all 4 views/screens. To show both, TabView and Master-Detail view, in one screen, I get to see 2 options. Show the TabView in MasterView section. In my opinion, this option is fundamentally a malpractice in perspective of UX. Because TabView is representation of shortcut of all 4 screens and user will use them to navigate through different screens, we must not restrict TabView in any other view. TabView must be placed at the top most hierarchy of the application. Keep the TabView in the top-most hierarchy and show in full width like it is shown in the AppStore app, and when user taps of any of the tab, the view that appears would have the Master-Detail View. Now in this one, I have concern of me manipulating the concept of Layout designs and worse UX. I am looking for the right way to implement such functionality with a good and UI/UX. Thank you.
0
0
851
Oct ’23
How to prevent/disable screenshots on iOS 17 beta ?
I want to disable taking screenshots of confidential information but it is not working in iOS 17 beta . For earlier version I am using ‘isSecureTextEntry' but it is unstable for the recent beta . I am still able to detect the screenshot but not prevent it by using UIApplication.userDidTakeScreenshotNotification . Is there any way to achieve it ?
5
0
10k
Oct ’23
Reality View toggle Entities activation
I'm trying to create a feature in my app vision OS app where i show a reality view and on button click toggle different entities as in showing them on button click and vice versa. Is this possible in Vision os? if so how can i do this ? All that I did now was to instanciate my scene which contains a car 3d model, red tyres and blue tyres. On a button click i'm trying to show the blue tyres instead of the red ones. Is this possible ? Thank you,
1
0
1k
Sep ’23
Is there any future plan to have RoomPlan API available directly in VisionOS
I read that room plan does not work in AVP even if you port an ios app that uses it as a window app in the headset it will not run? From what I understand RoomPlan uses Lidar which AVP will have so the hardware is there. Whats the reason for not making this avaiable for AVP and/or is there any actual plan to have it in future OS release post launch?
1
1
699
Sep ’23
Single Target for iOS & VisionPro App
Hi, I have an iOS app minimum iOS target 15.0 and trying to make compatible for visionPro. I have single target and using more then 10 third party frameoworks in iOS app like (facebook,googlesignin,and few others) which doesn't support visionOS till yet. My question is how I can strip out all those 3rd party libraries which are not compatible for visionOS but included/imported for iOS? Currently, if I strip out libraries and put conditional checks in swift files based on target, it would create a mess in whole app. Should I create separate target/project for visionOS and develop app without using those unsupported libraries? Will apple allow me to upload separate apps for iOS & visionPro. This approach would have alot of duplication in code and very difficult to scale. Any thoughts, best approach to handle this use-case please. Regards, Yasir
0
1
688
Sep ’23
NSInternalInconsistencyException
iOS16 above 0 CoreFoundation ___exceptionPreprocess + 164 1 libobjc.A.dylib _objc_exception_throw + 60 2 Foundation -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] 3 UIKitCore ___UIKIT_DID_NOT_RECEIVE_A_REMOTE_CACONTEXT_FROM_COREANIMATION_INDICATING_A_POSSIBLE_BACKBOARDD_CRASH + 484 4 UIKitCore ___UIKIT_IS_REQUESTING_A_CACONTEXT_FROM_COREANIMATION + 64 5 UIKitCore +[_UIContextBinder createContextForBindable:withSubstrate:] + 400 6 UIKitCore -[_UIContextBinder _contextForBindable:] + 112 7 UIKitCore -[_UIContextBinder updateBindableOrderWithTest:force:] + 304 8 UIKitCore -[_UIContextBinder createContextsWithTest:creationAction:] + 80 9 UIKitCore -[UIWindowScene _prepareForResume] + 148 10 UIKitCore -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 756 11 UIKitCore -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 12 UIKitCore -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 13 FrontBoardServices -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 420 14 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 152 15 FrontBoardServices -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 16 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 344 17 libdispatch.dylib __dispatch_client_callout + 20 18 libdispatch.dylib __dispatch_block_invoke_direct + 264 19 FrontBoardServices ___FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 NSInternalInconsistencyException Failed to create remote render context Lifecycle 09-16 12:49:47.944 UIApplication WillResignActive 09-16 12:49:48.484 UIApplication DidEnterBackground 09-16 12:53:38.998 UIApplication WillEnterForeground It seems, app becomes inactive before it 'willEnterForeground',then crash,I do not have any ideas of what happen.
1
0
945
Sep ’23
Build setting variant for Designed for iPad
We're building one of our iPad apps for "Apple Vision Pro (Designed for iPad)" simulator and need to have certain different build settings for that simulator variant, compared to the default iOS simulator variant. It seems both variants use the iphonesimulator SDK. And in the Xcode build settings, the "Any iOS Simulator SDK" variant of any setting is what is also used, even when building for "Apple Vision Pro (Designed for iPad)". We tried adding a variant to the "Any iOS Simulator SDK" variant for one of the settings by editing the project file directly, using some possible variants we could think of. The added variant does show in the Xcode UI but it shows as "Any iOS Simulator SDK" also. But when building for "Apple Vision Pro (Designed for iPad)" Xcode still uses the original variant, as if it doesn't see that the added variant is matching the build destination. Example, where we want to exclude arm64 for iOS simulator builds, but not for "Apple Vision Pro (Designed for iPad)" builds. Original "Any iOS Simulator SDK" variant: "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64"; Added variant: "EXCLUDED_ARCHS[sdk=iphonesimulator*][variant=Apple Vision Pro]" = ""; We have tried using variant names such as 'xr', 'xors', 'vision', 'visionos' and of course 'Apple Vision Pro' to no avail. The variant shows in the UI but the build doesn't use it. Does anyone know if there is a variant (or other property or other way of distinguishing such variant) that we can use that Xcode will recognize and use when building for "Apple Vision Pro (Designed for iPad)"? Thanks.
Replies
1
Boosts
5
Views
1.2k
Activity
Nov ’23
View frame / bounds incorrect (iOS app on visionOS)
I'm running into an issue with the frame bounds of a Metal-based iOS app on the visionOS simulator. Here's a snapshot: That's the result of downloading Apple's sample code and running it in the simulator (Apple Vision Pro (Designed for iPad)). Is it a bug in the simulator / iOS->visionOS emulation, or is that sample code doing something odd that isn't compatible with visionOS? Thanks! Eddy
Replies
1
Boosts
0
Views
800
Activity
Nov ’23
iOS Xcode - ABPKPersonIDTracker not supported on this device
I am trying to use Vision framework in iOS but getting below error in logs. Not able to find any resources in Developer Forums. Any help would be appreciated! ABPKPersonIDTracker not supported on this device Failed to initialize ABPK Person ID Tracker public func runHumanBodyPose3DRequest() { let request = VNDetectHumanBodyPose3DRequest() let requestHandler = VNImageRequestHandler(url: filePath!) do { try requestHandler.perform([request]) if let returnedObservation = request.results?.first { self.humanObservation = returnedObservation print(humanObservation) } } catch let error{ print(error.localizedDescription) } }
Replies
3
Boosts
0
Views
1.2k
Activity
Nov ’23
Apple Vision Pro and Radiology for diagnostic viewing and interpretation
Will Apple Vision Pro support medical imaging diagnostic software such as Horos or Osirix. I am really curious if radiologist will be able to view and manipulate. interpret exams with this headset with ease and use built in microphone for voice recognition/dictation while using hands to manipulate the imaging and also simultaneously being able to view report in field of view. This could really unlock some major potential for interpreting at least CT, Ultrasound and MRI exams. I don't think the resolution will be high enough to interpret diagnostic x-rays and definitely not mammograms due to MQSA regulations and physicist inspections requiring more detail and information. However, I want to be at the forefront of bringing in Vision Pro headsets in the medical imaging space with rel utilization in clinical practices. It may also be beneficial for patients who are curious to see their medical imaging or even as headsets to use while undergoing medical imaging outpatient biopsy procedures for breast/etc to help put them at ease during the procedures. This could really provide patient satisfaction and I think we are scratching the surface on a world of possibilities in healthcare with devices like this. Upon utilixation, I would like to creat presentation series and share information with my Radiology colleagues at national/international meetings.
Replies
3
Boosts
2
Views
3k
Activity
Oct ’23
Downgrade iPad OS
I have several ipads that have been upgraded to 17.0.3 but I need to be able to back them up to 16.6.1 version. We have apps that do not work currently on 17. I have downloaded the 16.6.1 .ipsw file and every time I try to use it I get OS cannot be restored on "iPad". Personalization failed. Any way to get an os file that would work?
Replies
0
Boosts
0
Views
632
Activity
Oct ’23
Swift Chart LineMark create chart each time different
Hi There, Same data shows different line drawing. What I am missing here ? Each time I click to see chart, its drawing is different. Chart{ ForEach(data) { series in ForEach(series.data){ entry in LineMark( x: .value("Day", entry.day), y: .value("Amount", entry.amount) ) .foregroundStyle(by: .value("Doc", series.Doc)) .symbol(by: .value("Doc", series.Doc)) PointMark( x: .value("Day", entry.day), y: .value("Sales", entry.amount) ) .foregroundStyle(.purple) .symbolSize(symbolSize) } .lineStyle(StrokeStyle(lineWidth: lineWidth)) } } .chartLegend(position: .top) .chartYScale(domain: .automatic(includesZero: false)) .chartXAxis { AxisMarks(values: .automatic(roundLowerBound: false, roundUpperBound: false)) { value in if value.index < value.count - 1 { AxisValueLabel() } AxisTick() AxisGridLine() } }
Replies
2
Boosts
0
Views
1.9k
Activity
Oct ’23
How do load animated USDZs via Reality Composer Pro versus just doing it in code with raw files?
Creating an Entity and then changing between different animations (walk, run, jump, etc.) is pretty straightforward when you have individual USDZ files in your Xcode project, and then simply create an array of AnimationResource. However, I'm trying to do it via the new Reality Composer Pro app because the docs state it's much more efficient versus individual files, but I'm having a heck of a time figuring out how exactly to do it. Do you have one scene per USDZ file (does that erase any advantage over just loading individual files)? One scene with multiple entities? Something else all together? If I try one scene with multiple entities within it, when I try to change animation I always get "Cannot find a BindPoint for any bind path" logged in the console, and the animation never actually occurs. This is with the same files that animate perfectly when just creating an array of AnimationResource manually via individual/raw USDZ files. Anyone have any experience doing this?
Replies
0
Boosts
1
Views
1.3k
Activity
Oct ’23
Combine Master-Detail View and Tab View in iPad
Hello, I want to create a UI in which there are 4 main tabs representing individual views/screen (Just like the one in AppStore app). Now for some of the screens, I want to show the content of it using Master-Detail view - Just like iPad Messaging app where message list is in the master view and chatting is in the detail view. The TabView must remain visible to the users to navigate through all 4 views/screens. To show both, TabView and Master-Detail view, in one screen, I get to see 2 options. Show the TabView in MasterView section. In my opinion, this option is fundamentally a malpractice in perspective of UX. Because TabView is representation of shortcut of all 4 screens and user will use them to navigate through different screens, we must not restrict TabView in any other view. TabView must be placed at the top most hierarchy of the application. Keep the TabView in the top-most hierarchy and show in full width like it is shown in the AppStore app, and when user taps of any of the tab, the view that appears would have the Master-Detail View. Now in this one, I have concern of me manipulating the concept of Layout designs and worse UX. I am looking for the right way to implement such functionality with a good and UI/UX. Thank you.
Replies
0
Boosts
0
Views
851
Activity
Oct ’23
How to prevent/disable screenshots on iOS 17 beta ?
I want to disable taking screenshots of confidential information but it is not working in iOS 17 beta . For earlier version I am using ‘isSecureTextEntry' but it is unstable for the recent beta . I am still able to detect the screenshot but not prevent it by using UIApplication.userDidTakeScreenshotNotification . Is there any way to achieve it ?
Replies
5
Boosts
0
Views
10k
Activity
Oct ’23
Reality View toggle Entities activation
I'm trying to create a feature in my app vision OS app where i show a reality view and on button click toggle different entities as in showing them on button click and vice versa. Is this possible in Vision os? if so how can i do this ? All that I did now was to instanciate my scene which contains a car 3d model, red tyres and blue tyres. On a button click i'm trying to show the blue tyres instead of the red ones. Is this possible ? Thank you,
Replies
1
Boosts
0
Views
1k
Activity
Sep ’23
Is there any future plan to have RoomPlan API available directly in VisionOS
I read that room plan does not work in AVP even if you port an ios app that uses it as a window app in the headset it will not run? From what I understand RoomPlan uses Lidar which AVP will have so the hardware is there. Whats the reason for not making this avaiable for AVP and/or is there any actual plan to have it in future OS release post launch?
Replies
1
Boosts
1
Views
699
Activity
Sep ’23
Single Target for iOS & VisionPro App
Hi, I have an iOS app minimum iOS target 15.0 and trying to make compatible for visionPro. I have single target and using more then 10 third party frameoworks in iOS app like (facebook,googlesignin,and few others) which doesn't support visionOS till yet. My question is how I can strip out all those 3rd party libraries which are not compatible for visionOS but included/imported for iOS? Currently, if I strip out libraries and put conditional checks in swift files based on target, it would create a mess in whole app. Should I create separate target/project for visionOS and develop app without using those unsupported libraries? Will apple allow me to upload separate apps for iOS & visionPro. This approach would have alot of duplication in code and very difficult to scale. Any thoughts, best approach to handle this use-case please. Regards, Yasir
Replies
0
Boosts
1
Views
688
Activity
Sep ’23
NSInternalInconsistencyException
iOS16 above 0 CoreFoundation ___exceptionPreprocess + 164 1 libobjc.A.dylib _objc_exception_throw + 60 2 Foundation -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] 3 UIKitCore ___UIKIT_DID_NOT_RECEIVE_A_REMOTE_CACONTEXT_FROM_COREANIMATION_INDICATING_A_POSSIBLE_BACKBOARDD_CRASH + 484 4 UIKitCore ___UIKIT_IS_REQUESTING_A_CACONTEXT_FROM_COREANIMATION + 64 5 UIKitCore +[_UIContextBinder createContextForBindable:withSubstrate:] + 400 6 UIKitCore -[_UIContextBinder _contextForBindable:] + 112 7 UIKitCore -[_UIContextBinder updateBindableOrderWithTest:force:] + 304 8 UIKitCore -[_UIContextBinder createContextsWithTest:creationAction:] + 80 9 UIKitCore -[UIWindowScene _prepareForResume] + 148 10 UIKitCore -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 756 11 UIKitCore -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 12 UIKitCore -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 13 FrontBoardServices -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 420 14 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 152 15 FrontBoardServices -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 16 FrontBoardServices ___94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 344 17 libdispatch.dylib __dispatch_client_callout + 20 18 libdispatch.dylib __dispatch_block_invoke_direct + 264 19 FrontBoardServices ___FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 NSInternalInconsistencyException Failed to create remote render context Lifecycle 09-16 12:49:47.944 UIApplication WillResignActive 09-16 12:49:48.484 UIApplication DidEnterBackground 09-16 12:53:38.998 UIApplication WillEnterForeground It seems, app becomes inactive before it 'willEnterForeground',then crash,I do not have any ideas of what happen.
Replies
1
Boosts
0
Views
945
Activity
Sep ’23