Search Issue Tracker

Active

Under Consideration for 3.3.X

Votes

0

Found in [Package]

3.3.0

Issue ID

UGSB-34

Regression

No

Authentication Plugin iOS SafariView has no safeguard when building for an unsupported platform

Package: UGS Authentication

-

How to reproduce:
1. Open the “TestTVOSAgain.zip“ project
2. Open the “SampleScene“
3. Build for tvOS
4. Open the “Unity-iPhone.xcodeproj“ in Xcode
5. Deploy to a tvOS device

Expected result: Deployment succeeds
Actual result: Deployment fails with “ ‘SafariServices/SafariServices.h’ file not found“

Reproducible with: 3.4.1 (6000.0.62f1, 6000.2.11f1), 3.5.2 (6000.0.62f1, 6000.2.11f1, 6000.3.0b9, 6000.4.0a4)

Reproducible environment: macOS 15.7 (M4 Max)
Not reproducible environment: No other environment tested

Reproducible with these devices:
VLNQA00506, Apple TV HD (TV 4) (MGY52SO/A), CPU: Apple A8, OS: 16.5

Workaround: Add guards in the “SafariView.mm“ file, (e.g. “#if __has_include(<SafariServices/SafariServices.h>)“ ) to disable this functionality when building for an unsupported platform

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.