unity3d plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-unity3d, add it to your project by running:

fastlane add_plugin unity3d

About unity3d

fastlane pulgin for unity3d engine

Usage

unity3d(
  execute_method: "SomeClass.YourBuildMethod"
)

recommend:

Add the following code to your build script to get a better experience

var result = BuildPipeline.BuildPlayer(scene, path, isAndroid ? BuildTarget.Android : BuildTarget.iOS, option);
var summary = result.summary;
var summaryJson = JsonConvert.SerializeObject(summary);

System.IO.File.WriteAllText(@".build_summary.json", summaryJson);

Context Values

if you genreated the .build_summary.json , There will be some Lane Variables

SharedValue Description
SharedValues::UNITY3D_OUTPUT_PATH
SharedValues::UNITY3D_BUILD_STARTED_AT
SharedValues::UNITY3D_BUILD_ENDED_AT
SharedValues::UNITY3D_PLATFORM
SharedValues::UNITY3D_OPTIONS
SharedValues::UNITY3D_TOTAL_ERRORS
SharedValues::UNITY3D_TOTAL_TOTAL_WARNINGS
SharedValues::UNITY3D_TOTAL_TIME
SharedValues::UNITY3D_TOTAL_SIZE

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.