-
Notifications
You must be signed in to change notification settings - Fork 154
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
Boxed NSObjects fail for Cocoapods installation #28
Comments
@kylealanhale Thank you for the notice, let me have a look. |
Damned, I forgot this issue for the 2.0.0 release. |
@kylealanhale, @AMTourky Do you know what is needed in the podspec for the |
Currently having this issue... Thought I'd have to manually override for boxed items! Any update on this? |
@groue @sahandnayebaziz It's been a while, but I'm not sure that it was a problem with the podspec; if so, maybe the modification I made to my podfile in the original report will be helpful. But if I'm remembering correctly, it would be better to remove the |
I've lost some hours debugging this when switching from the ObjC version GRMustache to GRMustache.swift for rendering of my NSObject, so I propose at least adding a note to the README with #71. |
Same problem also happens when using as Swift package, probably not fixable because in a Swift package it's not possible to have Obj-C source files. But maybe GRMustache.swift/ObjC/GRMustacheKeyAccess.h Lines 25 to 51 in 7befd1a
Unfortunately I'm not able to do it ATM. |
add objc files as separate target see groue#28
When installing the framework via Cocoapods, NSObject subclasses aren't properly boxed, due to the compiler conditional in Box.swift.
Here's a temporary workaround hook for a project's Podfile:
The text was updated successfully, but these errors were encountered: