Skip to content

StansAssets/com.stansassets.xcode-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XCode Project

The package is a little helper that allows you to add additional settings and parameters to the XCode project during the Unity post-process phase.

For example, if you have an IOS plugin that requires some flags, frameworks, libraries, or pList values to be added to the XCode project, there is no need to add it manually every time or making a post-process script. Just open plugin settings and do it visually.

And sure thing, there is a C# API as well, which you can use anytime from your Editor code.

NPM Package openupm Licence Issues

API Reference | Forum | Wiki

Install from NPM

  • Navigate to the Packages directory of your project.
  • Adjust the project manifest file manifest.json in a text editor.
  • Ensure https://registry.npmjs.org/ is part of scopedRegistries.
    • Ensure com.stansassets is part of scopes.
    • Add com.stansassets.ios-deploy to the dependencies, stating the latest version.

A minimal example ends up looking like this. Please note that the version X.Y.Z stated here is to be replaced with the latest released version which is currently NPM Package.

{
  "scopedRegistries": [
    {
      "name": "npmjs",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.stansassets"
      ]
    }
  ],
  "dependencies": {
    "com.stansassets.xcode-project": "X.Y.Z",
    ...
  }
}
  • Switch back to the Unity software and wait for it to finish importing the added package.

Install from OpenUPM

  • Install openupm-cli npm install -g openupm-cli or yarn global add openupm-cli
  • Enter your unity project folder cd <YOUR_UNITY_PROJECT_FOLDER>
  • Install package openupm add com.stansassets.ios-deploy

About

The package provides a visual way to set XCode project settings and properties for your Unity project. Editor based C# API is avaliable as well.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages