Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this Mavericks compatible? #299

Open
wc8 opened this issue Jan 15, 2014 · 8 comments
Open

Is this Mavericks compatible? #299

wc8 opened this issue Jan 15, 2014 · 8 comments

Comments

@wc8
Copy link

wc8 commented Jan 15, 2014

I tried to compile in Xcode (5?) for Mavericks but it failed with 20 issues including semantics, format string, lexical and deprecation issues.

@rcaputo
Copy link

rcaputo commented Jan 17, 2014

It is Mavericks compatible. I just built it now.

  1. Follow the 4.5+ instructions in the README.TXT.
  2. Accept the recommended project upgrades.
  3. If compiling getActiveUrlsFromBrowsers.applescript fails, it's because you don't have Chrome installed. Install Chrome. If you prefer Chromium, install that, and "Google Chrome" to "Chromium" in the appnescript. If you'll never install a Chromium-based browser, and you aren't distributing binaries, then you can probably remove that section of the script.

The deprecations are advanced warning of features that will go away in the future. XCode supports those features for now, so they're harmless for now.

@rcaputo
Copy link

rcaputo commented Jan 17, 2014

  1. I also had to update build settings to match my system.

Click on Pomodoro (the target app) in the left sidebar. The center section should switch to "Build Settings".

Make sure "Architectures" match your system. For me:
Architectures: "Standard Architectures (64-bit Intel) (x86_64)".
Base SDK: "Latest OS X (OS X 10.9)"

Make sure "Build Options" match your system. For me:
Compiler for C/C++/Objective-C: Apple LLVM 5.0

@wc8
Copy link
Author

wc8 commented Jan 23, 2014

#295 it seems was my main issue. For that, the objective C link instructions helped:

Go to the project > Targets > Build Settings
Search Header Search Paths
Add

I was able to fix the error by adding "$(SDKROOT)/usr/include/libxml2" (including double quotes). – Hemang Jan 22 '13 at 7:03

However, your 10.9 instructions helped.
The last issue was figuring out that README.txt "distribute" did indeed mean Build and finding the app. I now have compiled my first mac app with Xcode.
Thank you.

@wc8 wc8 closed this as completed Jan 23, 2014
@wc8 wc8 reopened this Jan 24, 2014
@izimbra
Copy link

izimbra commented Apr 9, 2014

@rcaputo do you think you could share your updated Xcode project file? I can't get past the ARC update stage #302

@rcaputo
Copy link

rcaputo commented Apr 9, 2014

I did nothing regarding the ARC update. I think those were harmless warnings the last time I built Pomodoro. If the latest XCode update broke the build, I can't help you yet.

@pefavre
Copy link

pefavre commented Apr 11, 2014

@izimbra Hey I got the same issue here, can't work out the garbage collection errors

@jnardiello
Copy link

I can confirm that building on XCode 5.X fails because of Garbage collection being deprecated. Pressing "Not now" when asked what to do with it when you first open the project doesn't help.

I was still able to build the project with a minor and tricky change:

  • Once the project is open in XCode click on "Find" -> "Find in Project"
  • Search for "GCC_ENABLE_OBJC_GC"
  • go through ALL the results and simply delete them

After this, you will be able to build the App getting a few warnings.
Note: This is NOT a well-done solution. I'm not a OS X dev and i have no idea if this change is going to blow up your mac. I did it, it worked and the app seems working fine. Take it or leave it. Hope it helps

@pefavre
Copy link

pefavre commented Apr 14, 2014

Thanks @jnardiello, it finally worked. Kind of dirty but I don't mind, it's just for local use. By the way, I got around the Distribute issue with #286.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants