Closed aharren closed 10 years ago
Some first new specs can be found here: https://github.com/aharren/LibComponentLogging-CocoaPods-NewSpecs The specs work out-of-the box if the lcl_config* files are created manually.
Initial version of the auto-configuration tool: https://github.com/aharren/LibComponentLogging-configure Users will have to run
lcl_configure pod
after a
pod install
lcl_configure
will then analyze the Podfile.lock file and the Pods folder and then create the lcl_config* files based on the configured pods.
It's still under construction, and un-embedding of RestKit's logging infrastructure is still missing.
Great that you are working on this :+1:. I could not find any quick fix since cocoapods does not yet seem to be able to load local json podspecs.
Being pragmatic, if you want to give it a try, you can delete the LibComponentLogging-* pods from ~/.cocoapods/repos/master/Specs and copy the specs from https://github.com/aharren/LibComponentLogging-CocoaPods-NewSpecs there.
https://github.com/aharren/LibComponentLogging-configure now also supports integration of RestKit (>=0.20.0) by un-embedding it and integrating its log components into the central lcl_config_components.h file.
Thanks! Cloning the repository and moving the files into the local specs repository did work. :-)
For others having the same problem:
$ git clone https://github.com/aharren/LibComponentLogging-CocoaPods-NewSpecs.git
$ cd LibComponentLogging-CocoaPods-NewSpecs
$ mv specs/LibComponentLogging-Core/* ~/.cocoapods/repos/master/Specs/LibComponentLogging-Core/
$ pod repo add lcl https://github.com/aharren/LibComponentLogging-CocoaPods-NewSpecs.git
should also do the trick without the need to delete files from the master specs repository at ~/.cocoapods/repos/master
New specs are merged to https://github.com/CocoaPods/Specs.
started https://github.com/aharren/LibComponentLogging-CocoaPods-NewSpecs