com.github.asus4.onnxruntime 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/Editor/OrtPostProcessBuild.cs +4 -1
  2. package/Plugins/Windows/x64/onnxruntime.dll +0 -0
  3. package/Runtime/com.github.asus4.onnxruntime.asmdef +7 -1
  4. package/package.json +1 -1
  5. /package/Plugins/iOS~/{onnxruntime.xcframework/Info.plist → Info.plist} +0 -0
  6. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/coreml_provider_factory.h +0 -0
  7. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/cpu_provider_factory.h +0 -0
  8. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_c_api.h +0 -0
  9. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_cxx_api.h +0 -0
  10. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_cxx_inline.h +0 -0
  11. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Headers/onnxruntime_float16.h +0 -0
  12. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/Info.plist +0 -0
  13. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64 → ios-arm64}/onnxruntime.framework/onnxruntime +0 -0
  14. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/coreml_provider_factory.h +0 -0
  15. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/cpu_provider_factory.h +0 -0
  16. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_c_api.h +0 -0
  17. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_cxx_api.h +0 -0
  18. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_cxx_inline.h +0 -0
  19. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Headers/onnxruntime_float16.h +0 -0
  20. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/Info.plist +0 -0
  21. /package/Plugins/iOS~/{onnxruntime.xcframework/ios-arm64_x86_64-simulator → ios-arm64_x86_64-simulator}/onnxruntime.framework/onnxruntime +0 -0
@@ -51,7 +51,10 @@ namespace Microsoft.ML.OnnxRuntime.Editor
51
51
  // Then add to Xcode project
52
52
  string frameworkGuid = pbxProject.AddFile(frameworkDstAbsPath, frameworkDstRelPath, PBXSourceTree.Source);
53
53
  string targetGuid = pbxProject.GetUnityFrameworkTargetGuid();
54
- pbxProject.AddFileToEmbedFrameworks(targetGuid, frameworkGuid);
54
+ // Note: onnxruntime.xcframework should be linked in build section. Embed framework didn't work.
55
+ // pbxProject.AddFileToEmbedFrameworks(targetGuid, frameworkGuid);
56
+ string targetBuildPhaseGuid = pbxProject.AddFrameworksBuildPhase(targetGuid);
57
+ pbxProject.AddFileToBuildSection(targetGuid, targetBuildPhaseGuid, frameworkGuid);
55
58
 
56
59
  pbxProject.WriteToFile(pbxProjectPath);
57
60
  #endif // UNITY_IOS
Binary file
@@ -9,6 +9,12 @@
9
9
  "precompiledReferences": [],
10
10
  "autoReferenced": true,
11
11
  "defineConstraints": [],
12
- "versionDefines": [],
12
+ "versionDefines": [
13
+ {
14
+ "name": "com.github.asus4.onnxruntime.win-x64-gpu",
15
+ "expression": "0.1.4",
16
+ "define": "ORT_GPU_PROVIDER_WIN"
17
+ }
18
+ ],
13
19
  "noEngineReferences": true
14
20
  }
package/package.json CHANGED
@@ -9,5 +9,5 @@
9
9
  "license": "SEE LICENSE IN LICENSE",
10
10
  "unity": "2022.3",
11
11
  "unityRelease": "0f1",
12
- "version": "0.1.3"
12
+ "version": "0.1.4"
13
13
  }