Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包SQLiteMigrationManager.swift时提示does not specify a Swift version #22

Open
duyg opened this issue Oct 13, 2021 · 3 comments
Open

Comments

@duyg
Copy link

duyg commented Oct 13, 2021

在SQLiteMigrationManager的podspec中有指定swift_version,但是不知道为什么不行。。。

  • SQLiteMigrationManager.swift does not specify a Swift version and none of the targets (TuhuiOSUtils-ios) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

求助,先谢谢了。

`Pod::Spec.new do |s|
s.name = "SQLiteMigrationManager.swift"
s.version = "0.7.4"
s.summary = "Migration manager for SQLite.swift"
s.description = <<-DESC
Migration manager for SQLite.swift, based on FMDBMigrationManager.
DESC
s.homepage = "https://github.com/garriguv/SQLiteMigrationManager.swift"
s.license = { :type => "MIT", :file => "LICENSE" }

s.author = { "Vincent Garrigues" => "[email protected]" }
s.social_media_url = "http://twitter.com/garriguv"

s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'

s.module_name = 'SQLiteMigrationManager'

s.source = { :git => "https://github.com/garriguv/SQLiteMigrationManager.swift.git", tag: s.version.to_s, submodules: true }
s.source_files = "Sources"

s.swift_version = '5.0'
s.dependency "SQLite.swift", "~> 0.12.0"
end`

@TyrantDante
Copy link
Owner

有点神奇

@TyrantDante
Copy link
Owner

我知道了现在还不支持swift

@mqch295
Copy link

mqch295 commented Mar 14, 2024

相同问题,有什么进展吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants