HelloPhotogrammetry crashed on macos12.0

so I update my mac laptop, and run hello photogrammetry sample project, here is the crash message:

dyld[4936]: Symbol not found: _$s17RealityFoundation21PhotogrammetrySessionC13ConfigurationV13SampleOverlapO3lowyA2GmFWC

not sure what's happening, any one had same problem?

Best

Answered by DTS Engineer in 681149022

Hello,

A new version of the sample project is available at https://developer.apple.com/documentation/realitykit/creating_a_photogrammetry_command-line_app

You can re-download the sample project to get the new version, which contains fixes for the build errors on beta 2.

with xcode update I got this error

The PhotogrammetrySession.Configuration.SampleOverlap property has been removed from the PhotogrammetrySession API it appears. If your machine is updated with Xcode 13 Beta 2 (or likely higher) and macOS Monterey Beta 2 (or likely higher), you should be able to adapt the Creating a Photogrammetry Command-Line App project to adopt the changes and run successfully.

The thread referenced by @azi has detail on how to adapt the sample project to handle the new changes.

I would be curious to find out why this setting was removed from the API? The overlap setting is quite a common setting in other photogrammetry software out there. does RealityKit now auto detect and adjust accordingly if the overlap doesn't meet a certain requirement ?

Accepted Answer

Hello,

A new version of the sample project is available at https://developer.apple.com/documentation/realitykit/creating_a_photogrammetry_command-line_app

You can re-download the sample project to get the new version, which contains fixes for the build errors on beta 2.

Updated Monterey 12.0.1 & Xcode 13.0 and still gettin "Cannot find type 'PhotogrammetrySession' in scope" error.

HelloPhotogrammetry crashed on macos12.0
 
 
Q