Creating an .ics file for sending calendar invites

I've been trying to create an .ics calendar event using a script that I researched....see below. I used a text editor on an iMac and created the script but when I saved it, I could not save it as a dot ICS file. I tried just changing the name and it could not be read by a calendar app. I create an ICS file from the Below script?


BEGIN:VCALENDAR

VERSION:2.0

PRODID:-//Our Club//Big Event 1&2//EN

BEGIN:VEVENT

UID:anyone@gmail.com

DTSTAMP: 20250109T1300 Z

DTSTART: 20250802T0900 Z

DTEND: 20250803T1600Z

SUMMARY:Annual Event

DESCRIPTION:Come Join Us

LOCATION:Our Event, Fairfield, CT 06824

END:VEVENT

END:VCALENDAR


Thanks


iMac 27″, macOS 15.2

Posted on Jan 9, 2025 10:09 AM

Reply
3 replies

Jan 9, 2025 1:24 PM in response to MartinR

ps. among other things, a proper .ics file requires a UID field containing a long, unique value, which I don't think you can manually create, or if you can it's extremely complex. There are online UID generators but none of them guarantees that what they create will be unique, so even if you got one it may not be usable. "UID:anyone@gmail.com" is not a valid UID.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Creating an .ics file for sending calendar invites

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.