# TimePicker crashes xcode

**URL:** <https://forums.fusetools.com/t/timepicker-crashes-xcode/6536>\
**Category:** Bug Reports\
**Created:** [December 21, 2017, 10:37am UTC](https://forums.fusetools.com/t/timepicker-crashes-xcode/6536 "2017-12-21T10:37:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morten](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Morten](https://forums.fusetools.com/u/Morten)\
**Post date:** [December 21, 2017, 10:37am UTC](https://forums.fusetools.com/t/timepicker-crashes-xcode/6536/1 "2017-12-21T10:37:54Z")

</div>

Hi

When I am using the example in [TimePicker Class](https://www.fusetools.com/docs/fuse/controls/timepicker) (after correcting the `Is24HourTimeView`) and running it on preview in xcode it crashes with an `EXC_BAD_ACCESS` when I dial in the time. Have tried with both Fuse 1.4 and 1.5. Running Xcode 9.2.

Best regards

Morten

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [December 22, 2017, 12:24pm UTC](https://forums.fusetools.com/t/timepicker-crashes-xcode/6536/2 "2017-12-22T12:24:22Z")

</div>

Hi Morten,

could you please share a complete, minimal reproduction that you get to crash reliably? We need some code for testing.

Also, is that a build or a preview? Are you running it in simulator or on a physical device? If device, what device is it what OS version does it run?

---

<div class="post-metadata">

**Author:** ![Morten](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@Morten](https://forums.fusetools.com/u/Morten)\
**Post date:** [January 5, 2018, 9:30pm UTC](https://forums.fusetools.com/t/timepicker-crashes-xcode/6536/3 "2018-01-05T21:30:40Z")

</div>

Hi Uldis

Thanks for the reply. It seems that the bug is reported previously in [App getting crash after selecting date in DatePicker](https://www.fusetools.com/community/forums/bug_reports/app_getting_crash_after_selecting_date_in_datepick) which is still under investigation. It breaks during preview on both simulator and iPhone 6 but works on a regular build on the iPhone.

Best regards

Morten
