8000 Fix Xcode 13 beta 3 AppExtension compilation by DominikBucher12 · Pull Request #1333 · GetStream/stream-chat-swift · GitHub
[go: up one dir, main page]

Skip to content

Conversation

DominikBucher12
Copy link
Contributor
@DominikBucher12 DominikBucher12 commented Jul 30, 2021

What this PR do:

  • Fix SDK compilation issue for Xcode 13 beta 3 by marking functions leading to calling UIApplication.shared.open as unavailable for iOSAppExtension

How to test it

  • Run Attached demo project in Xcode 13 beta 3 and see if it compiles.
    TestingApp.zip

SPM Team is looking for different solutions to the problem, you can take a look at discussion here:

https://forums.swift.org/t/set-application-extension-api-only-on-a-spm-package/39333/24

@DominikBucher12 DominikBucher12 linked an issue Jul 30, 2021 that may be closed by this pull request
@codecov-commenter
Copy link
codecov-commenter commented Jul 30, 2021

Codecov Report

Merging #1333 (ebfd311) into main (0cbf1a0) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1333      +/-   ##
==========================================
+ Coverage   91.15%   91.17%   +0.02%     
==========================================
  Files         227      227              
  Lines        9763     9763              
==========================================
+ Hits         8899     8901       +2     
+ Misses        864      862       -2     
Flag Coverage Δ
llc-tests 91.01% <ø> (+0.02%) ⬆️
llc-tests-ios12 87.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
Sources/StreamChat/Utils/Logger/Logger.swift 82.27% <0.00%> (+2.53%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0cbf1a0...ebfd311. Read the comment docs.

Copy link
Contributor
@SagarSDagdu SagarSDagdu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! LGTM

@DominikBucher12 DominikBucher12 merged commit e13ed8c into main Aug 2, 2021
@DominikBucher12 DominikBucher12 deleted the Fix_Xcode13Beta_AppExtensionCompilation branch August 2, 2021 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SDK does not compile in XCode 13.0 beta 3
4 participants
0