2 Star 0 Fork 0

原来是阿益! / DiGeamKit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

DiGeamKit

掘夢網SDK

使用說明

  1. iOS 13+
  2. Cocoapods 1.10.0+

安裝

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

MIT License Copyright (c) 2024 原来是阿益! Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

封裝SDK 展开 收起
Objective-C 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Objective-C
1
https://gitee.com/jinyi.com/di-geam-kit.git
git@gitee.com:jinyi.com/di-geam-kit.git
jinyi.com
di-geam-kit
DiGeamKit
master

搜索帮助