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

Cocoapods/Shothand broken #893

Open
BarryBatser opened this issue Oct 27, 2014 · 1 comment
Open

Cocoapods/Shothand broken #893

BarryBatser opened this issue Oct 27, 2014 · 1 comment
Assignees
Milestone

Comments

@BarryBatser
Copy link

Basically i am using MagicalRecord with CocoaPods as following:

pod 'MagicalRecord/Shorthand', :git => 'https://github.com/magicalpanda/MagicalRecord.git', :commit => '700ae7ec0bb440ecba3eb8aa972277273096b0d2'

It generates a PCH file within the Pods project where de shorthand macro is set. But within my main project, is is not found. For now I define the shorthand macro again. Is this the only option?

@tonyarnold tonyarnold added this to the 2.3.0 milestone Nov 1, 2014
@tonyarnold tonyarnold self-assigned this Nov 1, 2014
@tonyarnold
Copy link
Contributor

It's not broken, I just can't find a way to make this work with CocoaPods. Rightly, it's not possible for me to inject the #define MR_SHORTHAND 1 line into your project before importing.

We'll have a look at fixing this in a different way in MR3, but for now you'll have to keep adding #define MR_SHORTHAND 1 before you import the MagicalRecord headers. Sorry!

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

No branches or pull requests

2 participants