My web app generates ics files. These can be read successfully by Google Calender, but not iCal, which shows the error "iCal can’t read this calendar file. No events have been added to your iCal calendar.".
Why doesn't my ics file load in iCal?
Here is the file contents:
BEGIN:VCALENDAR
VERSION:1.0
PRODID:-//Third Workplace//EN
BEGIN:VEVENT
SUMMARY:Meeting at Third Workplace in Office #4
DTSTART;TZID=UTC;VALUE=DATE-TIME:20120820T160000Z
DTEND;TZID=UTC;VALUE=DATE-TIME:20120820T170000Z
DTSTAMP;VALUE=DATE-TIME:20120820T084134
UID:[email protected]
LOCATION:Office #4 at Third Workplace Contra Costa Centre
ORGANIZER:MAILTO:[email protected]
END:VEVENT
END:VCALENDAR
Here is the original, binary version.
send the message to yourself (I used my icloud.com address) open the newly received message and tap on the . ics icon. use the Add Event option to add the event to your calendar.
The ICS file format is a universal calendar format used by calendar and email programs, including Outlook for Microsoft 365, Google Calendar, Yahoo Calendar, and Apple Calendar.
Change that version to 2.0, and watch the magic happen :-)
TG
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With