ali-rantakari / icalBuddy

Command-line utility for printing events and tasks from the OS X calendar database.
149 stars 33 forks source link

icalBuddy 1.8.10 fails to build on Yosemite #7

Closed chdiza closed 9 years ago

chdiza commented 9 years ago

Trying to build the tarball, by cd'ing there and typing "make" on Yosemite with Xcode 6.1 results in the following:

---- Compiling main app:
======================================
clang  -O3 -Wall -Wextra -Wno-unused-parameter -Werror -std=c99 -force_cpusubtype_ALL -mmacosx-version-min=10.5 -arch i386  -framework Cocoa -framework CalendarStore -framework AppKit -framework AddressBook -o icalBuddy icalBuddy.m icalBuddy[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.m ANSIEscapeHelper.m HG*.m IcalBuddy*.m *+HGAdditions.m
icalBuddyArgs.m:163:16: error: incompatible pointer types assigning to
      'NSMutableDictionary *' from 'NSDictionary *'
      [-Werror,-Wincompatible-pointer-types]
    configDict = [NSDictionary dictionaryWithContentsOfFile:filePath];
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [icalBuddy] Error 1
LittleOrangeC commented 9 years ago

I was able to reproduce this error.

With OS X 10.10.1 and Xcode 6.1.1 I was able to successfully build version 1.8.8, but not 1.8.10.

edasque commented 9 years ago

I could install icalbuddy on Yosemite 10.10 with:

brew install ical-buddy

I understand that's not building it but if all you need is 1.8.10 installed, that'll work.

LittleOrangeC commented 9 years ago

I agree 1.8.8 builds, installs and works just fine. I was just confirming the build bug @chdiza observed with 1.8.10.

ali-rantakari commented 9 years ago

Thanks. Fixed in 6b27b1e