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

Xcode 16.0 - 'display' is only available in iOS 10.0 or newer #201

Open
abinhho opened this issue Sep 24, 2024 · 6 comments
Open

Xcode 16.0 - 'display' is only available in iOS 10.0 or newer #201

abinhho opened this issue Sep 24, 2024 · 6 comments

Comments

@abinhho
Copy link

abinhho commented Sep 24, 2024

Screenshot 2024-09-24 at 14 58 04

See screenshot.

@HisongMo
Copy link

same issue

@kaishin kaishin changed the title Xcode 16.0 - 'display' is only available in iOS 10.0 or newer Xcode 16.0 - 'display' is only available in iOS 10.0 or newer Jan 17, 2025
@kaishin
Copy link
Owner

kaishin commented Jan 17, 2025

Hi,

I am not getting this error. I need more information to reproduce it.

  • iOS target version in your own scheme.
  • Gifu version

Also can you try with latest Xcode and see if this happens again?

Repository owner deleted a comment from JING202303 Jan 17, 2025
@kaishin
Copy link
Owner

kaishin commented Jan 17, 2025

@JING202303 Please refrain from posting private communication without explicit permission from all involved parties.

@JING202303
Copy link

JING202303 commented Jan 20, 2025

Hi,

I am not getting this error. I need more information to reproduce it.

  • iOS target version in your own scheme.
  • Gifu version

Also can you try with latest Xcode and see if this happens again?

HI,
--> Xcode 16.1 - tvOS target version: Minimum Deployments: tvOS 14.0
--> Gifu version: 3.3.1
Code: " pod 'Gifu' " ( Installing Gifu (3.3.1) )

Thanks
JING

@kaishin
Copy link
Owner

kaishin commented Jan 20, 2025

@JING202303 Can you try updating the pod to 3.5.1 which I just pushed and report if you're still seeing the issue?

If it's still there, you can help me by creating a minimal project that reproduces the issue as that speeds up the process quite a bit.

@JING202303
Copy link

JING202303 commented Jan 22, 2025

@JING202303 Can you try updating the pod to 3.5.1 which I just pushed and report if you're still seeing the issue?

If it's still there, you can help me by creating a minimal project that reproduces the issue as that speeds up the process quite a bit.

----->
it is still seeing the issue.
Perhaps changing the deployment version could resolve this issue.
Points:

spec.ios.deployment_target = "10.0" // change this line
spec.tvos.deployment_target = "10.0" // change this line

The version is set to 9.0, which is likely causing this issue.

s.platform = :ios, "9.0" // change this as 10.0
s.platform = :tvos, "9.0" // change this as 10.0

Custom Gifu to my private spec, and running normally.



Pod::Spec.new do |spec|

spec.name = "ULGifu"
spec.summary = "Copy from Gifu pod"

spec.description = <<-DESC
Copy from Gifu pod(https://github.com/kaishin/Gifu)
DESC
spec.version = "1.0.1"
spec.homepage = ""
spec.license = "MIT"
spec.author = { "JING202303" => "
@gmail.com" }
spec.ios.deployment_target = "10.0" // change this line
spec.tvos.deployment_target = "10.0" // change this line
spec.source = { :git => "
****", :branch => "master", :tag => "#{spec.version}" }

spec.swift_version = '5.0'
spec.source_files = "ULGifu", "ULGifu/**/*.{swift}"

spec.frameworks = 'UIKit', 'Foundation'

end


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

No branches or pull requests

4 participants