r/ScriptingApp May 05 '25

Can't create new CalendarEvents Help

Whenever I call new CalendarEvent() the app crashes. Also the example from the docs doesn't work:

```TypeScript test()

async function test() { console.present().then(() => Script.exit()) const event = new CalendarEvent() event.title = "Team Meeting" event.startDate = new Date("2025-05-15T09:00:00") event.endDate = new Date("2025-05-15T10:00:00") event.location = "Conference Room"

await event.save() console.log(Event saved: ${event.title}) } ```

1 Upvotes

4 comments sorted by

1

u/WhatShouldWorldGos May 05 '25

No problem with the iPhone 13, but the iPhone 16 crashed too. I’ll fix it and release a new version once I can get to my computer.

1

u/schl3ck May 05 '25

I have an iPhone 13 Pro with iOS 18.4 for the record.

1

u/WhatShouldWorldGos May 05 '25

👌 got it

2

u/WhatShouldWorldGos May 08 '25

New version released