Latest 1.0.7
Homepage https://github.com/StoneStoneStoneWang/TSUMUtil
License MIT
Platforms ios 9.0, requires ARC
Dependencies UMCCommon, UMCSecurityPlugins, UMCShare/Social/WeChat, UMCShare/Social/QQ, UMCShare/UI, MJExtension
Frameworks UIKit, Foundation
Authors

UMUtil

A lib for UM.

Pod

pod ‘TSUMUtil’,:git=>’https://github.com/StoneStoneStoneWang/TSUMUtil.git

初衷

写此代码的初衷是在项目中导入UM之后出现编译问题

在Other Linker Flags加入-ObjC 注意不要写为-Objc

白名单之类的不提

注意:(1)在项目中加入 UMConfig.plist 对应UMBean 中的属性设置键值对

注意:(2) 目前仅支持 分享网页

遇到的问题

与ping++冲突
遇到静态.a包的时候 需要加入 –use-libraries
遇到警告的时候 –allow-warnings
pod trunk push TSUMUtil.podspec –verbose –use-libraries –allow-warnings

如下问题的解决办法 https://www.jianshu.com/p/ca3f366da8f1

Cloning into’master’…

error: RPC failed; curl56SSLRead()returnerror -36

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

pod的时候 userframeword 去掉 或注释

Latest podspec

{
    "name": "TSUMUtil",
    "version": "1.0.7",
    "summary": "A Lib For UM.",
    "description": "u5199u6b64u4ee3u7801u7684u521du8877u662fu5728u9879u76eeu4e2du5bfcu5165UMu4e4bu540eu51fau73b0u7f16u8bd1u95eeu9898",
    "homepage": "https://github.com/StoneStoneStoneWang/TSUMUtil",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "StoneStoneStoneWang": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "source": {
        "git": "https://github.com/StoneStoneStoneWang/TSUMUtil.git",
        "tag": "1.0.7"
    },
    "source_files": "Code/**/*.{h,m}",
    "dependencies": {
        "UMCCommon": [],
        "UMCSecurityPlugins": [],
        "UMCShare/Social/WeChat": [],
        "UMCShare/Social/QQ": [],
        "UMCShare/UI": [],
        "MJExtension": []
    }
}

Pin It on Pinterest

Share This