标签: subspec

子规范中带有源的Podspec无法编译

我聚集了一个专用的podspec来专门在5.1.5版中构建Lua,并对Lua进行了许多补充。

下面的podspec应该对应于我们的“手动组合”代码,并为Lua提供openssl,socket和zlib支持。

{
  "name": "Lua51",
  "version": "5.1.5",
  "summary": "The lua language (for embedding).",
  "homepage": "https://github.com/qmx/lua",
  "license": {
    "type": "MIT"
  },
  "authors": {
    "The Lua team": "team@lua.org"
  },
  "source": {
    "http": "http://www.lua.org/ftp/lua-5.1.5.tar.gz",
    "sha1": "b3882111ad02ecc6b972f8c1241647905cb2e3fc"
  },
  "platforms": {
    "ios": "4.0",
    "osx": "10.6"
  },
  "public_header_files": "src/*.h",
  "source_files": "src/*.{c,h}",
  "exclude_files": [
    "src/lua.c",
    "src/luac.c"
  ],
  "requires_arc": false,
  "subspecs": [
    {
      "name": "Socket",
      "license": {
        "file": "LICENSE"
      },
      "authors": {
        "Bruno Silvestre": ""
      },
      "source": {
        "git": "https://github.com/brunoos/luasocket.git",
        "commit": "5edf093643cceb329392aec9606ab3988579b821"
      },
      "source_files": "src/*.*"
    },
    {
      "name": …
Run Code Online (Sandbox Code Playgroud)

ios cocoapods podspec subspec

5
推荐指数
0
解决办法
548
查看次数

标签 统计

cocoapods ×1

ios ×1

podspec ×1

subspec ×1