Skip to content

Commit 658246c

Browse files
AdamSzAppleGitHub Enterprise
authored andcommitted
Fix bug that failed native library search (apple#46)
- Fix bug that failed native library search when plug-in built for only one platform. - Bump Apple.Core to 3.1.5.
1 parent 15daa00 commit 658246c

File tree

10 files changed

+13
-9
lines changed

10 files changed

+13
-9
lines changed

plug-ins/Apple.Accessibility/Apple.Accessibility_Unity/Assets/Apple.Accessibility/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "A Unity-port of Apple's UIAccessibility protocol from UIKit.framework",
66
"unity": "2022.3",
77
"dependencies": {
8-
"com.apple.unityplugin.core": "3.1.4"
8+
"com.apple.unityplugin.core": "3.1.5"
99
},
1010
"keywords": [
1111
"accessibility",

plug-ins/Apple.Core/Apple.Core_Unity/Assets/Apple.Core/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# CHANGELOG
22
All notable changes to this project will be documented in this file.
33

4+
## [3.1.5] - 2024-10-01
5+
### Fixed
6+
- Fixed a bug in the Apple.Core editor scripts that failed loading of plug-ins that were built for only a single platform.
7+
48
## [3.1.4] - 2024-09-05
59
### Added
610
- NSData.InitWithBytes() to create an NSData instance from a byte array.

plug-ins/Apple.Core/Apple.Core_Unity/Assets/Apple.Core/Editor/AppleNativeLibrary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public enum LibraryType
2222
}
2323

2424
/// <summary>
25-
/// Construct an AppleNativeLibrary object using it's filename, debug symbols filename, and full path.
25+
/// Construct an AppleNativeLibrary object using its filename, debug symbols filename, and full path.
2626
/// </summary>
2727
/// <param name="fileName">The library's name including extension.</param>
2828
/// <param name="debugSymbolsFileName">The debug symbols filename, including dSYM extension</param>

plug-ins/Apple.Core/Apple.Core_Unity/Assets/Apple.Core/Editor/AppleUnityPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public AppleUnityPackage(string name, string displayName, string packageSystemPa
4444
// Verified a valid config, create an inner dictionary for this config
4545
_nativeLibraryCollection[configFolderName] = new Dictionary<string, AppleNativeLibrary>();
4646
string[] platformPaths = Directory.GetDirectories(currConfigPath);
47-
if (platformPaths.Length > 1)
47+
if (platformPaths.Length > 0)
4848
{
4949
foreach (string currPlatformPath in platformPaths)
5050
{

plug-ins/Apple.Core/Apple.Core_Unity/Assets/Apple.Core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.apple.unityplugin.core",
33
"displayName": "Apple.Core",
44
"description": "Provides project settings, post-build automation tools, and other shared functionality for Apple Unity Plug-ins.",
5-
"version": "3.1.4",
5+
"version": "3.1.5",
66
"unity": "2022.3",
77
"keywords": [
88
"apple"

plug-ins/Apple.Core/Native/Core.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ NATIVE_LIBRARY_ROOT_FOLDER_NAME=Apple.Core
2525
// ------------------
2626

2727
GENERATE_INFOPLIST_FILE = YES
28-
CURRENT_PROJECT_VERSION = 3.1.4
28+
CURRENT_PROJECT_VERSION = 3.1.5
2929
MARKETING_VERSION = $CURRENT_PROJECT_VERSION
3030
VERSIONING_SYSTEM = apple-generic
3131
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2021 - 2024 Apple, Inc. All rights reserved."

plug-ins/Apple.CoreHaptics/Apple.CoreHaptics_Unity/Assets/Apple.CoreHaptics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Apple's CoreHaptics.framework ported to Unity",
66
"unity": "2022.3",
77
"dependencies": {
8-
"com.apple.unityplugin.core": "3.1.4"
8+
"com.apple.unityplugin.core": "3.1.5"
99
},
1010
"keywords": [
1111
"haptics",

plug-ins/Apple.GameController/Apple.GameController_Unity/Assets/Apple.GameController/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "1.2.2",
66
"unity": "2022.3",
77
"dependencies": {
8-
"com.apple.unityplugin.core": "3.1.4"
8+
"com.apple.unityplugin.core": "3.1.5"
99
},
1010
"keywords": [
1111
"controller",

plug-ins/Apple.GameKit/Apple.GameKit_Unity/Assets/Apple.GameKit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "3.0.0",
66
"unity": "2022.3",
77
"dependencies": {
8-
"com.apple.unityplugin.core": "3.1.4"
8+
"com.apple.unityplugin.core": "3.1.5"
99
},
1010
"keywords": [
1111
"gamekit",

plug-ins/Apple.PHASE/Apple.PHASE_Unity/Assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "1.2.1",
66
"unity": "2022.3",
77
"dependencies": {
8-
"com.apple.unityplugin.core": "3.1.4"
8+
"com.apple.unityplugin.core": "3.1.5"
99
},
1010
"keywords": [
1111
"audio",

0 commit comments

Comments
 (0)