GithubHelp home page GithubHelp logo

Comments (5)

ravalzankhan avatar ravalzankhan commented on July 20, 2024

one more logs for this crash

  1. Assertion failure in -[FSCalendarCollectionView _validateSelectionOrHighlightIndexPath:isSelection:allowMassIndexPath:assertIfInvalid:], UICollectionView.m:8,265

  2. uses triple "arm64e-apple-ios17.3.0", which is not compatible with the target triple "arm64-apple-ios17.0.0". Enabling per-module Swift scratch context.

from fscalendar.

zzdravkin avatar zzdravkin commented on July 20, 2024

Same problem I have, one way is to make default time zone for calendar, crash is gone but do not know if it's correct way, as all users will have one time zone.

class XYZFSCalendar: FSCalendar {
override init(frame: CGRect) {
super.init(frame: frame)
}

required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)

   if let projectTimeZone = TimeZone(identifier: "UTC") {
      self.setValue(projectTimeZone, forKey: "timeZone")
      self.perform(Selector(("invalidateDateTools")))
   }

}
}

from fscalendar.

ravalzankhan avatar ravalzankhan commented on July 20, 2024

Same problem I have, one way is to make default time zone for calendar, crash is gone but do not know if it's correct way, as all users will have one time zone.

class XYZFSCalendar: FSCalendar { override init(frame: CGRect) { super.init(frame: frame) }

required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder)

   if let projectTimeZone = TimeZone(identifier: "UTC") {
      self.setValue(projectTimeZone, forKey: "timeZone")
      self.perform(Selector(("invalidateDateTools")))
   }

} }

Thanks, I tried this but it does not work in my case.
Even I downloaded the Fscalander demo App and it also crashed with the same case.

  1. Versions above 17 with TimeZone Mazatlan, Mexico.
  2. On Tap FsCalanderScope Example - It crash

I am not sure why it happens only on this timezone and OS 17, please give any solution if you have.

from fscalendar.

zzdravkin avatar zzdravkin commented on July 20, 2024

New PR is created for #1425
you can test the changes on your project as is one line of code

from fscalendar.

wlxo0401 avatar wlxo0401 commented on July 20, 2024

We need 'Privacy Manifest' to be resolved first.

from fscalendar.

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.