Skip to content

Commit

Permalink
Updating each package to align with `com.apple.unityplugin.packagenam…
Browse files Browse the repository at this point in the history
…e` naming scheme. Bumped package versions as a result.
  • Loading branch information
jared-marsau committed Oct 10, 2022
1 parent d50a976 commit 6b8a1d3
Show file tree
Hide file tree
Showing 27 changed files with 71 additions and 47 deletions.
2 changes: 1 addition & 1 deletion plug-ins/Apple.Accessibility/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ crashlytics-build.properties
*.vsconfig
**/Plugins/**/*.meta
**/.idea/*
**/com.apple.corehaptics*.tgz
**/com.apple.unityplugin.corehaptics*.tgz

## User settings
**xcuserdata/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG
All notable changes to this project will be documented in this file.

## [1.0.1] - 2022-10-10
### Changed
- Updated package name to `com.apple.unityplugin.accessibility`

## [1.0.0] - 2022-06-02
### Added
- Initial release.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
using Apple.Accessibility.UnitTests;
using Apple.Core.Tests.Editor;


using System.Linq;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEditor;
using UnityEditor.TestTools;


[assembly:TestPlayerBuildModifier(typeof(AXTestBuilder))]
[assembly:PostBuildCleanup(typeof(AXTestBuilder))]

[assembly:TestPlayerBuildModifier(typeof(AXTestBuilder))]
[assembly:PostBuildCleanup(typeof(AXTestBuilder))]

namespace Apple.Accessibility.UnitTests
{
public class AXTestBuilder : AppleTestBuilder
Expand All @@ -19,23 +19,23 @@ public class AXTestBuilder : AppleTestBuilder

public override BuildPlayerOptions ModifyOptions(BuildPlayerOptions playerOptions)
{
Debug.Log("com.Apple.Accessibility: Modifying test build player options.");
Debug.Log("com.apple.unityplugin.accessibility: Modifying test build player options.");
if (!playerOptions.scenes.ToArray().Contains(_testScene))
{
Debug.Log($"Adding test scene {_testScene} to test build.");
playerOptions.scenes = playerOptions.scenes.Append(_testScene).ToArray();
}

Debug.Log("com.Apple.Accessibility: Calling base ModifyOptions.");
Debug.Log("com.apple.unityplugin.accessibility: Calling base ModifyOptions.");
playerOptions = base.ModifyOptions(playerOptions);

return playerOptions;
}

public override void Cleanup()
{
Debug.Log("com.Apple.Accessibility: Calling base cleanup.");
Debug.Log("com.apple.unityplugin.accessibility: Calling base cleanup.");
base.Cleanup();
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.apple.accessibility",
"version": "1.0.0",
"name": "com.apple.unityplugin.accessibility",
"version": "1.0.1",
"displayName": "Apple.Accessibility",
"description": "A Unity-port of Apple's UIAccessibility protocol from UIKit.framework",
"unity": "2019.4",
"dependencies": {
"com.apple.core": "1.0.0"
"com.apple.unityplugin.core": "1.0.1"
},
"keywords": [
"accessibility",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.apple.unityplugin.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.ide.rider": "3.0.7",
Expand Down Expand Up @@ -43,6 +43,6 @@
"com.unity.modules.xr": "1.0.0"
},
"testables": [
"com.apple.core"
"com.apple.unityplugin.core"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": {
"com.apple.unityplugin.core": {
"version": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"depth": 0,
"source": "local",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG
All notable changes to this project will be documented in this file.

## [1.0.1] - 2022-10-10
### Changed
- Updated package name to `com.apple.unityplugin.core`

## [1.0.0] - 2022-06-02
### Added
- Initial release.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class AppleTestBuilder : ITestPlayerBuildModifier, IPostBuildCleanup

public virtual BuildPlayerOptions ModifyOptions(BuildPlayerOptions playerOptions)
{
Debug.Log("com.apple.core: Modifying player options in the test build");
Debug.Log("com.apple.unityplugin.core: Modifying player options in the test build");
playerOptions.options &= ~(BuildOptions.AutoRunPlayer | BuildOptions.ConnectToHost);

var buildLocation = Path.GetFullPath("TestPlayers");
Expand All @@ -73,13 +73,13 @@ public virtual BuildPlayerOptions ModifyOptions(BuildPlayerOptions playerOptions

public virtual void Cleanup()
{
Debug.Log("com.apple.core: Entered cleanup. Checking if commandline run...");
Debug.Log("com.apple.unityplugin.core: Entered cleanup. Checking if commandline run...");
if (s_RunningPlayerTests && IsRunningTestsFromCommandline())
{
Debug.Log("com.apple.core: Exiting Editor.");
Debug.Log("com.apple.unityplugin.core: Exiting Editor.");
EditorApplication.update += () => { EditorApplication.Exit(0); };
}
Debug.Log("com.apple.core: Exiting Cleanup.");
Debug.Log("com.apple.unityplugin.core: Exiting Cleanup.");
}

internal static bool IsRunningTestsFromCommandline()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "com.apple.core",
"name": "com.apple.unityplugin.core",
"displayName": "Apple.Core",
"description": "Provides project settings, post-build automation tools, and other shared functionality for Apple Unity Plug-ins.",
"version": "1.0.0",
"version": "1.0.1",
"unity": "2019.4",
"keywords": [
"apple"
Expand Down
2 changes: 1 addition & 1 deletion plug-ins/Apple.CoreHaptics/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ crashlytics-build.properties
*.vsconfig
**/Plugins/**/*.meta
**/.idea/*
**/com.apple.corehaptics*.tgz
**/com.apple.unityplugin.corehaptics*.tgz

## User settings
**xcuserdata/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG
All notable changes to this project will be documented in this file.

## [1.0.1] - 2022-10-10
### Changed
- Updated package name to `com.apple.unityplugin.corehaptics`

## [1.0.0] - 2022-06-02
### Added
- Initial release.
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ public class CHTestBuilder : AppleTestBuilder

public override BuildPlayerOptions ModifyOptions(BuildPlayerOptions playerOptions)
{
Debug.Log("com.apple.corehaptics: Modifying test build player options.");
Debug.Log("com.apple.unityplugin.corehaptics: Modifying test build player options.");
if (!playerOptions.scenes.ToArray().Contains(_testScene))
{
Debug.Log($"Adding test scene {_testScene} to test build.");
playerOptions.scenes = playerOptions.scenes.Append(_testScene).ToArray();
}

Debug.Log("com.apple.corehaptics: Calling base ModifyOptions.");
Debug.Log("com.apple.unityplugin.corehaptics: Calling base ModifyOptions.");
playerOptions = base.ModifyOptions(playerOptions);

return playerOptions;
}

public override void Cleanup()
{
Debug.Log("com.apple.corehaptics: Calling base cleanup.");
Debug.Log("com.apple.unityplugin.corehaptics: Calling base cleanup.");
base.Cleanup();
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.apple.corehaptics",
"version": "1.0.0",
"name": "com.apple.unityplugin.corehaptics",
"version": "1.0.1",
"displayName": "Apple.CoreHaptics",
"description": "Apple's CoreHaptics.framework ported to Unity",
"unity": "2019.4",
"dependencies": {
"com.apple.core": "1.0.0"
"com.apple.unityplugin.core": "1.0.1"
},
"keywords": [
"haptics",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.apple.unityplugin.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.unity.collab-proxy": "1.15.15",
"com.unity.ide.rider": "2.0.7",
"com.unity.ide.visualstudio": "2.0.14",
Expand Down Expand Up @@ -42,6 +42,6 @@
"com.unity.modules.xr": "1.0.0"
},
"testables": [
"com.apple.core"
"com.apple.unityplugin.core"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": {
"com.apple.unityplugin.core": {
"version": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"depth": 0,
"source": "local",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG
All notable changes to this project will be documented in this file.

## [1.0.1] - 2022-10-10
### Changed
- Updated package name to `com.apple.unityplugin.gamecontroller`

## [1.0.0] - 2022-06-02
### Added
- Initial release.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.apple.gamecontroller",
"name": "com.apple.unityplugin.gamecontroller",
"displayName": "Apple.GameController",
"description": "Exposes Apple's GameController.framework to Unity developers via c# script API.",
"version": "1.0.0",
"version": "1.0.1",
"unity": "2019.4",
"dependencies": {
"com.apple.core": "1.0.0"
"com.apple.unityplugin.core": "1.0.1"
},
"keywords": [
"controller",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.apple.unityplugin.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.ide.rider": "2.0.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": {
"com.apple.unityplugin.core": {
"version": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"depth": 0,
"source": "local",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG
All notable changes to this project will be documented in this file.

## [1.0.2] - 2022-10-10
### Changed
- Update package name to `com.apple.unityplugin.gamekit`

## [1.0.1] - 2022-09-28
### Changed
- Preserve attribute added to GKAccessPoint constructor.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "com.apple.gamekit",
"name": "com.apple.unityplugin.gamekit",
"displayName": "Apple.GameKit",
"description": "Exposes Apple's GameKit.framework to Unity developers via C# script API",
"version": "1.0.1",
"version": "1.0.2",
"unity": "2019.4",
"dependencies": {
"com.apple.core": "1.0.0"
"com.apple.unityplugin.core": "1.0.1"
},
"keywords": [
"gamekit",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.apple.unityplugin.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.ide.rider": "2.0.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": {
"com.apple.unityplugin.core": {
"version": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"depth": 0,
"source": "local",
Expand Down
4 changes: 4 additions & 0 deletions plug-ins/Apple.PHASE/Apple.PHASE_Unity/Assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG
All notable changes to this project will be documented in this file.

## [1.0.1] - 2022-10-10
## Changed
- Updated package name to `com.apple.unityplugin.phase`

## [1.0.0] - 2022-06-02
### Added
- Initial release.
6 changes: 3 additions & 3 deletions plug-ins/Apple.PHASE/Apple.PHASE_Unity/Assets/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "com.apple.phase",
"name": "com.apple.unityplugin.phase",
"displayName": "Apple.PHASE",
"description": "A Unity plugin for Apple's PHASE.framework.",
"version": "1.0.0",
"version": "1.0.1",
"unity": "2020.1",
"unityRelease": "2f1",
"dependencies": {
"com.apple.core": "1.0.0"
"com.apple.unityplugin.core": "1.0.1"
},
"keywords": [
"audio",
Expand Down
4 changes: 2 additions & 2 deletions plug-ins/Apple.PHASE/Apple.PHASE_Unity/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.apple.unityplugin.core": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"com.unity.collab-proxy": "1.15.15",
"com.unity.ext.nunit": "1.0.6",
"com.unity.ide.rider": "2.0.7",
Expand Down Expand Up @@ -43,6 +43,6 @@
"com.unity.modules.xr": "1.0.0"
},
"testables": [
"com.apple.core"
"com.apple.unityplugin.core"
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"com.apple.core": {
"com.apple.unityplugin.core": {
"version": "file:../../../Apple.Core/Apple.Core_Unity/Assets/Apple.Core",
"depth": 0,
"source": "local",
Expand Down

0 comments on commit 6b8a1d3

Please sign in to comment.