Eliminated requirement to use -all_load linker flag. #109
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi guys,
Thanks so much for this awesome library, our team really enjoys using it.
When we updated our pod dependency from 1.5.3 to 1.5.5, our build broke during linking. I've been able to pinpoint the issue to the -all_load linker flag. There is a known bug with the linker when bringing in categories: http://developer.apple.com/library/mac/#qa/qa2006/qa1490.html
I also found a blog post with more descriptions on the issue:
http://webcache.googleusercontent.com/search?q=cache:FQvKOYmv6mAJ:blog.binaryfinery.com/universal-static-library-problem-in-iphone-sd+&cd=1&hl=en&ct=clnk&gl=us
The blog references a fix RestKit used:
RestKit/RestKit@b96940c
This pull request adds a new macro for embedding a dummy class in all the category implementation files so that the linker can function without the -all_load flag. I built and ran tests for both Mac and iOS.
Looking forward to your feedback!
Cheers,
Rene