Unverified Commit 2c44f4a6 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Remove dev branch reference from build ios-frameworks error (#115166)

parent b2b83916
...@@ -318,7 +318,7 @@ class BuildIOSFrameworkCommand extends BuildFrameworkCommand { ...@@ -318,7 +318,7 @@ class BuildIOSFrameworkCommand extends BuildFrameworkCommand {
final GitTagVersion gitTagVersion = flutterVersion.gitTagVersion; final GitTagVersion gitTagVersion = flutterVersion.gitTagVersion;
if (!force && (gitTagVersion.x == null || gitTagVersion.y == null || gitTagVersion.z == null || gitTagVersion.commits != 0)) { if (!force && (gitTagVersion.x == null || gitTagVersion.y == null || gitTagVersion.z == null || gitTagVersion.commits != 0)) {
throwToolExit( throwToolExit(
'--cocoapods is only supported on the dev, beta, or stable channels. Detected version is ${flutterVersion.frameworkVersion}'); '--cocoapods is only supported on the beta or stable channel. Detected version is ${flutterVersion.frameworkVersion}');
} }
// Podspecs use semantic versioning, which don't support hotfixes. // Podspecs use semantic versioning, which don't support hotfixes.
......
...@@ -129,7 +129,7 @@ class BuildMacOSFrameworkCommand extends BuildFrameworkCommand { ...@@ -129,7 +129,7 @@ class BuildMacOSFrameworkCommand extends BuildFrameworkCommand {
gitTagVersion.z == null || gitTagVersion.z == null ||
gitTagVersion.commits != 0)) { gitTagVersion.commits != 0)) {
throwToolExit( throwToolExit(
'--cocoapods is only supported on the dev, beta, or stable channels. Detected version is ${flutterVersion.frameworkVersion}'); '--cocoapods is only supported on the beta or stable channel. Detected version is ${flutterVersion.frameworkVersion}');
} }
// Podspecs use semantic versioning, which don't support hotfixes. // Podspecs use semantic versioning, which don't support hotfixes.
......
...@@ -76,7 +76,7 @@ void main() { ...@@ -76,7 +76,7 @@ void main() {
); );
expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory), expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory),
throwsToolExit(message: 'Detected version is $frameworkVersion')); throwsToolExit(message: '--cocoapods is only supported on the beta or stable channel. Detected version is $frameworkVersion'));
}, overrides: <Type, Generator>{ }, overrides: <Type, Generator>{
FileSystem: () => memoryFileSystem, FileSystem: () => memoryFileSystem,
ProcessManager: () => FakeProcessManager.any(), ProcessManager: () => FakeProcessManager.any(),
...@@ -106,7 +106,7 @@ void main() { ...@@ -106,7 +106,7 @@ void main() {
); );
expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory), expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory),
throwsToolExit(message: 'Detected version is $frameworkVersion')); throwsToolExit(message: '--cocoapods is only supported on the beta or stable channel. Detected version is $frameworkVersion'));
}, overrides: <Type, Generator>{ }, overrides: <Type, Generator>{
FileSystem: () => memoryFileSystem, FileSystem: () => memoryFileSystem,
ProcessManager: () => FakeProcessManager.any(), ProcessManager: () => FakeProcessManager.any(),
...@@ -313,7 +313,7 @@ void main() { ...@@ -313,7 +313,7 @@ void main() {
); );
expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory), expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory),
throwsToolExit(message: 'Detected version is $frameworkVersion')); throwsToolExit(message: '--cocoapods is only supported on the beta or stable channel. Detected version is $frameworkVersion'));
}, overrides: <Type, Generator>{ }, overrides: <Type, Generator>{
FileSystem: () => memoryFileSystem, FileSystem: () => memoryFileSystem,
ProcessManager: () => FakeProcessManager.any(), ProcessManager: () => FakeProcessManager.any(),
...@@ -343,7 +343,7 @@ void main() { ...@@ -343,7 +343,7 @@ void main() {
); );
expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory), expect(() => command.produceFlutterPodspec(BuildMode.debug, outputDirectory),
throwsToolExit(message: 'Detected version is $frameworkVersion')); throwsToolExit(message: '--cocoapods is only supported on the beta or stable channel. Detected version is $frameworkVersion'));
}, overrides: <Type, Generator>{ }, overrides: <Type, Generator>{
FileSystem: () => memoryFileSystem, FileSystem: () => memoryFileSystem,
ProcessManager: () => FakeProcessManager.any(), ProcessManager: () => FakeProcessManager.any(),
......
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