Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2c44f4a6
Unverified
Commit
2c44f4a6
authored
Nov 15, 2022
by
Jenn Magder
Committed by
GitHub
Nov 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dev branch reference from build ios-frameworks error (#115166)
parent
b2b83916
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
build_ios_framework.dart
...s/flutter_tools/lib/src/commands/build_ios_framework.dart
+1
-1
build_macos_framework.dart
...flutter_tools/lib/src/commands/build_macos_framework.dart
+1
-1
build_darwin_framework_test.dart
.../commands.shard/hermetic/build_darwin_framework_test.dart
+4
-4
No files found.
packages/flutter_tools/lib/src/commands/build_ios_framework.dart
View file @
2c44f4a6
...
...
@@ -318,7 +318,7 @@ class BuildIOSFrameworkCommand extends BuildFrameworkCommand {
final
GitTagVersion
gitTagVersion
=
flutterVersion
.
gitTagVersion
;
if
(!
force
&&
(
gitTagVersion
.
x
==
null
||
gitTagVersion
.
y
==
null
||
gitTagVersion
.
z
==
null
||
gitTagVersion
.
commits
!=
0
))
{
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.
...
...
packages/flutter_tools/lib/src/commands/build_macos_framework.dart
View file @
2c44f4a6
...
...
@@ -129,7 +129,7 @@ class BuildMacOSFrameworkCommand extends BuildFrameworkCommand {
gitTagVersion
.
z
==
null
||
gitTagVersion
.
commits
!=
0
))
{
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.
...
...
packages/flutter_tools/test/commands.shard/hermetic/build_darwin_framework_test.dart
View file @
2c44f4a6
...
...
@@ -76,7 +76,7 @@ void main() {
);
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
>{
FileSystem:
()
=>
memoryFileSystem
,
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
...
...
@@ -106,7 +106,7 @@ void main() {
);
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
>{
FileSystem:
()
=>
memoryFileSystem
,
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
...
...
@@ -313,7 +313,7 @@ void main() {
);
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
>{
FileSystem:
()
=>
memoryFileSystem
,
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
...
...
@@ -343,7 +343,7 @@ void main() {
);
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
>{
FileSystem:
()
=>
memoryFileSystem
,
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment