mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-04 21:41:45 +00:00
Static library support (fixes #54).
This commit is contained in:
parent
d0b7a015e8
commit
613acb789c
@ -804,6 +804,7 @@
|
||||
GCC_PREFIX_HEADER = "AsyncDisplayKit/AsyncDisplayKit-Prefix.pch";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PUBLIC_HEADERS_FOLDER_PATH = "include/$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
};
|
||||
name = Debug;
|
||||
@ -816,6 +817,7 @@
|
||||
GCC_PREFIX_HEADER = "AsyncDisplayKit/AsyncDisplayKit-Prefix.pch";
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PUBLIC_HEADERS_FOLDER_PATH = "include/$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
};
|
||||
name = Release;
|
||||
|
||||
@ -19,6 +19,11 @@ ASDK is available on [CocoaPods](http://cocoapods.org). Add the following to yo
|
||||
pod 'AsyncDisplayKit'
|
||||
```
|
||||
|
||||
(ASDK can also be used as a regular static library: Copy the project to your
|
||||
codebase manually, adding `AsyncDisplayKit.xcodeproj` to your workspace. Add
|
||||
`libAsyncDisplayKit.a` to the "Link Binary With Libraries" build phase.
|
||||
Include `-lc++ -ObjC` in your project linker flags.)
|
||||
|
||||
Import the framework header, or create an [Objective-C bridging
|
||||
header](https://developer.apple.com/library/ios/documentation/swift/conceptual/buildingcocoaapps/MixandMatch.html)
|
||||
if you're using Swift:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user