8000 SDK does not compile in XCode 13.0 beta 3 · Issue #1319 · GetStream/stream-chat-swift · GitHub
[go: up one dir, main page]

Skip to content

SDK does not compile in XCode 13.0 beta 3 #1319

@MatejBalantic

Description

@MatejBalantic

SDK version: 4.0.0-beta.8
XCode: 13.0 beta 3
The errors reported by the compiler:

Sources/StreamChatUI/Navigation/ChatMessageListRouter.swift:66:23: 'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.

Sources/StreamChatUI/Navigation/ChatMessageListRouter.swift:66:30: 'open(_:options:completionHandler:)' is unavailable in application extensions for iOS

This is clearly related to a recent SPM change discussed in this thread:
https://forums.swift.org/t/set-application-extension-api-only-on-a-spm-package/39333/24

Firebase recently issued a pull request addressing this issue in their SDK:
firebase/firebase-ios-sdk#8405

To allow stream chat SDK to compile with the XCode beta (and thus be tested on iOS 15) this needs to be addressed in a similar way here

Metadata

Metadata

Labels

🐞 BugAn issue or PR related to a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0