代码拉取完成,页面将自动刷新
CocoaPods【使用CocoaPods】
pod 'DiGeamKit' , '~> 1.0.0'
此套件相依其他 CocoaPods 套件,詳細清單如下:
pod 'AFNetworking', '~> 4.0.1'
pod 'LSTPopView', '~> 0.3.10'
pod 'IQKeyboardManagerSwift'
pod 'MJExtension', '~> 3.4.1'
pod 'MBProgressHUD', '~> 1.2.0'
以下指令在 podfile 最底部
#由於此套件為 static framework,需要以下指令
static_frameworks = ['DiGeamKit']
pre_install do |installer|
installer.pod_targets.each do |pod|
if static_frameworks.include?(pod.name)
puts "#{pod.name} installed as static framework!"
def pod.static_framework?;
true
end
end
end
end
#Xcode 14之後版本,添加以下內容
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
end
被導入庫的工程中選中Target=》Build Setting =>搜索othe linker flags 添加 -all_load
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。