10.7 ARC compatibility

Asked by Mladen Despotovic

Hi,

I am in the middle of converting one old project to comply with ARC. This projects uses Sparkle files as well and all seems quite untransparent.

I wonder if you have any plans of converting this project to Lion?

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Mladen Despotovic
Solved:
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

You don't need for Sparkle to use ARC in order to use ARC in your project.

What precisely do you mean by "converting this project to Lion"? I know of two outstanding Lion compatibility bugs: one with crashes in DMG support, the other with project conversion issues in Xcode 4.

Revision history for this message
Mladen Despotovic (mladen-despotovic) said :
#2

Perhaps my original message was a bit weird.

Situation is that due to some other issues whole project is decided to be upgraded to comply with ARC. THere are of course bunch od sparkle files in this project and when conversion assistant is started, there are bunch of fails.

Since there are Sparkle source files in this projects, how not to use ARC in Sparkle files and use it in others? Or is there another, better way to use Sparkle?

 I need to say here that I have inherited the project and haven't worked with Sparkle before.

Thanks for kindness

Revision history for this message
Andy Matuschak (andymatuschak) said :
#3

Oh. You should be linking to Sparkle as a framework. No need to put the source files directly in your project.

Revision history for this message
Mladen Despotovic (mladen-despotovic) said :
#4

I suspected this was not proper approach, however, I'm not really sure why had the guy before me done that.

Anyway, thanks for your answers, Andy! :)