-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Test Flutter.xcframework directory ios-arm64_armv7 or ios-arm64 #101592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| continue; | ||
| } | ||
| // ios-x86_64-simulator, ios-arm64_x86_64-simulator, ios-armv7_arm64 (Xcode 11), or ios-arm64_armv7 (Xcode 12). | ||
| // ios-x86_64-simulator, ios-arm64_x86_64-simulator, or ios-arm64. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From looking at the code, it seems like _getIosArtifactPath() will automagically generate the correct path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you mean, _getIosArtifactPath calls this method _getIosEngineArtifactPath
Used like this:
flutter/packages/flutter_tools/lib/src/build_system/targets/ios.dart
Lines 300 to 305 in e56c83a
| final String basePath = environment.artifacts.getArtifactPath( | |
| Artifact.flutterFramework, | |
| platform: TargetPlatform.ios, | |
| mode: buildMode, | |
| environmentType: environmentType, | |
| ); |
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
In anticipation of the rename of these directories in #97342 in the engine, update these framework tests to handle either the directory
Flutter.xcframework/ios-arm64_armv7orFlutter.xcframework/ios-arm64depending on which one exists. This will allow the engine roll that introduces the directory name change to pass tests without framework changes.Also update a few comments to reference
ios-arm64instead ofios-arm64_armv7.See #85051 and #85642 for similar work when
ios-x86_64-simulatorbecameios-arm64_x86_64-simulator.Does not handle the codesigning script, to be addressed in a different PR (see also #85265)
flutter/dev/conductor/core/lib/src/codesign.dart
Line 188 in 3109073
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.