You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is pulling in GoogleUtilities 7.11.5 which fails to compile with the following error:
/Users/oliver/Library/Developer/Xcode/DerivedData/Application-errgluedoshurqdjqzddegzdkaqr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Environment/third_party/GULAppEnvironmentUtil.m:265:15: error: use of undeclared identifier 'UIDevice'
switch ([[UIDevice currentDevice] userInterfaceIdiom]) {
^
/Users/oliver/Library/Developer/Xcode/DerivedData/Application-errgluedoshurqdjqzddegzdkaqr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Environment/third_party/GULAppEnvironmentUtil.m:266:12: error: use of undeclared identifier 'UIUserInterfaceIdiomPhone'
case UIUserInterfaceIdiomPhone:
^
/Users/oliver/Library/Developer/Xcode/DerivedData/Application-errgluedoshurqdjqzddegzdkaqr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Environment/third_party/GULAppEnvironmentUtil.m:269:12: error: use of undeclared identifier 'UIUserInterfaceIdiomPad'
case UIUserInterfaceIdiomPad:
^
3 errors generated.
I tried switching to using Firebase as a local SPM (by cloning the repo) and updating the dependency on GoogleUtilities to use main but then I just encountered loads more issues with other parts of Firebase failing to compile for visionOS.
Reproducing the issue
Try and compile for visionOS using Xcode 15.1 Beta (Version 15.1 beta (15C5028h)).
Description
I've got an iOS project I'm trying to port to visionOS and I'm having a lot of trouble with getting Firebase to build.
I've loaded the project/workspace using this script:
My Firebase SPM dependency is:
This is pulling in
GoogleUtilities 7.11.5
which fails to compile with the following error:There seems to be commits on
main
for GoogleUtilities (google/GoogleUtilities@4780d5c)that address this.
I tried switching to using Firebase as a local SPM (by cloning the repo) and updating the dependency on GoogleUtilities to use
main
but then I just encountered loads more issues with other parts of Firebase failing to compile for visionOS.Reproducing the issue
Try and compile for visionOS using Xcode 15.1 Beta (Version 15.1 beta (15C5028h)).
Firebase SDK Version
10.16
Xcode Version
Version 15.1 beta (15C5028h)
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics, App Check, Authentication, Crashlytics, Firestore, Functions, Remote Config
Targeted Platforms
visionOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetIf using CocoaPods, the project's Podfile.lock
No response
The text was updated successfully, but these errors were encountered: