Test Flutter.xcframework directory ios-arm64_armv7 or ios-arm64 (#101592)

This commit is contained in:
Jenn Magder
2022-04-08 16:12:09 -07:00
committed by GitHub
parent 135bb5d4f2
commit 71d52f27fb
4 changed files with 64 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ def flutter_additional_ios_build_settings(target)
continue if xcframework_file.start_with?(".") # Hidden file, possibly on external disk.
if xcframework_file.end_with?("-simulator") # ios-arm64_x86_64-simulator
build_configuration.build_settings['FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]'] = "\"#{configuration_engine_dir}/#{xcframework_file}\" $(inherited)"
elsif xcframework_file.start_with?("ios-") # ios-armv7_arm64
elsif xcframework_file.start_with?("ios-") # ios-arm64
build_configuration.build_settings['FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]'] = "\"#{configuration_engine_dir}/#{xcframework_file}\" $(inherited)"
else
# Info.plist or another platform.