我正在通过执行以下操作来测试我正在处理的 podfile 的使用...
在我的应用程序中,我添加了 pod
pod "SampleSDK" , :local=>pod "SampleSDK", :local=>"~/Documents/Dev/iOS/MobSample"
我的 pod 规格文件如下
Pod::Spec.new do |s|
s.name = "SampleSDK"
s.version = "1.0.2"
s.summary = "This is an Objective-C SDK for Sample."
s.homepage = "https://github.com/Sample/SampleSDK.git"
s.source = { :git => "https://github.com/Sample/SampleSDK.git",:tag => "v1.0.2"}
s.public_header_files = 'SampleSDK-iosuniversal/SampleSDK.framework/Headers/*.h'
s.preserve_paths = SamplekSDK-iosuniversal/SampleSDK.framework'
s.frameworks = 'Foundation', 'QuartzCore' , 'SystemConfiguration'
s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/SampleSDK/Headers"', 'OTHER_LDFLAGS' => '$(inherited) -all_load -ObjC' }
end
pod 规范验证已通过,但是当我进行 pod install 时,LocalPods>>SampleSDK>> 中不存在任何头文件
我哪里错了?我应该如何进一步进行?