Merge pull request #376 from ivanoblomov/master
Added alternate compiler flag for frameworks that extend optional libraries, like Parse and RestKit
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -247,6 +247,10 @@ Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linke | @@ -247,6 +247,10 @@ Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linke | ||
247 | 247 | ||
248 | ![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg) | 248 | ![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg) |
249 | 249 | ||
250 | +Alternatively—if this causes compilation problems with frameworks that extend optional libraries, such as Parse or RestKit—instead of the -ObjC flag use: | ||
251 | + | ||
252 | +-force_load SDWebImage.framework/Versions/Current/SDWebImage | ||
253 | + | ||
250 | ### Import headers in your source files | 254 | ### Import headers in your source files |
251 | 255 | ||
252 | In the source files where you need to use the library, import the header file: | 256 | In the source files where you need to use the library, import the header file: |
-
Please register or login to post a comment