OneSignal-XCFramework icon indicating copy to clipboard operation
OneSignal-XCFramework copied to clipboard

visionOS Support

Open fire-at-will opened this issue 1 year ago • 3 comments

I've installed the OneSignal SDK as shown in the documentation. Everything works fine in iOS builds, but I get errors saying: "While building for visionOS Simulator, no library for this platform was found in '/Users/will/Library/Developer/Xcode/DerivedData/Pines-gegdwsbgafktyhhksujjbcuaumnz/SourcePackages/artifacts/onesignal-xcframework/OneSignalOutcomes/OneSignalOutcomes.xcframework'." These errors appear for each of the OneSignal targets. When I look in the location listed in the logs on my disk, there is no build for xros, which is present for other libraries. I'm seeing this on Xcode 16.0.0 and 16.1 betas, both locally on my machine and in Xcode cloud.

Is OneSignal supported for native visionOS apps? If not, is it on the current roadmap? Screenshot 2024-10-14 at 1 21 23 PM

Thanks!

fire-at-will avatar Oct 14 '24 18:10 fire-at-will

I'm having same problem and apparently they do nothing for solution!

emrdgrmnci avatar Oct 26 '24 23:10 emrdgrmnci

+1

aaronTredrea avatar Oct 30 '24 11:10 aaronTredrea

anyway I lost my hope and just skip with #if os(iOS) - #endif

emrdgrmnci avatar Oct 30 '24 11:10 emrdgrmnci