From c04a61beca7fa5f1b725a07f77d8e2d2c98e47d1 Mon Sep 17 00:00:00 2001 From: Edward Chen <18449977+edgchen1@users.noreply.github.com> Date: Thu, 3 Jun 2021 20:39:14 -0700 Subject: [PATCH] Update Objective-C pod installation instructions to point to pre-release version. (#7940) --- docs/how-to/mobile/initial-setup.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/how-to/mobile/initial-setup.md b/docs/how-to/mobile/initial-setup.md index c5f911c2fe..696e6b81b7 100644 --- a/docs/how-to/mobile/initial-setup.md +++ b/docs/how-to/mobile/initial-setup.md @@ -45,8 +45,6 @@ Download the onnxruntime-mobile AAR hosted at [MavenCentral](https://mvnreposito In your CocoaPods `Podfile`, add the `onnxruntime-mobile-c` or `onnxruntime-mobile-objc` pod depending on which API you wish to use. -Run `pod install`. - ##### C/C++ ``` @@ -60,9 +58,12 @@ Run `pod install`. ``` use_frameworks! - pod 'onnxruntime-mobile-objc' + # currently, there is only a pre-release version for onnxruntime-mobile-objc + pod 'onnxruntime-mobile-objc', '1.8.0-preview' ``` +Run `pod install`. + ### Install ONNX Runtime python package Install the onnxruntime python package from [https://pypi.org/project/onnxruntime/](https://pypi.org/project/onnxruntime/) in order to convert models from ONNX format to the internal ORT format.