Git Product home page Git Product logo

Comments (6)

amirdew avatar amirdew commented on May 18, 2024 2

Explained here #54
Use xcode13-no-swiftui branch as a workaround

from collectionviewpaginglayout.

amirdew avatar amirdew commented on May 18, 2024

I just tried it with Xcode Version 13.0 beta 5 (13A5212g)
Works fine! I tried it with SPM
SampleProject.zip

from collectionviewpaginglayout.

CristianMoisei avatar CristianMoisei commented on May 18, 2024

This used to work in the betas but it doesn't work with the RC or the version from the App Store. I'm getting the same errors. One important thing to clarify is that this happens when archiving, but not when building.

I have another project that is using v0.4.1 and that one archives fine. The one that is giving the errors is using v1.0.2
I haven't tested to check what the latest working version is but this could be an interim solution for anyone who needs it.

Screenshot 2021-09-23 at 10 21 11

from collectionviewpaginglayout.

Sookie7 avatar Sookie7 commented on May 18, 2024

This used to work in the betas but it doesn't work with the RC or the version from the App Store. I'm getting the same errors. One important thing to clarify is that this happens when archiving, but not when building.

I have another project that is using v0.4.1 and that one archives fine. The one that is giving the errors is using v1.0.2
I haven't tested to check what the latest working version is but this could be an interim solution for anyone who needs it.

Screenshot 2021-09-23 at 10 21 11

same issue, but I can't install v0.4.1

from collectionviewpaginglayout.

CristianMoisei avatar CristianMoisei commented on May 18, 2024

@Sookie7 have you tried setting it to exact version 0.4.1? Then you can File > Packages > Resolve Package Versions

Also to clarify, 0.4.1 is the latest version that works since the next version (1.0.0) is the one that introduces support for SwiftUI. Something that was changed there seems to be causing this issue.

Screenshot 2021-09-23 at 23 52 19

from collectionviewpaginglayout.

LeeTwelve avatar LeeTwelve commented on May 18, 2024

@CristianMoisei this is a true way but not for me. I use invalidateLayoutInBatchUpdate() and 0.4.1 doesn't have this method.

from collectionviewpaginglayout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.