Frank
Frank copied to clipboard
Add CocoaPods support
http://cocoapods.org/
@siuying already started on this: https://github.com/siuying/Specs/tree/frank/Frank/0.8.8
Unfortunately I have yet to figure out how to make it work ...
I was able to get this to work outside of the Frank pod, by merging the Pods.xconfig
settings into the frankify.xcconfig
settings, since your Target & configuration can only depend on one.
If I can think of a good way to do this merging automatically each time you do pod install
(which I suspect will just be a post-install hook) then a cocoapod isn't so far off.
@subdigital if you can figure out a solution that'd be awesome.
I would really like to know how to do this also or for the project to gain support. My build seems to fail when I try to use Frank. I am currently using CocoaPods to install other dependencies.
I'd love to work on this issue but I don't know where to start. Any insight would be appreciated!
Me to... !
Is there an argument for separating the Frank installation into the frank-cucumber gem for only the Ruby part of Frank, and using Cocoapods to install the native code dependencies? That'd work if you were using the old duplicated target approach to installing Frank on the native side, not with the conditional xcconfig build parameters.
Is there a sample project that shows the problem installing Frank with Cocoapods? I'll have a look if so.
sgleadow, I honestly don't really understand what you mean... What do you mean with "conditional xcconfig build parameters"? Is there an updated tutorial using Cocoapods/Frank besides this one? => http://blog.thepete.net/blog/2012/10/16/frank-with-cocoapods/
I missed that post from Pete... usually try to read everything he writes but was on holiday at that time and did a relaxing "select all -> mark as read" when I got back!
I've been able to use CocoaPods to frankify my app using these two podspecs: https://github.com/TestingWithFrank/Frank/pull/19 https://github.com/TestingWithFrank/Shelley/pull/18
If anybody has any feedback, I'd be glad to hear it.