Post

Replies

Boosts

Views

Activity

Reply to Binary Swift Package Chicken and Egg Situation
Mhm, so I thought according to the Swift package Manager Team an Xcode project is not necessary to build an xcframework based on a Swift Package. - https://github.com/apple/swift-package-manager/pull/2981#issuecomment-710282803. boris is also referencing the same demo example he did in the WWDC video Distribute binary frameworks as Swift packages - https://developer.apple.com/videos/play/wwdc2020/10147/ from 2020, so I thought this is the latest status compared to the video Binary Frameworks in Swift from 2019. As a swift package, my project automatically gets an extension that provides the Bundle.module extension, e.g. swift let string = NSLocalizedString(self, tableName: nil, bundle: .module, value: "", comment: "") which is no longer available if I wrap the code into an xcodeproj. I thought based on the above mentioned github issue, the xcodeproj way is no longer necessary.
Feb ’21
Reply to Anchoring a Prim to the face doesn't work
So it seems just putting the line token preliminary:anchoring:type = "face" in was not enough. What worked was writing a python script, importing the from pxr import Usd, Sdf, UsdGeom, Kind stuff and then creating a scene hierarchy with /Root/Scenes/Scene/Children/MyModel where the scene gets the anchor-token. The USD Classes reference (https://graphics.pixar.com/usd/docs/api/class_usd_stage.html) helped a little but It was way more complicated then I expected it to be.
Topic: App & System Services SubTopic: General Tags:
Jun ’21
Reply to Safari, JavaScript and WebGL extremely bad performance?
We're seeing the same issue in all our WebGL applications. It definitely worked in April 2021, since then without changing any code the Safari performance went from 60fps to 2fps. Example scene built in unity (with a camera-texture since camera input is important for our AR applications): https://test.looc.io/forest/index.html
Topic: Safari & Web SubTopic: General Tags:
Feb ’22
Reply to Glass material in USDZ
I think it would help to specify more clearly what shader system you are using? When it comes to ARKit, ARKit is only the framework that matches your camera to the 3D scene, i.e. handling of the odometry etc. The materials are rendered in the 3D shaders used, technically you can use ARKit with shaders from RealityKit, SceneKit and MetalKit. here's a nice writeup on their differences on stackoverflow
Topic: Spatial Computing SubTopic: ARKit Tags:
Dec ’22
Reply to Model Guardrails Too Restrictive?
I had a similar experience in Beta 3, even questions like "What is the capital of France?" were hitting guardrails. Tried the same question with a number of real countries, always guardrailed. Then tried with Gondor and Westeros and for those fictional countries the model sent a response. I'm assuming mentioning real country names must have triggered guard rails against political topics. As of Beta 4 my test questions for capitals work for both real and fictional countries.
Jul ’25
Reply to There's wrong with speech detector ios26
SpeechAnalysisModule doesn't exist, SpeechAnalyzer init parameter is called SpeechModule. Doing let modules: [any SpeechModule] = [detector, transcriber] also doesn't work, since it's obviously Cannot convert value of type 'SpeechDetector' to expected element type 'any SpeechModule'. This compiles and runs: let detector = SpeechDetector(detectionOptions: SpeechDetector.DetectionOptions(sensitivityLevel: .medium), reportResults: true) let modules: [any SpeechModule] = [detector as! (any SpeechModule), transcriber] let analyzer = SpeechAnalyzer(modules: modules, options: SpeechAnalyzer.Options(priority: .high, modelRetention: .processLifetime)) but honestly, I see no difference with or without the detector. Actually testing the results via: let detector = SpeechDetector(detectionOptions: SpeechDetector.DetectionOptions(sensitivityLevel: .medium), reportResults: true) let modules: [any SpeechModule] = [detector as! (any SpeechModule), transcriber] Task { for try await result in detector.results { print("result: \(result.description)]") } } also doesn't yield any log lines, so I think while force-casting it to SpeechModule doesn't make the app crash, it's just ignored.
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’25
Reply to There's wrong with speech detector ios26
Thank you Greg! @DTS Engineer When I use it with the retroactive protocol conformance, it seems to work, but I never see any results (for the reportResults: true) When I try: let detector = SpeechDetector(detectionOptions: SpeechDetector.DetectionOptions(sensitivityLevel: .medium), reportResults: true) if analyzer == nil { analyzer = SpeechAnalyzer(modules: [detector, transcriber], options: SpeechAnalyzer.Options(priority: .high, modelRetention: .processLifetime)) } Task { for try await result in detector.results { print("result: \(result.description)]") } } I never see any of the result prints in the log, while the Transcription works fine. Is the detector.results supposed to be used like that and if so, does it show any response for others?
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’25