Post

Replies

Boosts

Views

Activity

Reply to App Intent not Discoverable by Siri
Hello, did you resolve this problem? Because I have the same issues. Here my code: Intent.swift struct Intent: AppIntent { static var title: LocalizedStringResource = "Perform Intent" static var openAppWhenRun: Bool = false @MainActor func perform() async throws -> some IntentResult { return .result(dialog: "Hello World") } } IntentExtension.swift @main struct IntentExtension: AppIntentsExtension { } struct Shortcuts: AppShortcutsProvider { static var appShortcuts: [AppShortcut] { AppShortcut(intent: Intent(), phrases: ["Perform intent"]) } } Probably for the recognition phase need to pass Shortcuts struct to IntentExtension but I don't understand how I can do it
Aug ’22
Reply to How to get a 2D floor plan with dimensions from RoomPlan
I also investigate this. And I have an idea, we have simd_float4x4 matrix, and we can get coordinate our walls, but it will be just point, need to draw a line from this and other points, and find edges, just ignore Y axis, but I don't understand in which direction need to draw a line. Probably I don't know how works simd_float4x4 matrix, and how need to decode the value. Do you have some ideas?
Sep ’22