Unverified Commit d11859fe authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Add -miphoneos-version-min=8.0 to App framework stub (#70405)

parent 1c7e34bb
...@@ -406,6 +406,8 @@ Future<RunResult> createStubAppFramework(File outputFile, String sdkRoot, ...@@ -406,6 +406,8 @@ Future<RunResult> createStubAppFramework(File outputFile, String sdkRoot,
stubSource.path, stubSource.path,
'-dynamiclib', '-dynamiclib',
'-fembed-bitcode-marker', '-fembed-bitcode-marker',
// Keep version in sync with AOTSnapshotter flag
'-miphoneos-version-min=8.0',
'-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks', '-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks',
'-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks', '-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks',
'-install_name', '@rpath/App.framework/App', '-install_name', '@rpath/App.framework/App',
......
...@@ -24,6 +24,7 @@ final Platform macPlatform = FakePlatform(operatingSystem: 'macos', environment: ...@@ -24,6 +24,7 @@ final Platform macPlatform = FakePlatform(operatingSystem: 'macos', environment:
const List<String> _kSharedConfig = <String>[ const List<String> _kSharedConfig = <String>[
'-dynamiclib', '-dynamiclib',
'-fembed-bitcode-marker', '-fembed-bitcode-marker',
'-miphoneos-version-min=8.0',
'-Xlinker', '-Xlinker',
'-rpath', '-rpath',
'-Xlinker', '-Xlinker',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment