Our app is available in the App Store and it's working well on ios16 devices.
A few days ago, we noticed in Organizer weird bugs coming from ios17, with the only hint "NO_CRASH_STACK".
After installing ios17 on an iPhone, we were able to reproduce the crash directly at launch, but only when the app is downloaded from the appstore (no crash when the app is installed with Xcode 15 beta)
"type": "EXC_CRASH",
"signal": "SIGABRT"
},
"termination": {
"code": 4,
"flags": 518,
"namespace": "DYLD",
"indicator": "Symbol missing",
"details": [
"(terminated at launch; ignore backtrace)"
],
"reasons": [
"Symbol not found: _$s8RoomPlan0A14CaptureSessionCACycfc",
"Referenced from: <XXXX----XXXXXXX> /Volumes/VOLUME//.app/",
"Expected in: <XXXX--**-XXXXX-XXXXXXX> /System/Library/Frameworks/RoomPlan.framework/RoomPlan"
]
Does Anybody else encounter this issue?
What should we do to solve this?
thanks!
Explore enhancements to RoomPlan
RSS for tagDiscuss the WWDC23 Session Explore enhancements to RoomPlan
Posts under wwdc2023-10192 tag
5 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I need to generate a thumbnail from CapturedRoom, that is either a static frame of the PIP thumbnail that we see in the result after scanning. Ideally an image, but I could also use a simplified OBJ if that's a possibility. From documentation it looks like the only option is to export as USDZ. Is there a way to generate a static image file after room scan is processed?
try finalResults?.export(to: destinationURL, exportOptions: .mesh)
The two links on this page for RoomPlan sample code from WWDC 2023 are broken. Any idea when we can expect these to be posted?
https://developer.apple.com/documentation/roomplan/providingcustommodelsforcapturedroomsandstructureexports
and
https://developer.apple.com/documentation/roomplan/mergingmultiplescansintoasinglestructure
Thanks!
Hello fellow developers,
When attempting to merge single rooms into one model, the resulting floorplan I got appears to have rooms stacked on top of each other.
I am using a single ARSession for all the scans, to my understanding, the world coordinate system remains consistent during a continuous ARSession. I can't figure out why the rooms are overlapping or positioned vertically on top of each other in the generated floorplan. I am uncertain whether this issue stems from my own code implementation.
I did the following modification to the sample code
Initiated an ARSession in RoomCaptureViewController
private var arWorldTrackingConfig: ARWorldTrackingConfiguration = ARWorldTrackingConfiguration()
private var arSession: ARSession = ARSession()
Pass ARSession to roomCaptureView
private func setupRoomCaptureView() {
arSession.run(arWorldTrackingConfig)
roomCaptureView = RoomCaptureView(frame: view.bounds, arSession: arSession)
roomCaptureView.captureSession.delegate = self
roomCaptureView.delegate = self
view.insertSubview(roomCaptureView, at: 0)
}
Pause the ARSession after completion of scanning one room
private func saveSession() {
isScanning = false
roomCaptureView?.captureSession.stop(pauseARSession: false)
setCompleteNavBar()
}
@IBAction func saveScanning(_ sender: UIBarButtonItem) {
if isScanning { saveSession() } else { cancelScanning(sender) }
self.exportButton?.isEnabled = false
self.activityIndicator?.startAnimating()
}
Any experiences or insights are greatly appreciated.