Skip to content

Commit

Permalink
fix pod and update artifacts path
Browse files Browse the repository at this point in the history
  • Loading branch information
rachguo authored and rachguo committed Dec 14, 2023
1 parent 7dfed33 commit 248effa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pipelines/ios_packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ jobs:
- script: |
ORT_EXTENSIONS_LOCAL_POD_PATH=$(Build.BinariesDirectory)/pod_staging \
ORT_C_LOCAL_POD_PATH=$(Build.ArtifactStagingDirectory)/ios_packaging_artifacts_full/onnxruntime-c.podspec \
ORT_OBJC_LOCAL_POD_PATH=$(Build.ArtifactStagingDirectory)/ios_packaging_artifacts_full/onnxruntime-objc.podspec \
ORT_C_LOCAL_POD_PATH=$(Build.ArtifactStagingDirectory)/onnxruntime-c.podspec \
ORT_OBJC_LOCAL_POD_PATH=$(Build.ArtifactStagingDirectory)/onnxruntime-objc.podspec \
pod install
displayName: "Install pods for OrtExtensionsUsage"
workingDirectory: $(Build.SourcesDirectory)/test/ios/OrtExtensionsUsage
Expand Down
1 change: 1 addition & 0 deletions test/ios/OrtExtensionsUsage/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ target 'OrtExtensionsUsage' do
pod 'onnxruntime-objc', :podspec => ort_objc_local_pod_path
else
pod 'onnxruntime-objc', '>= 1.16.0'
end

# environment variable ORT_EXTENSIONS_LOCAL_POD_PATH can be used to specify a local onnxruntime-extensions-c pod path
ort_extensions_local_pod_path = ENV['ORT_EXTENSIONS_LOCAL_POD_PATH']
Expand Down

0 comments on commit 248effa

Please sign in to comment.