-
Notifications
You must be signed in to change notification settings - Fork 268
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
Building the Typhoon.framework Library #316
Comments
Thanks @jasperblues! I do have the beta version of CocoaPods (0.36 beta 2) and it still creates a static library for Typhoon for some reason. I didn't look too heavily into it. I decided to follow your documentation on creating a git submodule for swift to build a dynamic framework. It didn't build there, so I just cloned the project and tried to build it. I was planning on using Swift on a project and seeing if I could just use frameworks instead of using a bridging header, but I can always go the recommended approach if the framework route is not ready. Thanks for your help. |
@zenkimoto I believe that documentation should be updated as @mowens is now recommending CocoaPods. Here's an example: # platform *must* be atleast 8.0
platform :ios, '8.0'
# flag makes all dependencies build as frameworks
use_frameworks!
# framework dependencies
pod 'Typhoon', '2.3.3' |
Does the above work for you? |
@zenkimoto Yes @jasperblues is correct in that it would be ideal to leverage CocoaPods instead of the dynamic framework target, however the target should still build (last I checked from master). Note that you have to use the I will look into the framework target sometime tonight as that should still be a valid way to include the project. |
Thanks @mowens , once @zenkimoto confirms Podfile example works, I'll update docs to recommend that as the first course of action, while the manual build remains an option. |
Thanks guys!!! I used Cocoapods with the use_frameworks! specification and it works. I guess I should have tried that. (But if I did, I probably wouldn't have reported this issue :-D) I do prefer Cocoapods over manually building. Thanks for your help, it's working great now. As far as why the framework isn't building, I'm not sure. Perhaps it's my setup? |
Hello! Nice project! I just cloned Typhoon Framework and tried to build the framework but it is failing when I'm trying to build the Cocoa framework library. The error indicates that UIDevice is an undeclared identifier (the other error is in reference to UIUserInterfaceIdiomPad being unidentified), but I've checked to see if the framework target has UIKit as a linked framework and it does. I've even checked the Build Phases tab and I don't see anything wrong. How do I just clone the project and build the Cocoa Framework library?
The text was updated successfully, but these errors were encountered: