Skip to content
This repository has been archived by the owner on Nov 30, 2019. It is now read-only.

Compiler error when targeting iOS 6 #18

Closed
timrossinfo opened this issue Apr 18, 2013 · 0 comments
Closed

Compiler error when targeting iOS 6 #18

timrossinfo opened this issue Apr 18, 2013 · 0 comments
Assignees
Milestone

Comments

@timrossinfo
Copy link

Hi, I am getting a compiler error in the most recent code from master. It appears that dispatch_release (used by the dealloc method in uiss.m) is not allowed if the project is targeting iOS 6.0 and above.

I found this information which might be relevant:
http://stackoverflow.com/questions/8618632/does-arc-support-dispatch-queues

In particular: "...if your deployment target is at least iOS 6.0 or Mac OS X 10.8, and you have ARC enabled, ARC will retain and release your queue, and the compiler will flag any attempt to use dispatch_retain or dispatch_release as an error."

Hope that helps!

Tim

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

No branches or pull requests

2 participants