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 · 1 comment
Open

Hero 1.6.x Xcode 16 Carthage #776

daywalkel2 opened this issue Sep 19, 2024 · 1 comment

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 []
}
}()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant