Closed ropellanda closed 9 months ago
Hi @ropellanda
This is not yet supported, since visionOS support requires Xcode 15.
I will add support for visionOS once Xcode 15 is out, but my guess is many APIs will be missing.
Thank you!
Hi again, now that the Xcode 15 RC has been released, could you perhaps add visionOS support?
I'll take a look at it 👍
Thanks!
Hi again, did you ever get around to adding support for visionOS?
Hi again @ropellanda
Not yet, since I'm still working a lot in Xcode 14.
I also would be incredibly happy and thankful for visionOS support :) This is the absolute best option out there!
@destari Thank you for those kind words! :)
visionOS support was added a while back. Can you try and see if it works?
I'm using 0.9.8 - I get this error:
Cannot find type 'ColorRepresentable' in scope
About 35 of those. However, I noticed that if I add this somewhere else in my app, it seems to clear those up:
#if macOS
import AppKit
/**
This typealias bridges platform-specific colors to simplify
multi-platform support.
*/
public typealias ColorRepresentable = NSColor
#endif
#if iOS || os(tvOS) || os(watchOS) || os(visionOS)
import UIKit
/**
This typealias bridges platform-specific colors to simplify
multi-platform support.
*/
public typealias ColorRepresentable = UIColor
#endif
Which I stole from your code, so I suspect somehow it is not being included in the build?
Hi, i'm trying to use this package on the latest Xcode 15 beta to build a visionOS app. Other platforms work fine, but when I try compiling on visionOS, the following error appears:
Cannot find 'RichTextEditor' in scope