Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

ORT Objective-C Basic Usage Example

This example contains some simple code that uses the Objective-C API.

Set up

Generate the model

The model should be generated in this location: <this directory>/OrtBasicUsage/model

See instructions here for how to generate the model.

For example, with the model generation script dependencies installed, from this directory, run:

../model/gen_model.sh ./OrtBasicUsage/model

Install the Pod dependencies

From this directory, run:

pod install

Build and run

Open the generated OrtBasicUsage.xcworkspace file in Xcode to build and run the example.