Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 2.87 KB

File metadata and controls

57 lines (42 loc) · 2.87 KB

Unity iOS Pods Bitcode

OpenUPM r OpenUPM Stars License Stand With Ukraine

image

Unity iOS post process for forcing Pods to have Bitcode property YES/NO. You can control bitcode status for all pods from single place. Highly usable with CI.

Installation

Option 1 - Installer

  • ⬇️ Download Installer
  • 📂 Import installer into Unity project
    • You may use double click on the file - Unity will open it
    • OR: You may open Unity Editor first, then click on Assets/Import Package/Custom Package, then choose the file

Option 2 - OpenUPM-CLI

openupm add com.github.ivanmurzak.ios.pods.bitcode

Option 3 - Manual (manifest.json)

  • Add this code to /Packages/manifest.json
{
  "dependencies": {
    "com.github.ivanmurzak.ios.pods.bitcode": "1.0.0"
  },
  "scopedRegistries": [
    {
      "name": "package.openupm.com",
      "url": "https://package.openupm.com",
      "scopes": [
        "com.github.ivanmurzak"
      ]
    }
  ]
}

Usage

By default the package does nothing. To activate it you need to PODS_BITCODE_NO or PODS_BITCODE_YES environment variable in Unity Project Settings. If environment variable exists in postprocess stage of project building all pods bitcode will be forced to choosen value.

image