We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69561e commit dff22c1Copy full SHA for dff22c1
PhotoPreview.podspec
@@ -8,12 +8,10 @@ Pod::Spec.new do |s|
8
s.platform = :ios, '13.0'
9
10
s.source = { :git => 'https://github.com/xiaoxiaowesley/PhotoPreview.git', :tag => s.version.to_s }
11
- s.source_files = 'PhotoPreview/**/*.{swift}'
+ s.source_files = 'Sources/PhotoPreview/*.swift'
12
s.dependency 'SDWebImage', '~> 5.20.0'
13
-
14
- s.test_spec 'Tests' do |test|
15
- test.source_files = 'PhotoPreviewTests/**/*.{swift}'
16
- test.dependency 'PhotoPreview'
17
- end
+
+ # 添加 Swift 版本
+ s.swift_version = '5.0' # 根据您的项目选择合适的 Swift 版本
18
end
19
0 commit comments