Skip to content

build_ios_framework_module_test fails on Xcode 14 #110553

@jmagman

Description

@jmagman

Reachability.xcframework/ios-arm64_armv7 does not exist. Xcode 14 has updated ARCHS_STANDARD from armv7 arm64 to arm64, which means that ios-arm64_armv7 is no longer output. The updated path should be Reachability.xcframework/ios-arm64

[build_ios_framework_module_test] [STDOUT] Executing "otool -l -arch arm64 /opt/s/w/ir/x/t/flutter_module_test.y4y16l/hello_module/flutter-frameworks/Debug/Reachability.xcframework/ios-arm64_armv7/Reachability.framework/Reachability" in "/opt/s/w/ir/x/t/flutter_module_test.y4y16l" with environment {BOT: true, LANG: en_US.UTF-8}
[build_ios_framework_module_test] [STDOUT] stderr: error: /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /opt/s/w/ir/x/t/flutter_module_test.y4y16l/hello_module/flutter-frameworks/Debug/Reachability.xcframework/ios-arm64_armv7/Reachability.framework/Reachability (No such file or directory)
[build_ios_framework_module_test] [STDOUT] Checking for reboot

'Reachability.xcframework',
'ios-arm64_armv7',
'Reachability.framework',

Additionally, frameworks built by Xcode no longer contain bitcode due to #107887. Remove checks.

  "reason": "/var/folders/bx/pyplw7v92lj58gm3_lztz5sc00mfq2/T/flutter_module_test.JRrrOy/hello_module/flutter-frameworks/Release/connectivity.xcframework/ios-arm64/connectivity.framework/connectivity does not contain bitcode"

#108566

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our testsplatform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions