Latest 1.0.0
Homepage https://github.com/Amuxiaomu/LMPrint
License MIT
Platforms osx , ios , tvos , watchos
Authors

记录下第一个错误
➜ LMPrint git:(master) pod trunk push

[!] Found podspec LMPrint.podspec
Updating spec repo master
Validating podspec
-> LMPrint (1.0.0)

  • ERROR | [OSX] unknown: Encountered an unknown error ([!] /usr/bin/git clone https://github.com/Amuxiaomu/LMPrint.git /var/folders/q4/4k7_cz3d5m95s2xl5114_xpw0000gn/T/d20171013-7926-1kdkdoh –template= –single-branch –depth 1 –branch 1.0.0

Cloning into ‘/var/folders/q4/4k7_cz3d5m95s2xl5114_xpw0000gn/T/d20171013-7926-1kdkdoh’…
warning: Could not find remote branch 1.0.0 to clone.
fatal: Remote branch 1.0.0 not found in upstream origin

解答:
http://tech.yunyingxbs.com/article/detail/id/280.html
添加 git tag v1.0.0 后 需要git push –tag

Latest podspec

{
    "name": "LMPrint",
    "version": "1.0.0",
    "summary": "u5c06u4e4bu524du7684MMLogu6539u4e3aLMPrint.",
    "description": "u4e4bu524du5b9eu9a8cu4e00u76f4u90fdu662fu5931u8d25u7684,u6240u4ee5u91cdu65b0u8fdbu884cu5b9eu9a8c,u4e3bu8981u5427u6700u5916u9762u7684u540du5b57u7ed9u6539u4e86.",
    "homepage": "https://github.com/Amuxiaomu/LMPrint",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "liangmu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Amuxiaomu/LMPrint.git",
        "tag": "1.0.0"
    },
    "source_files": "MMLog/*.{h,m}",
    "platforms": {
        "osx": null,
        "ios": null,
        "tvos": null,
        "watchos": null
    }
}

Pin It on Pinterest

Share This