forked from firebase/quickstart-unity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CL: 345456564
- Loading branch information
Showing
7 changed files
with
460 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
// Allows doing builds from the command line. | ||
// | ||
// For more information, see: | ||
// https://docs.unity3d.com/Manual/CommandLineArguments.html | ||
// https://docs.unity3d.com/ScriptReference/BuildOptions.html | ||
// https://docs.unity3d.com/ScriptReference/BuildPipeline.BuildPlayer.html | ||
public class Builder { | ||
|
||
public static void BuildIos() { | ||
var options = new BuildPlayerOptions(); | ||
|
||
options.scenes = new string[] { "Assets/Firebase/Sample/Firestore/MainSceneAutomated.unity" }; | ||
options.locationPathName = "ios-build"; | ||
options.target = BuildTarget.iOS; | ||
// AcceptExternalModificationsToPlayer corresponds to "Append" in the Unity | ||
// UI -- it allows doing incremental iOS build. | ||
options.options = BuildOptions.AcceptExternalModificationsToPlayer; | ||
// Firebase Unity plugins don't seem to work on a simulator. | ||
PlayerSettings.iOS.sdkVersion = iOSSdkVersion.DeviceSDK; | ||
|
||
BuildPipeline.BuildPlayer(options); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
firestore/testapp/Assets/Firebase/Sample/Firestore/Firebase.Sample.Firestore.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>10.0.0</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{E6ACD1E8-3BBF-45DE-A5C3-61A66F843BED}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>Firebase.Sample.Firestore</RootNamespace> | ||
<AssemblyName>Firebase.Sample.Firestore</AssemblyName> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<DebugSymbols>True</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>False</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ConsolePause>False</ConsolePause> | ||
<DocumentationFile>bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<DebugSymbols>True</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>True</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ConsolePause>False</ConsolePause> | ||
<DocumentationFile>bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="EventAccumulator.cs" /> | ||
<Compile Include="SerializationTestData.cs" /> | ||
<Compile Include="UIHandler.cs" /> | ||
<Compile Include="UIHandlerAutomated.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
</Project> |
Oops, something went wrong.