-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Cocoapods alert for objc project #30
Comments
There is a way using subspecs like QueryKit.podspec for example. The current solution would be to use Chameleon 1.1.2 |
Thanks bre7, the following line resolve this issue temporarily: |
@qiaoyan Or |
@bre7 is right, you could simply use: pod 'ChameleonFramework', '1.1.2' In the mean time I'm going to see what I can do. @bre7 What would be the best way to approach this? Would you recommend creating a new swift branch and drop the swift files there and using subspecs? Or would using subspecs alone do the job? |
I think they would both do the trick. There's a third option: two separate specs and single branch like Realm does realm-cocoa |
So I decided that the best thing to do for now is pursue the third option suggested by @bre7. I've separated objective-c and swift files into different folders, and plan on creating a separate spec for swift installations. At the moment the latest version You can go back to simply using: pod 'ChameleonFramework' Later tonight I'll look into creating one for Swift. |
On second thought, it seems a bit premature to create a pod spec for Swift when With that said, installation and usage should be just as easy for both languages at the moment. I updated the Installation section to cover both Objective-C and Swift, and even added Swift examples throughout the rest of the documentation as well. |
I was gonna ask if you wanted swift examples :) Extension for "UIStatusBarStyle Methods" would be another way, I'll push it in a sec. |
Thanks @bre7! I'll look at the pull request in a bit. |
Hi,
is there any configuration in pod's file can define version for objc?
From Cocoapods:
The text was updated successfully, but these errors were encountered: