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

When I run the build, I get an error Type 'UIWindow' has no member 'isPortrait'. #854

Open
zizi4n5 opened this issue Aug 8, 2023 · 3 comments · May be fixed by #855
Open

When I run the build, I get an error Type 'UIWindow' has no member 'isPortrait'. #854

zizi4n5 opened this issue Aug 8, 2023 · 3 comments · May be fixed by #855

Comments

@zizi4n5
Copy link

zizi4n5 commented Aug 8, 2023

  • Environment:

    • XLPagerTabStrip 9.1.0
    • Xcode 14.3.1
  • Xcode console output of stack trace or code compilation error.

    • XLPagerTabStrip/Sources/XLPagerTabStrip/TwitterPagerTabStripViewController.swift:185:39 Type 'UIWindow' has no member 'isPortrait' スクリーンショット 2023-08-09 6 36 58
  • Any other additional detail such as example code that you think it would be useful to understand, reproduce and solve the problem.

    • This problem also always occurs when trying to install XLPagerTabStrip in Carthage.
    • Cause of Problem
@dafan2020
Copy link

same problem

@dafan2020
Copy link

image

The previous attributes have been removed, and we can replace them with new api attributes. In this way, the operation was successful.

@Climbatize
Copy link
Contributor

this issue appeared when I refactored the architecture and refreshed the code to support SPM. I checked SPM and CocoaPods but I completely missed Carthage integration. You should let @mtnbarreto know about #855

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 a pull request may close this issue.

3 participants