mirror of
https://github.com/caoer/CodableFirebase.git
synced 2026-06-19 17:43:19 +08:00
Force to use libraries when using cocoapods
This commit is contained in:
@@ -18,7 +18,10 @@ platform :ios do
|
||||
end
|
||||
|
||||
def release(type)
|
||||
pod_lib_lint
|
||||
pod_lib_lint(
|
||||
allow_warnings: true,
|
||||
use_libraries: true,
|
||||
)
|
||||
podspec_name = "CodableFirebase.podspec"
|
||||
version = version_bump_podspec(path: podspec_name,
|
||||
bump_type: type)
|
||||
@@ -29,6 +32,9 @@ platform :ios do
|
||||
message: "#{version} release")
|
||||
add_git_tag(tag: "#{version}")
|
||||
push_to_git_remote
|
||||
pod_push
|
||||
pod_push(
|
||||
allow_warnings: true,
|
||||
use_libraries: true,
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user