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

Recording Tools subspec doesn't compile with frameworks due to ARC issues in KSObjCApple.h #128

Open
SSheldon opened this issue Feb 27, 2016 · 1 comment

Comments

@SSheldon
Copy link
Contributor

After #127, I'm able to use KSCrash as a framework, but using the Recording Tools subspec doesn't work due to these issues:

While building module 'KSCrash':
In file included from <module-includes>:1:
In file included from KSCrash/KSCrash.framework/Headers/KSCrash-umbrella.h:26:
KSCrash/KSCrash.framework/Headers/KSObjCApple.h:488:5: warning: '__strong' only applies to Objective-C object or block pointer types; type here is 'void *' [-Wignored-attributes]
    __strong void *_store;           /* can be NULL when MutableDeque */
    ^
KSCrash/KSCrash.framework/Headers/KSObjCApple.h:581:8: error: ARC forbids Objective-C objects in union
    id strong;
       ^
1 warning and 1 error generated.
fatal error: could not build module 'KSCrash'
#import <KSCrash/KSCrash.h>
 ~~~~~~~^

Not sure how to fix this, maybe people just should use the Tools subspec with frameworks 😄

Or maybe it could be fixed by marking that this header shouldn't use ARC?

@kstenerud
Copy link
Owner

Should be fixed by 0dad7f1

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

2 participants