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

Hero 1.6.x Xcode 16 Carthage #776

Open
daywalkel2 opened this issue Sep 19, 2024 · 3 comments · May be fixed by #778
Open

Hero 1.6.x Xcode 16 Carthage #776

daywalkel2 opened this issue Sep 19, 2024 · 3 comments · May be fixed by #778

Comments

@daywalkel2
Copy link

Hero SDK not compiling with Carthage in Xcode 16 or 16.1 beta.

/Users/xx/xx/xx/xx/Carthage/Checkouts/Hero/Hero.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'Hero (iOS)' from project 'Hero')
note: Disabling previews because SWIFT_VERSION is set and SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Hero (iOS)' from project 'Hero')
** ARCHIVE FAILED **

The following build commands failed:
CompileSwift normal arm64 (in target 'Hero (iOS)' from project 'Hero')

@daywalkel2
Copy link
Author

Here is the line that prevent build in Xcode 16.

// capture a snapshot without alpha, cornerRadius, or shadows
let oldMaskedCorners: CACornerMask = {
if #available(iOS 11, tvOS 11, *) {
return view.layer.maskedCorners
} else {
return []
}
}()

@JoeMatt
Copy link
Collaborator

JoeMatt commented Oct 10, 2024

I'm very busy with another project at the moment, could you make a pull request for this?

@daywalkel2
Copy link
Author

daywalkel2 commented Oct 11, 2024 via email

@ttuygun ttuygun linked a pull request Oct 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants