onnxruntime/tools/ci_build/github/apple
Jian Chen fa68ae2def
Update pool to MacOS-13 (#17361)
### Description
See https://github.com/microsoft/onnxruntime-extensions/pull/476
and https://github.com/actions/runner-images/issues/7671

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

### Current issue
- [ ] For default xcode 15.2, that come with the MacOS-13, We Need to
update the boost container header boost/container_hash/hash.hpp version
to pass the build
- [x] For xcode 14.2 The Build passed but the `Run React Native Detox
Android e2e Test` Failed.
Possible flaky test, https://github.com/microsoft/onnxruntime/pull/21969
- [x] For xcode 14.3.1 We encountered following issue in `Build React
Native Detox iOS e2e Tests`
```
ld: file not found: /Applications/Xcode_14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Applied following code to the eof in both ios/Podfile and fixed the
issue
```
post_install do |installer|
    installer.generated_projects.each do |project|
        project.targets.each do |target|
            target.build_configurations.each do |config|
                config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
            end
        end
    end
end
```


- [x] https://github.com/facebook/react-native/issues/32483

Applying changes to ios/Pofile
```
pre_install do |installer|
  # Custom pre-install script or commands
  puts "Running pre-install script..."

  # Recommended fix for https://github.com/facebook/react-native/issues/32483
  # from https://github.com/facebook/react-native/issues/32483#issuecomment-966784501
  system("sed -i '' 's/typedef uint8_t clockid_t;//' \"${SRCROOT}/Pods/RCT-Folly/folly/portability/Time.h\"")
end
```

- [ ] Detox environment setting up exceeded time out of 120000ms during
iso e2e test


### dependent 

- [x] https://github.com/microsoft/onnxruntime/pull/21159

---------

Co-authored-by: Changming Sun <chasun@microsoft.com>
2024-09-17 10:07:30 -07:00
..
c Updates to apple packaging (#21611) 2024-08-06 08:50:56 +10:00
ios_packaging Rename ios_packaging.requirements.txt to ios_packaging/requirements.txt (#21936) 2024-09-04 13:18:05 -07:00
objectivec Updates to apple packaging (#21611) 2024-08-06 08:50:56 +10:00
__init__.py
assemble_apple_packaging_artifacts.sh Updates to apple packaging (#21611) 2024-08-06 08:50:56 +10:00
build_and_assemble_apple_pods.py Updates to apple packaging (#21611) 2024-08-06 08:50:56 +10:00
build_apple_framework.py Updates to apple packaging (#21611) 2024-08-06 08:50:56 +10:00
coreml_supported_mlprogram_ops.md Fix typo in coreml_supported_mlprogram_ops.md (#22004) 2024-09-06 12:50:56 +10:00
coreml_supported_neuralnetwork_ops.md Match changes in gh-pages PR (#21628) 2024-08-08 10:29:15 +10:00
default_full_apple_framework_build_settings.json Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
default_full_ios_framework_build_settings.json Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
default_training_ios_framework_build_settings.json Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
default_vision_os_framework_build_settings.json Support visionos build (#20365) 2024-04-23 18:15:07 -07:00
framework_info.json.template Support xcframework for mac catalyst builds. (#19534) 2024-03-20 10:55:19 -07:00
get_simulator_device_info.py Remove iOS simulator max runtime version limit. (#19396) 2024-02-06 14:54:06 -08:00
package_assembly_utils.py Updates to apple packaging (#21611) 2024-08-06 08:50:56 +10:00
package_release_tasks.py Update package_release_tasks.py (#20835) 2024-05-28 17:50:25 -07:00
test_apple_packages.py Updates to apple packaging (#21611) 2024-08-06 08:50:56 +10:00
test_ios_framework_build_settings.json [Fix] Exception in iosDynamicFramework Post-Merge workflow (#21262) 2024-07-12 09:24:12 -07:00
test_minimal_training_ios_simulator_framework_build_settings.json Upgrade min ios version to 13.0 (#20773) 2024-06-04 10:15:20 -07:00
use_ios_pods_with_custom_build.md Remove deprecated "mobile" packages (#20941) 2024-06-07 16:20:32 -05:00