Update Objective-C pod installation instructions to point to pre-release version. (#7940)

This commit is contained in:
Edward Chen 2021-06-03 20:39:14 -07:00 committed by GitHub
parent 826b92ee41
commit c04a61beca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.