Merge pull request #879 from dulgan/patch-1
Adding a flag for Cocoa Pods users
This commit is contained in:
commit
11125c4379
|
@ -254,11 +254,15 @@ Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linke
|
||||||
![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg)
|
![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg)
|
||||||
|
|
||||||
Alternatively, if this causes compilation problems with frameworks that extend optional libraries, such as Parse, RestKit or opencv2, instead of the -ObjC flag use:
|
Alternatively, if this causes compilation problems with frameworks that extend optional libraries, such as Parse, RestKit or opencv2, instead of the -ObjC flag use:
|
||||||
|
|
||||||
```
|
```
|
||||||
-force_load SDWebImage.framework/Versions/Current/SDWebImage
|
-force_load SDWebImage.framework/Versions/Current/SDWebImage
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you're using Cocoa Pods and have any frameworks that extend optional libraries, such as Parsen RestKit or opencv2, instead of the -ObjC flag use:
|
||||||
|
```
|
||||||
|
-force_load $(TARGET_BUILD_DIR)/libPods.a
|
||||||
|
```
|
||||||
|
|
||||||
### Import headers in your source files
|
### Import headers in your source files
|
||||||
|
|
||||||
In the source files where you need to use the library, import the header file:
|
In the source files where you need to use the library, import the header file:
|
||||||
|
|
Loading…
Reference in New Issue