Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 15.1 and visionOS support #11890

Closed
paulb777 opened this issue Oct 3, 2023 · 5 comments
Closed

Xcode 15.1 and visionOS support #11890

paulb777 opened this issue Oct 3, 2023 · 5 comments
Assignees
Labels

Comments

@paulb777
Copy link
Member

paulb777 commented Oct 3, 2023

Description

From the Xcode 15.1 beta release notes:

  • Fixed: When building with the visionOS SDK, TargetConditionals.h incorrectly sets TARGET_OS_IOS to 1 instead of 0. (112716373)

Reproducing the issue

We need to evaluate all places in the code where TARGET_OS_IOS and determine the right path for visionOS.

Firebase SDK Version

10.16

Xcode Version

15.1

Installation Method

N/A

Firebase Product(s)

All

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@paulb777 paulb777 added this to the 10.17.0 - M139 milestone Oct 3, 2023
@paulb777
Copy link
Member Author

paulb777 commented Oct 4, 2023

See also google/GoogleUtilities#129

@andrewheard
Copy link
Contributor

Resolved in upcoming 10.17.0 release. See #11927, #11930, #11935, #11937, #11950 and #11938 for fixes.

@triplef
Copy link

triplef commented Nov 13, 2023

Is visionOS support supposed to work via Cocoapods? I’m getting the following error using the latest Cocoapods 1.14.2:

$ pod install
Analyzing dependencies
[!] The platform of the target `MyApp visionOS` (visionOS 1.0) is not compatible with `Firebase/Auth (10.17.0)`, which does not support `visionOS`.

If I do pod spec cat Firebase I can see that visionOS is not listed in the platforms contained in the pod spec:

      "platforms": {
        "ios": "11.0",
        "osx": "10.13",
        "tvos": "12.0",
        "watchos": "6.0"
      }

@paulb777
Copy link
Member Author

CocoaPods support is not yet fully implemented and Firebase's initial support is only available via Swift Package Manager.

@triplef
Copy link

triplef commented Nov 14, 2023

Thanks for the feedback @paulb777. We now migrated to SPM which works great with visionOS.

@firebase firebase locked and limited conversation to collaborators Nov 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants