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

Unable to build the project with Xcode 15.2 #138

Open
sushil-tiwari opened this issue Jan 10, 2024 · 2 comments
Open

Unable to build the project with Xcode 15.2 #138

sushil-tiwari opened this issue Jan 10, 2024 · 2 comments

Comments

@sushil-tiwari
Copy link

Describe the bug
I am working on an ongoing project where I am using PagerTabStripView library. I have added it as SPM. The project is compiling and building successfully with Xcode 14.2.

I have upgraded my Xcode to 15.2 and the same project is not compiling. When compiling the project with Xcode 15.2, I am seeing below error. Reference screenshots are attached.

Error: Initializer for conditional binding must have Optional type, not 'CGFloat'

To Reproduce
Steps to reproduce the behavior:

  1. Use library version 3.2.0 in the project
  2. Compile it with Xcode 15.2
  3. Check the build error

Expected behavior
The project should be commpiled with Xcode 15.

Screenshots
Screenshot 2024-01-10 at 4 53 12 PM

Screenshot 2024-01-10 at 4 47 55 PM Screenshot 2024-01-10 at 4 48 17 PM

Versions (please complete the following information):

  • Xcode: Xcode 15.2
  • Device: iPhoneXR (& other models)
  • OS: iOS17.1.2
  • Library version 3.2.0
@pyby
Copy link

pyby commented Jan 31, 2024

I saw a branch named v3.2.1.
The only commit fixed the build.

3fcfe51

Would it be possible to manually tag this commit to 3.2.1 @cecipirotto ?

For now, we can use the SPM dependency "commit" with this commit hash.

@sushil-tiwari
Copy link
Author

sushil-tiwari commented Jan 31, 2024

I saw a branch named v3.2.1. The only commit fixed the build.

3fcfe51

Would it be possible to manually tag this commit to 3.2.1 @cecipirotto ?

For now, we can use the SPM dependency "commit" with this commit hash.

@pyby
Thank you for the followup and update. I switched to version 4.0.0 and it is working fine. For this, I had to change the minimum OS support to iOS 16.

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

No branches or pull requests

2 participants