socket.io - How to create a CocoaPod with nested git submodules? -
i'm trying create cocoapod nested git submodules. can create pod, however, can't fully install it.
when run pod install --verbose can see git submodule update --init being run instead of git submodule update --init --recursive doesn't pull nested submodule.
does cocoapods support nested submodules, or no? have scoured web potential leads, can't find anything!
i should mention lint passes pod lib lint not pod spec lint. pod spec lint complains can't find header file in nested submodule. i'm not sure if related problem above.
(also note particular pod i'm working on proof of concept. i'll creating more complex pod depends on socket.io-objc. unfortunately socket.io-objc not available pod, , depends on socketrocket submodule.)
here's podspec:
pod::spec.new |s| s.name = "debugtools" s.version = "0.1.0" s.summary = "awesome tools debugging ios apps." s.homepage = "https://github.com/robertcrabtree/debugtools" s.license = 'mit' s.author = { "robert crabtree" => "me@gmail.com" } s.source = { :git => "https://github.com/robertcrabtree/debugtools.git", :tag => s.version.to_s, :submodules => true } s.platform = :ios, '7.0' s.requires_arc = true s.source_files = 'pod/classes/**/*', 'pod/submodules/logmaster/logmaster/*.{h,m}', 'pod/submodules/logmaster/logmaster/logcore/*.h' s.resource_bundles = { 'debugtools' => ['pod/assets/*.png'] } end here's podfile:
pod "debugtools", :git => "https://github.com/robertcrabtree/debugtools.git", :submodules => true
Comments
Post a Comment