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

Accepted Reply

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.

Replies

with xcode update I got this error

  • I can confirm I am getting the same issue after updating the MacOS Monterey Beta 2.

    Last login: Tue Jun 29 20:12:36 on ttys000

    jimmygunawan@192-168-1-101 Debug % ./HelloPhotogrammetry

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

      Referenced from: /Users/jimmygunawan/Library/Developer/Xcode/DerivedData/HelloPhotogrammetry-fljhediczpqycdgoysdrwzqsgxxf/Build/Products/Debug/HelloPhotogrammetry

      Expected in: /System/Library/Frameworks/RealityFoundation.framework/Versions/A/RealityFoundation

    zsh: abort      ./HelloPhotogrammetry

    jimmygunawan@192-168-1-101 Debug % 

  • See this thread for a solution (worked for me): https://developer.apple.com/forums/thread/683659

Add a Comment

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.

  • Should Apple perhaps make a newer version of Command-Line App example to see what changes so suddenly.

Add a Comment

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 ?

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.