我已经创建了一个iOS框架项目,并为其添加了一个.podspec.生成的框架以及包含的演示项目都很好.但我在pod规格测试期间遇到错误.
我正在使用的podspec文件是
Pod::Spec.new do |s|s.name = "HorizontalPicker"
s.version = "1.0.0"
s.summary = "A similar to UIPickerView but horizontal picker view."
s.homepage = "https://github.com/HHuckebein/HorizontalPicker"
s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
s.author = { "RABE_IT Services" => "info@berndrabe.de" }
s.source = { :git => "https://github.com/HHuckebein/HorizontalPicker.git", :tag => "1.0.0" }
s.platform = :ios, '5.1'
s.source_files = 'HorizontalPicker/*.{h,m}'
s.framework = 'QuartzCore'
s.requires_arc = true
end
-> HorizontalPicker (1.0.0)
- ERROR | [xcodebuild] HorizontalPicker/HorizontalPicker/HPickerView.m:42:30: error: unknown type name 'CAShapeLayer'
- ERROR …Run Code Online (Sandbox Code Playgroud)