Skip to content

Conversation

@mbernson
Copy link
Contributor

@mbernson mbernson commented May 30, 2023

This fixes a compilation error that prevented me from using ConnectMocks in my app. The app targets iOS 15, but ConnectMocks didn't compile because it targets iOS 12, and the @Published property wrapper that some of its classes use is only available in iOS 13 and higher.

This PR adds @available(iOS 13.0, *) to fix the problem.

This fixes a compilation error, because the @published property wrapper that these classes use is only available in iOS 13 and higher.
@CLAassistant
Copy link

CLAassistant commented May 30, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@rebello95 rebello95 left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution!

@rebello95 rebello95 merged commit 4c02532 into connectrpc:main Jun 5, 2023
@mbernson mbernson deleted the feature/fix-ConnectMocks-availability branch June 5, 2023 18:35
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.

3 participants