Skip to content

Commit b78629b

Browse files
committed
Fix publishing flutter iOS app to appstore.
See also #1562
1 parent 31d6206 commit b78629b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

build-ios-shared.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
258258
<string>arm64</string>
259259
</array>
260260
<key>MinimumOSVersion</key>
261-
<string>12.0</string>
261+
<string>13.0</string>
262262
<key>CFBundleIdentifier</key>
263263
<string>com.k2fsa.sherpa.onnx</string>
264264
<key>UIDeviceFamily</key>
@@ -274,6 +274,13 @@ for d in ios-arm64_x86_64-simulator ios-arm64; do
274274
<string>15A507</string>
275275
<key>DTPlatformBuild</key>
276276
<string>21A326</string>
277+
<key>SupportedArchitectures</key>
278+
<array>
279+
<string>arm64</string>
280+
<string>x86_64</string>
281+
</array>
282+
<key>SupportedPlatform</key>
283+
<string>ios</string>
277284
</dict>
278285
</plist>
279286
EOF

flutter/sherpa_onnx_ios/ios/sherpa_onnx_ios.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A new Flutter FFI plugin project.
2222
# `../src/*` so that the C sources can be shared among all target platforms.
2323
s.source = { :path => '.' }
2424
s.dependency 'Flutter'
25-
s.platform = :ios, '12.0'
25+
s.platform = :ios, '13.0'
2626
s.preserve_paths = 'sherpa_onnx.xcframework/**/*'
2727
s.vendored_frameworks = 'sherpa_onnx.xcframework'
2828

0 commit comments

Comments
 (0)