Also, has anyone experienced issues with outputting depth in photo capture for iPhone 13 Pro (possibly all iPhone 13 variants)? My code works as expected in getting depth during photo capture for iPhone X, XR, XS, 12Pro, iPad Pro (4th gen). In the iPhone 13 Pro, photo.depth is just nil.
Post
Replies
Boosts
Views
Activity
Did this ever get resolved? I keep getting an empty array too for availableSemanticSegmentationMatteTypes (iPhoneX)
eskimo's procedure only work (albeit finicky) when my playground is moved under TestFramework. Also, I had to building it for some iPhone simulator (generic iOS device didn't work). Closing xcode and booting it back up breaks this relationship, but it seems to magically link back up in a few minutes.A cheap trick I found to get it to work after rebooting xcode - make a tiny change in your framework swift file and rebuild and wait 30 seconds or so.