Skip to content

Commit ecce1f5

Browse files
authored
Merge pull request #65 from asus4/fix-extension-ios
Fix iOS extensions is unzipped at wrong path
2 parents 645b023 + 3786c79 commit ecce1f5

File tree

8 files changed

+19
-17
lines changed

8 files changed

+19
-17
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ Pre-built libraries are available on [NPM](https://www.npmjs.com/package/com.git
7070
}
7171
]
7272
"dependencies": {
73-
"com.github.asus4.onnxruntime": "0.4.0",
74-
"com.github.asus4.onnxruntime.unity": "0.4.0",
75-
"com.github.asus4.onnxruntime.win-x64-gpu": "0.4.0",
76-
"com.github.asus4.onnxruntime-extensions": "0.4.0",
73+
"com.github.asus4.onnxruntime": "0.4.1",
74+
"com.github.asus4.onnxruntime.unity": "0.4.1",
75+
"com.github.asus4.onnxruntime.win-x64-gpu": "0.4.1",
76+
"com.github.asus4.onnxruntime-extensions": "0.4.1",
7777
... other dependencies
7878
}
7979
```

com.github.asus4.onnxruntime-extensions/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.github.asus4.onnxruntime-extensions",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"displayName": "ONNX Runtime Extensions",
55
"description": "ONNX Runtime Extensions for Unity",
66
"keywords": [
@@ -10,7 +10,7 @@
1010
"unity": "2022.3",
1111
"unityRelease": "0f1",
1212
"dependencies": {
13-
"com.github.asus4.onnxruntime": "0.4.0"
13+
"com.github.asus4.onnxruntime": "0.4.1"
1414
},
1515
"repository": {
1616
"type": "git",

com.github.asus4.onnxruntime-genai/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.github.asus4.onnxruntime-genai",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"displayName": "ONNX Runtime GenAI",
55
"description": "ONNX Runtime Generative AI for Unity",
66
"keywords": [
@@ -10,7 +10,7 @@
1010
"unity": "2022.3",
1111
"unityRelease": "0f1",
1212
"dependencies": {
13-
"com.github.asus4.onnxruntime": "0.4.0"
13+
"com.github.asus4.onnxruntime": "0.4.1"
1414
},
1515
"repository": {
1616
"type": "git",

com.github.asus4.onnxruntime.linux-x64-gpu/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.github.asus4.onnxruntime.linux-x64-gpu",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"displayName": "ONNX Runtime - Linux x64 GPU",
55
"description": "ONNX Runtime for Unity - Linux x64 GPU Provider",
66
"keywords": [
@@ -10,7 +10,7 @@
1010
"unity": "2022.3",
1111
"unityRelease": "0f1",
1212
"dependencies": {
13-
"com.github.asus4.onnxruntime": "0.4.0"
13+
"com.github.asus4.onnxruntime": "0.4.1"
1414
},
1515
"repository": {
1616
"type": "git",

com.github.asus4.onnxruntime.unity/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.github.asus4.onnxruntime.unity",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"displayName": "ONNX Runtime Unity Utilities",
55
"description": "ONNX Runtime Utilities for Unity",
66
"keywords": [
@@ -10,7 +10,7 @@
1010
"unity": "2022.3",
1111
"unityRelease": "0f1",
1212
"dependencies": {
13-
"com.github.asus4.onnxruntime": "0.4.0"
13+
"com.github.asus4.onnxruntime": "0.4.1"
1414
},
1515
"repository": {
1616
"type": "git",

com.github.asus4.onnxruntime.win-x64-gpu/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.github.asus4.onnxruntime.win-x64-gpu",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"displayName": "ONNX Runtime - Windows x64 GPU",
55
"description": "ONNX Runtime for Unity - Windows x64 GPU Provider",
66
"keywords": [
@@ -10,7 +10,7 @@
1010
"unity": "2022.3",
1111
"unityRelease": "0f1",
1212
"dependencies": {
13-
"com.github.asus4.onnxruntime": "0.4.0"
13+
"com.github.asus4.onnxruntime": "0.4.1"
1414
},
1515
"repository": {
1616
"type": "git",

com.github.asus4.onnxruntime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.github.asus4.onnxruntime",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"displayName": "ONNX Runtime",
55
"description": "ONNX Runtime Plugin for Unity",
66
"keywords": [

scripts/download-onnx-extensions-libs.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ cp $EXTRACT_DIR/android/native/onnxruntime-extensions.aar $PLUGINS_DIR/Android/
6363

6464
# iOS XCFramework
6565
rm -rf $PLUGINS_DIR/iOS~/onnxruntime_extensions.xcframework
66-
unzip -o $EXTRACT_DIR/ios/native/onnxruntime_extensions.xcframework.zip -d $EXTRACT_DIR/ios/native/
67-
mv $EXTRACT_DIR/ios/native/onnxruntime_extensions.xcframework $PLUGINS_DIR/iOS~/
66+
unzip -o $EXTRACT_DIR/ios/native/onnxruntime_extensions.xcframework.zip -d $PLUGINS_DIR/iOS~/
67+
rm -rf $PLUGINS_DIR/iOS~/Headers
68+
rm $PLUGINS_DIR/iOS~/LICENSE
69+
ls $PLUGINS_DIR/iOS~/onnxruntime_extensions.xcframework/
6870

6971
echo "Done."
7072
exit 0

0 commit comments

Comments
 (0)