Commit ·
b0c842a
1
Parent(s): 1ee5bc7
small fixes
Browse files
create-xcframework.sh
CHANGED
|
@@ -18,12 +18,14 @@ libtool -static -o build-ios/$arch/onnxruntime.a \
|
|
| 18 |
build-ios/$arch/Release/static_libraries/libonnx.a \
|
| 19 |
build-ios/$arch/Release/static_libraries/libonnx_proto.a \
|
| 20 |
build-ios/$arch/Release/static_libraries/libonnxruntime_common.a \
|
|
|
|
| 21 |
build-ios/$arch/Release/static_libraries/libonnxruntime_flatbuffers.a \
|
| 22 |
build-ios/$arch/Release/static_libraries/libonnxruntime_framework.a \
|
| 23 |
build-ios/$arch/Release/static_libraries/libonnxruntime_graph.a \
|
| 24 |
build-ios/$arch/Release/static_libraries/libonnxruntime_mlas.a \
|
| 25 |
build-ios/$arch/Release/static_libraries/libonnxruntime_optimizer.a \
|
| 26 |
build-ios/$arch/Release/static_libraries/libonnxruntime_providers.a \
|
|
|
|
| 27 |
build-ios/$arch/Release/static_libraries/libonnxruntime_session.a \
|
| 28 |
build-ios/$arch/Release/static_libraries/libonnxruntime_util.a \
|
| 29 |
build-ios/$arch/Release/static_libraries/libprotobuf-lite.a \
|
|
|
|
| 18 |
build-ios/$arch/Release/static_libraries/libonnx.a \
|
| 19 |
build-ios/$arch/Release/static_libraries/libonnx_proto.a \
|
| 20 |
build-ios/$arch/Release/static_libraries/libonnxruntime_common.a \
|
| 21 |
+
build-ios/$arch/Release/static_libraries/libonnxruntime_coreml_proto.a \
|
| 22 |
build-ios/$arch/Release/static_libraries/libonnxruntime_flatbuffers.a \
|
| 23 |
build-ios/$arch/Release/static_libraries/libonnxruntime_framework.a \
|
| 24 |
build-ios/$arch/Release/static_libraries/libonnxruntime_graph.a \
|
| 25 |
build-ios/$arch/Release/static_libraries/libonnxruntime_mlas.a \
|
| 26 |
build-ios/$arch/Release/static_libraries/libonnxruntime_optimizer.a \
|
| 27 |
build-ios/$arch/Release/static_libraries/libonnxruntime_providers.a \
|
| 28 |
+
build-ios/$arch/Release/static_libraries/libonnxruntime_providers_coreml.a \
|
| 29 |
build-ios/$arch/Release/static_libraries/libonnxruntime_session.a \
|
| 30 |
build-ios/$arch/Release/static_libraries/libonnxruntime_util.a \
|
| 31 |
build-ios/$arch/Release/static_libraries/libprotobuf-lite.a \
|
onnxruntime.xcframework/Info.plist
CHANGED
|
@@ -6,30 +6,30 @@
|
|
| 6 |
<array>
|
| 7 |
<dict>
|
| 8 |
<key>LibraryIdentifier</key>
|
| 9 |
-
<string>ios-
|
| 10 |
<key>LibraryPath</key>
|
| 11 |
<string>onnxruntime.a</string>
|
| 12 |
<key>SupportedArchitectures</key>
|
| 13 |
<array>
|
| 14 |
<string>arm64</string>
|
|
|
|
| 15 |
</array>
|
| 16 |
<key>SupportedPlatform</key>
|
| 17 |
<string>ios</string>
|
|
|
|
|
|
|
| 18 |
</dict>
|
| 19 |
<dict>
|
| 20 |
<key>LibraryIdentifier</key>
|
| 21 |
-
<string>ios-
|
| 22 |
<key>LibraryPath</key>
|
| 23 |
<string>onnxruntime.a</string>
|
| 24 |
<key>SupportedArchitectures</key>
|
| 25 |
<array>
|
| 26 |
<string>arm64</string>
|
| 27 |
-
<string>x86_64</string>
|
| 28 |
</array>
|
| 29 |
<key>SupportedPlatform</key>
|
| 30 |
<string>ios</string>
|
| 31 |
-
<key>SupportedPlatformVariant</key>
|
| 32 |
-
<string>simulator</string>
|
| 33 |
</dict>
|
| 34 |
</array>
|
| 35 |
<key>CFBundlePackageType</key>
|
|
|
|
| 6 |
<array>
|
| 7 |
<dict>
|
| 8 |
<key>LibraryIdentifier</key>
|
| 9 |
+
<string>ios-arm64_x86_64-simulator</string>
|
| 10 |
<key>LibraryPath</key>
|
| 11 |
<string>onnxruntime.a</string>
|
| 12 |
<key>SupportedArchitectures</key>
|
| 13 |
<array>
|
| 14 |
<string>arm64</string>
|
| 15 |
+
<string>x86_64</string>
|
| 16 |
</array>
|
| 17 |
<key>SupportedPlatform</key>
|
| 18 |
<string>ios</string>
|
| 19 |
+
<key>SupportedPlatformVariant</key>
|
| 20 |
+
<string>simulator</string>
|
| 21 |
</dict>
|
| 22 |
<dict>
|
| 23 |
<key>LibraryIdentifier</key>
|
| 24 |
+
<string>ios-arm64</string>
|
| 25 |
<key>LibraryPath</key>
|
| 26 |
<string>onnxruntime.a</string>
|
| 27 |
<key>SupportedArchitectures</key>
|
| 28 |
<array>
|
| 29 |
<string>arm64</string>
|
|
|
|
| 30 |
</array>
|
| 31 |
<key>SupportedPlatform</key>
|
| 32 |
<string>ios</string>
|
|
|
|
|
|
|
| 33 |
</dict>
|
| 34 |
</array>
|
| 35 |
<key>CFBundlePackageType</key>
|
onnxruntime.xcframework/ios-arm64/onnxruntime.a
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0e76de52c74d089f0ce8881ba418cb54f725d5db95a88cc9282ec840a8f2458
|
| 3 |
+
size 57178400
|
onnxruntime.xcframework/ios-arm64_x86_64-simulator/onnxruntime.a
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fb12deac55de6ca96e48341547d3a4d831d7304e143c81fff41143679d23dd1
|
| 3 |
+
size 116786992
|
run-ios-arm64.sh
CHANGED
|
@@ -27,6 +27,5 @@ python3 \
|
|
| 27 |
--parallel $num_jobs \
|
| 28 |
--skip_tests \
|
| 29 |
--build_apple_framework \
|
| 30 |
-
--apple_deploy_target 13.0
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 27 |
--parallel $num_jobs \
|
| 28 |
--skip_tests \
|
| 29 |
--build_apple_framework \
|
| 30 |
+
--apple_deploy_target 13.0 \
|
| 31 |
+
--use_coreml
|
|
|
run-ios-simulator-arm64.sh
CHANGED
|
@@ -26,4 +26,5 @@ python3 \
|
|
| 26 |
--parallel $num_jobs \
|
| 27 |
--skip_tests \
|
| 28 |
--build_apple_framework \
|
| 29 |
-
--apple_deploy_target 13.0
|
|
|
|
|
|
| 26 |
--parallel $num_jobs \
|
| 27 |
--skip_tests \
|
| 28 |
--build_apple_framework \
|
| 29 |
+
--apple_deploy_target 13.0 \
|
| 30 |
+
--use_coreml
|
run-ios-simulator-os64.sh
CHANGED
|
@@ -27,6 +27,5 @@ python3 \
|
|
| 27 |
--parallel $num_jobs \
|
| 28 |
--skip_tests \
|
| 29 |
--build_apple_framework \
|
| 30 |
-
--apple_deploy_target 13.0
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 27 |
--parallel $num_jobs \
|
| 28 |
--skip_tests \
|
| 29 |
--build_apple_framework \
|
| 30 |
+
--apple_deploy_target 13.0 \
|
| 31 |
+
--use_coreml
|
|
|