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

Fix for XCode 13 issue relating to "unavailable api..." #151

Merged
merged 2 commits into from
Aug 3, 2021

Conversation

mhdostal
Copy link
Member

@mhdostal mhdostal commented Aug 2, 2021

The resolves #150 by moving the topViewController() method the UIApplication extension to MeasureToolbar. That was the only place that was using it. This fix preserves the existing MeasureToolbar api. It does require MeasureToolbar to be marked @available(iOSApplicationExtension, unavailable).

Tested on Xcode 13 Beta 4 and Xcode 12.5.

@mhdostal mhdostal marked this pull request as ready for review August 2, 2021 20:01
@mhdostal mhdostal changed the base branch from master to update12 August 2, 2021 20:01
Copy link

@saratchandrakarumuri saratchandrakarumuri left a comment

Choose a reason for hiding this comment

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

Tested with Xcode 13 beta and iOS 15 and able to build application with no errors

@mhdostal mhdostal requested a review from philium August 3, 2021 13:30
@mhdostal mhdostal merged commit d6dfa0d into update12 Aug 3, 2021
@mhdostal mhdostal deleted the mhd/Xcode13_fix branch August 3, 2021 14:58
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.

Build errors with Xcode 13 Beta 3
3 participants