Giter VIP home page Giter VIP logo

Comments (8)

jeffh avatar jeffh commented on August 29, 2024

How are you integrating the library into your project?

  • Jeff

On Thu, Jun 6, 2013 at 12:27 PM, Dennin Dalke Onório
[email protected] wrote:

Maybe I'm missing something, but when I try to compile for iOS deployment target 6.1 using ARC I get these errors:
"ARC forbids explicit message send of 'release'"

"'release' is unavailable: not available in automatic reference count mode"

Reply to this email directly or view it on GitHub:
#6

from deferred.

DenninDalke avatar DenninDalke commented on August 29, 2024

I just cloned the project from git hub and then copied the files to my project.

from deferred.

jeffh avatar jeffh commented on August 29, 2024

It's probably easier if you submoduled the project and added the entire project as a subproject to your XCode project.

But if you want to include the files manually, you should only include the files in the Deferred folder, not the prefix.pch files or spec files.

from deferred.

DenninDalke avatar DenninDalke commented on August 29, 2024

Thanx Jeffh, actually I just copied the Deferred folder, the error I mentioned is from https://github.com/kseebaldt/deferred/blob/master/Deferred/KSPromise.m line 53:

this code:
- (void)dealloc {
dispatch_release(_sem);
}

from deferred.

jeffh avatar jeffh commented on August 29, 2024

Hmm, this is because your project is probably set to target OSX 10.8 or iOS 6. I'll try to get a fix in.

For now you'll need to set the -DOS_OBJECT_USE_OBJC=0 to the compiler flags for KSPromise.m.

from deferred.

DenninDalke avatar DenninDalke commented on August 29, 2024

Exactly Jeffh I'm targeting iOS 6, so many thanks for your fast reply! This will help me a lot.

from deferred.

jeffh avatar jeffh commented on August 29, 2024

This should be fixed on master, please confirm and close if resolved :)

from deferred.

jeffh avatar jeffh commented on August 29, 2024

@DenninDalke any problems? If not, please close this. Thanks.

from deferred.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.