Skip to content

Commit ba1dd7d

Browse files
authored
remove BuildTvos method from Firestore/Editor/Builder.cs (#541)
Remove an attempt to support tvOS for Firestore in the Editor/Builder.cs code. This failed to compile due to Unity not being able to resolve the tvOSSdkVersion enumerated type, for some reason. However, it seems that these methods aren't invoked anywhere. Removing for now. Will add back and fix if Firestore fails to build for tvOS in future testing.
1 parent a3f3dd6 commit ba1dd7d

File tree

1 file changed

+0
-17
lines changed
  • firestore/testapp/Assets/Firebase/Editor

1 file changed

+0
-17
lines changed

firestore/testapp/Assets/Firebase/Editor/Builder.cs

-17
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,6 @@ public static void BuildIos() {
4343
Build(options);
4444
}
4545

46-
public static void BuildTvos() {
47-
var options = new BuildPlayerOptions();
48-
49-
// For tvOS, this is the name of the folder containing the generated XCode
50-
// project.
51-
options.locationPathName = "tvos-build";
52-
options.target = BuildTarget.tvOS;
53-
// Firebase Unity plugins don't seem to work on a simulator.
54-
PlayerSettings.tvOS.sdkVersion = tvOSSdkVersion.DeviceSDK;
55-
56-
// AcceptExternalModificationsToPlayer corresponds to "Append" in the Unity
57-
// UI -- it allows doing incremental builds.
58-
options.options = BuildOptions.AcceptExternalModificationsToPlayer;
59-
60-
Build(options);
61-
}
62-
6346
public static void BuildAndroid() {
6447
var options = new BuildPlayerOptions();
6548

0 commit comments

Comments
 (0)