Skip to content
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

Support for PodBuilder #155

Open
fabb opened this issue Nov 4, 2018 · 4 comments
Open

Support for PodBuilder #155

fabb opened this issue Nov 4, 2018 · 4 comments

Comments

@fabb
Copy link
Contributor

fabb commented Nov 4, 2018

Enhancement Suggestion

PodBuilder is a tool that supports precompilation of frameworks in projects that use Cocoapods. Would it be possible for Rome to support caching PodBuilder generated frameworks?

@tmspzz
Copy link
Owner

tmspzz commented Nov 4, 2018

@fabb if PodBuilder generates something similar to a Cartfile.resolved(Podfile.restore maybe?) then I guess it should be possible to support it.

This is not on my roadmap but it someone wants to pick this up I'll be glad to discuss an implementation strategy.

@fabb
Copy link
Contributor Author

fabb commented Feb 2, 2019

Sorry for not responding for so long, the PodBuilder project is kind of a low priority project for us and does not get the love it deserves.

In the mean time, PodBuilder added version files for each installed framework which should make the integration easier. Now it creates a PodBuilder.plist file inside each .framework folder that contains the pod version (or commit hash), and even the swift compiler version.

Please correct me if I'm wrong, I think the rough steps to make Rome support PodBuilder would be these:

  • Add and parse a configuration option to Romefile which tells Rome that it needs to deal with a PodBuilder project
  • Parse and analyze the Podfile.restore file to find out which frameworks would need to be generated (I guess this would be the most work)
  • Parse the PodBuilder.plist files and use them instead of Carthage version files
  • Use the PodBuilder folder structure instead of the one of Carthage/Build
  • Since CocoaPods/Rome and therefore PodBuilder only seems to support one platform at a time, ignore TargetPlatform, or set it to some placeholder

Did I overlook something?

@tmspzz
Copy link
Owner

tmspzz commented Feb 3, 2019

@fabb Seems about right. I can't commit the time necessary to make this happen right now. Do you want to take a shot at it?

I suggest to start by parsing the Podfile.restore

@fabb
Copy link
Contributor Author

fabb commented Feb 3, 2019

Oh I don‘t expect you to do it, it‘s probably a feature only I would use anyways.

I will keep this on my list, but I probably can‘t complete it soon. Would be nice to do something real in Haskell though, not just assingments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants