File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,6 @@ let package = Package(
4343 " include/onnxruntime_training.h " ] ,
4444 cxxSettings: [
4545 . define( " SPM_BUILD " ) ,
46- . unsafeFlags( [ " -std=c++17 " ,
47- " -fobjc-arc-exceptions "
48- ] ) ,
49- ] , linkerSettings: [
50- . unsafeFlags( [ " -ObjC " ] ) ,
5146 ] ) ,
5247 . testTarget( name: " OnnxRuntimeBindingsTests " ,
5348 dependencies: [ " OnnxRuntimeBindings " ] ,
@@ -60,19 +55,15 @@ let package = Package(
6055 path: " extensions " ,
6156 cxxSettings: [
6257 . define( " ORT_SWIFT_PACKAGE_MANAGER_BUILD " ) ,
63- . unsafeFlags( [ " -std=c++17 " ,
64- " -fobjc-arc-exceptions "
65- ] ) ,
66- ] , linkerSettings: [
67- . unsafeFlags( [ " -ObjC " ] ) ,
6858 ] ) ,
6959 . testTarget( name: " OnnxRuntimeExtensionsTests " ,
7060 dependencies: [ " OnnxRuntimeExtensions " , " OnnxRuntimeBindings " ] ,
7161 path: " swift/OnnxRuntimeExtensionsTests " ,
7262 resources: [
7363 . copy( " Resources/decode_image.onnx " )
7464 ] ) ,
75- ]
65+ ] ,
66+ cxxLanguageStandard: . cxx17
7667)
7768
7869// Add the ORT iOS Pod archive as a binary target.
You can’t perform that action at this time.
0 commit comments