Make host app test actually test host app (#24131)

* Make host app test actually test host app

* mark updated test as flaky
This commit is contained in:
Dan Field
2018-11-09 19:09:56 -08:00
committed by GitHub
parent 846a5eea55
commit 2729385758
6 changed files with 62 additions and 8 deletions

View File

@@ -367,9 +367,10 @@ EmbedFlutterFrameworks() {
# Sign the binaries we moved.
local identity="${EXPANDED_CODE_SIGN_IDENTITY_NAME:-$CODE_SIGN_IDENTITY}"
RunCommand codesign --force --verbose --sign "${identity}" -- "${xcode_frameworks_dir}/App.framework/App"
RunCommand codesign --force --verbose --sign "${identity}" -- "${xcode_frameworks_dir}/Flutter.framework/Flutter"
if (${identity} != ""); then
RunCommand codesign --force --verbose --sign "${identity}" -- "${xcode_frameworks_dir}/App.framework/App"
RunCommand codesign --force --verbose --sign "${identity}" -- "${xcode_frameworks_dir}/Flutter.framework/Flutter"
fi
}
# Main entry point.

View File

@@ -68,7 +68,7 @@ post_install do |installer|
config.build_settings['ENABLE_BITCODE'] = 'NO'
xcconfig_path = config.base_configuration_reference.real_path
File.open(xcconfig_path, 'a+') do |file|
file.puts "#include \"#{File.join(framework_dir, 'Generated.xcconfig')}\""
file.puts "#include \"#{File.realpath(File.join(framework_dir, 'Generated.xcconfig'))}\""
end
end
end