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

__unsafe_unretained and __bridge not available in Xcode 4.1 #56

Open
191919 opened this issue Aug 2, 2011 · 2 comments
Open

__unsafe_unretained and __bridge not available in Xcode 4.1 #56

191919 opened this issue Aug 2, 2011 · 2 comments

Comments

@191919
Copy link

191919 commented Aug 2, 2011

When compiling Chameleon in Lion + Xcode 4.1, there are tens of errors like this:

file://localhost/Users/191919/Desktop/cocoa/Chameleon/UIKit/Classes/NSFetchedResultsController.h: error: Parse Issue: Unknown type name '__unsafe_unretained'

@maxfell
Copy link

maxfell commented Aug 4, 2011

+1

@BigZaphod
Copy link
Owner

If you use Xcode 4.2 it should work. (They are ARC annotations causing this problem.) In the meantime, you should be able to just #define them away from somewhere global:

#define __unsafe_unretained
#define __bridge

Or just go through the source and delete the instances of those annotations in your branch. Whatever works best for you.

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

3 participants