Skip to content

Commit c20e517

Browse files
Update ffigen_codelab (#2327)
## Pre-launch Checklist - [x] I read the [Effective Dart: Style] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Effective Dart: Style]: https://dart.dev/guides/language/effective-dart/style [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
1 parent 86413bf commit c20e517

File tree

21 files changed

+443
-469
lines changed

21 files changed

+443
-469
lines changed

ffigen_codelab/codelab_rebuild.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ steps:
259259
260260
const String _libName = 'ffigen_app';
261261
262-
/// The dynamic library in which the symbols for [DuktapeBindings] can be found.
263262
final DynamicLibrary _dylib = () {
264263
if (Platform.isMacOS || Platform.isIOS) {
265264
return DynamicLibrary.open('$_libName.framework/$_libName');
@@ -273,7 +272,6 @@ steps:
273272
throw UnsupportedError('Unknown platform: ${Platform.operatingSystem}');
274273
}();
275274
276-
/// The bindings to the native functions in [_dylib].
277275
final DuktapeBindings _bindings = DuktapeBindings(_dylib);
278276
279277
class Duktape {
@@ -288,16 +286,12 @@ steps:
288286
}
289287
290288
void evalString(String jsCode) {
291-
// From duktape.h:
292-
// #define duk_peval_string(ctx,src) \
293-
// (duk_eval_raw((ctx), (src), 0, 0 /*args*/ | DUK_COMPILE_EVAL | DUK_COMPILE_SAFE | DUK_COMPILE_NOSOURCE | DUK_COMPILE_STRLEN | DUK_COMPILE_NOFILENAME))
294-
295289
var nativeUtf8 = jsCode.toNativeUtf8();
296290
_bindings.duk_eval_raw(
297291
ctx,
298292
nativeUtf8.cast<Char>(),
299293
0,
300-
0 /*args*/ |
294+
0 |
301295
DUK_COMPILE_EVAL |
302296
DUK_COMPILE_SAFE |
303297
DUK_COMPILE_NOSOURCE |
@@ -464,8 +458,8 @@ steps:
464458
465459
import 'duktape_bindings_generated.dart';
466460
467-
@@ -13,12 +14,37 @@ const String _libName = 'ffigen_app';
468-
/// The dynamic library in which the symbols for [DuktapeBindings] can be found.
461+
@@ -12,12 +13,37 @@ const String _libName = 'ffigen_app';
462+
469463
final DynamicLibrary _dylib = () {
470464
if (Platform.isMacOS || Platform.isIOS) {
471465
+ if (Platform.environment.containsKey('FLUTTER_TEST')) {
@@ -502,23 +496,19 @@ steps:
502496
return DynamicLibrary.open('$_libName.dll');
503497
}
504498
throw UnsupportedError('Unknown platform: ${Platform.operatingSystem}');
505-
@@ -38,13 +64,13 @@ class Duktape {
499+
@@ -36,9 +62,9 @@ class Duktape {
506500
);
507501
}
508502
509503
- void evalString(String jsCode) {
510504
+ String evalString(String jsCode) {
511-
// From duktape.h:
512-
// #define duk_peval_string(ctx,src) \
513-
// (duk_eval_raw((ctx), (src), 0, 0 /*args*/ | DUK_COMPILE_EVAL | DUK_COMPILE_SAFE | DUK_COMPILE_NOSOURCE | DUK_COMPILE_STRLEN | DUK_COMPILE_NOFILENAME))
514-
515505
var nativeUtf8 = jsCode.toNativeUtf8();
516506
- _bindings.duk_eval_raw(
517507
+ final evalResult = _bindings.duk_eval_raw(
518508
ctx,
519509
nativeUtf8.cast<Char>(),
520510
0,
521-
@@ -56,10 +82,22 @@ class Duktape {
511+
@@ -50,10 +76,22 @@ class Duktape {
522512
DUK_COMPILE_NOFILENAME,
523513
);
524514
ffi.malloc.free(nativeUtf8);
@@ -549,6 +539,7 @@ steps:
549539
// Copyright 2022 The Flutter Authors. All rights reserved.
550540
// Use of this source code is governed by a BSD-style license that can be
551541
// found in the LICENSE file.
542+
552543
import 'package:freezed_annotation/freezed_annotation.dart';
553544
554545
part 'duktape_message.freezed.dart';

ffigen_codelab/step_03/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 57 additions & 57 deletions
Large diffs are not rendered by default.

ffigen_codelab/step_03/example/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
2828
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
2929
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
30-
B8B8EC455095661E8438361D /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EEBC5B11854A97B21ADE0006 /* Pods_Runner.framework */; };
31-
F614DA4310D8D6859C90D96C /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D73904DB120F7D034CA8A546 /* Pods_RunnerTests.framework */; };
30+
3A45715FADC2CBED049E8EAB /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A200F7A08E5E9080EAC6A820 /* Pods_Runner.framework */; };
31+
BD12500112AE57AF6A93A256 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05B47ACBB91CB73783DB737D /* Pods_RunnerTests.framework */; };
3232
/* End PBXBuildFile section */
3333

3434
/* Begin PBXContainerItemProxy section */
@@ -62,8 +62,7 @@
6262
/* End PBXCopyFilesBuildPhase section */
6363

6464
/* Begin PBXFileReference section */
65-
084C8D6FF3C0E955B7FBA096 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
66-
273189F627ADBEFF472C1102 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
65+
05B47ACBB91CB73783DB737D /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6766
331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
6867
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
6968
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
@@ -80,30 +79,31 @@
8079
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; };
8180
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
8281
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
82+
3AE18D82F37280713B196B39 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
83+
628A0B5B24C60790C23F0931 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
84+
6633226FA7F8A6076DE19748 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
8385
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
8486
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
85-
AC4E43157B3C629756181B45 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
86-
ADD437C66FAB7BC747EEC9BA /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
87-
D73904DB120F7D034CA8A546 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
88-
D7E5D00837153E1659DCDDA6 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
89-
E82221E7C75EF1548C6B454A /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
90-
EEBC5B11854A97B21ADE0006 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
87+
9896755208E905FA378D4626 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
88+
A200F7A08E5E9080EAC6A820 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
89+
F00AB30B2705C5E35DE7D30E /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
90+
F4C41AAD766769D63CFE3C90 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
9191
/* End PBXFileReference section */
9292

9393
/* Begin PBXFrameworksBuildPhase section */
9494
331C80D2294CF70F00263BE5 /* Frameworks */ = {
9595
isa = PBXFrameworksBuildPhase;
9696
buildActionMask = 2147483647;
9797
files = (
98-
F614DA4310D8D6859C90D96C /* Pods_RunnerTests.framework in Frameworks */,
98+
BD12500112AE57AF6A93A256 /* Pods_RunnerTests.framework in Frameworks */,
9999
);
100100
runOnlyForDeploymentPostprocessing = 0;
101101
};
102102
33CC10EA2044A3C60003C045 /* Frameworks */ = {
103103
isa = PBXFrameworksBuildPhase;
104104
buildActionMask = 2147483647;
105105
files = (
106-
B8B8EC455095661E8438361D /* Pods_Runner.framework in Frameworks */,
106+
3A45715FADC2CBED049E8EAB /* Pods_Runner.framework in Frameworks */,
107107
);
108108
runOnlyForDeploymentPostprocessing = 0;
109109
};
@@ -137,7 +137,7 @@
137137
331C80D6294CF71000263BE5 /* RunnerTests */,
138138
33CC10EE2044A3C60003C045 /* Products */,
139139
D73912EC22F37F3D000D13A0 /* Frameworks */,
140-
BED2A76D5C1836CAFF2908BD /* Pods */,
140+
8506074FDB4F5D2BD2C4FF28 /* Pods */,
141141
);
142142
sourceTree = "<group>";
143143
};
@@ -185,15 +185,15 @@
185185
path = Runner;
186186
sourceTree = "<group>";
187187
};
188-
BED2A76D5C1836CAFF2908BD /* Pods */ = {
188+
8506074FDB4F5D2BD2C4FF28 /* Pods */ = {
189189
isa = PBXGroup;
190190
children = (
191-
E82221E7C75EF1548C6B454A /* Pods-Runner.debug.xcconfig */,
192-
AC4E43157B3C629756181B45 /* Pods-Runner.release.xcconfig */,
193-
273189F627ADBEFF472C1102 /* Pods-Runner.profile.xcconfig */,
194-
084C8D6FF3C0E955B7FBA096 /* Pods-RunnerTests.debug.xcconfig */,
195-
ADD437C66FAB7BC747EEC9BA /* Pods-RunnerTests.release.xcconfig */,
196-
D7E5D00837153E1659DCDDA6 /* Pods-RunnerTests.profile.xcconfig */,
191+
3AE18D82F37280713B196B39 /* Pods-Runner.debug.xcconfig */,
192+
9896755208E905FA378D4626 /* Pods-Runner.release.xcconfig */,
193+
628A0B5B24C60790C23F0931 /* Pods-Runner.profile.xcconfig */,
194+
F4C41AAD766769D63CFE3C90 /* Pods-RunnerTests.debug.xcconfig */,
195+
F00AB30B2705C5E35DE7D30E /* Pods-RunnerTests.release.xcconfig */,
196+
6633226FA7F8A6076DE19748 /* Pods-RunnerTests.profile.xcconfig */,
197197
);
198198
name = Pods;
199199
path = Pods;
@@ -202,8 +202,8 @@
202202
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
203203
isa = PBXGroup;
204204
children = (
205-
EEBC5B11854A97B21ADE0006 /* Pods_Runner.framework */,
206-
D73904DB120F7D034CA8A546 /* Pods_RunnerTests.framework */,
205+
A200F7A08E5E9080EAC6A820 /* Pods_Runner.framework */,
206+
05B47ACBB91CB73783DB737D /* Pods_RunnerTests.framework */,
207207
);
208208
name = Frameworks;
209209
sourceTree = "<group>";
@@ -215,7 +215,7 @@
215215
isa = PBXNativeTarget;
216216
buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
217217
buildPhases = (
218-
3AEE5A94C406509F519A9C47 /* [CP] Check Pods Manifest.lock */,
218+
5A8AD9E79DA62B1FA3F47D7E /* [CP] Check Pods Manifest.lock */,
219219
331C80D1294CF70F00263BE5 /* Sources */,
220220
331C80D2294CF70F00263BE5 /* Frameworks */,
221221
331C80D3294CF70F00263BE5 /* Resources */,
@@ -234,13 +234,13 @@
234234
isa = PBXNativeTarget;
235235
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
236236
buildPhases = (
237-
AACA9054AE995495D31F6B24 /* [CP] Check Pods Manifest.lock */,
237+
C4BE51617943B724B05C8371 /* [CP] Check Pods Manifest.lock */,
238238
33CC10E92044A3C60003C045 /* Sources */,
239239
33CC10EA2044A3C60003C045 /* Frameworks */,
240240
33CC10EB2044A3C60003C045 /* Resources */,
241241
33CC110E2044A8840003C045 /* Bundle Framework */,
242242
3399D490228B24CF009A79C7 /* ShellScript */,
243-
03DEFBBBB9F4638C120CB4BF /* [CP] Embed Pods Frameworks */,
243+
3CB4256D3750DD481DDEE45B /* [CP] Embed Pods Frameworks */,
244244
);
245245
buildRules = (
246246
);
@@ -323,23 +323,6 @@
323323
/* End PBXResourcesBuildPhase section */
324324

325325
/* Begin PBXShellScriptBuildPhase section */
326-
03DEFBBBB9F4638C120CB4BF /* [CP] Embed Pods Frameworks */ = {
327-
isa = PBXShellScriptBuildPhase;
328-
buildActionMask = 2147483647;
329-
files = (
330-
);
331-
inputFileListPaths = (
332-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
333-
);
334-
name = "[CP] Embed Pods Frameworks";
335-
outputFileListPaths = (
336-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
337-
);
338-
runOnlyForDeploymentPostprocessing = 0;
339-
shellPath = /bin/sh;
340-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
341-
showEnvVarsInLog = 0;
342-
};
343326
3399D490228B24CF009A79C7 /* ShellScript */ = {
344327
isa = PBXShellScriptBuildPhase;
345328
alwaysOutOfDate = 1;
@@ -378,7 +361,24 @@
378361
shellPath = /bin/sh;
379362
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
380363
};
381-
3AEE5A94C406509F519A9C47 /* [CP] Check Pods Manifest.lock */ = {
364+
3CB4256D3750DD481DDEE45B /* [CP] Embed Pods Frameworks */ = {
365+
isa = PBXShellScriptBuildPhase;
366+
buildActionMask = 2147483647;
367+
files = (
368+
);
369+
inputFileListPaths = (
370+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
371+
);
372+
name = "[CP] Embed Pods Frameworks";
373+
outputFileListPaths = (
374+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
375+
);
376+
runOnlyForDeploymentPostprocessing = 0;
377+
shellPath = /bin/sh;
378+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
379+
showEnvVarsInLog = 0;
380+
};
381+
5A8AD9E79DA62B1FA3F47D7E /* [CP] Check Pods Manifest.lock */ = {
382382
isa = PBXShellScriptBuildPhase;
383383
buildActionMask = 2147483647;
384384
files = (
@@ -400,7 +400,7 @@
400400
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
401401
showEnvVarsInLog = 0;
402402
};
403-
AACA9054AE995495D31F6B24 /* [CP] Check Pods Manifest.lock */ = {
403+
C4BE51617943B724B05C8371 /* [CP] Check Pods Manifest.lock */ = {
404404
isa = PBXShellScriptBuildPhase;
405405
buildActionMask = 2147483647;
406406
files = (
@@ -473,7 +473,7 @@
473473
/* Begin XCBuildConfiguration section */
474474
331C80DB294CF71000263BE5 /* Debug */ = {
475475
isa = XCBuildConfiguration;
476-
baseConfigurationReference = 084C8D6FF3C0E955B7FBA096 /* Pods-RunnerTests.debug.xcconfig */;
476+
baseConfigurationReference = F4C41AAD766769D63CFE3C90 /* Pods-RunnerTests.debug.xcconfig */;
477477
buildSettings = {
478478
BUNDLE_LOADER = "$(TEST_HOST)";
479479
CURRENT_PROJECT_VERSION = 1;
@@ -488,7 +488,7 @@
488488
};
489489
331C80DC294CF71000263BE5 /* Release */ = {
490490
isa = XCBuildConfiguration;
491-
baseConfigurationReference = ADD437C66FAB7BC747EEC9BA /* Pods-RunnerTests.release.xcconfig */;
491+
baseConfigurationReference = F00AB30B2705C5E35DE7D30E /* Pods-RunnerTests.release.xcconfig */;
492492
buildSettings = {
493493
BUNDLE_LOADER = "$(TEST_HOST)";
494494
CURRENT_PROJECT_VERSION = 1;
@@ -503,7 +503,7 @@
503503
};
504504
331C80DD294CF71000263BE5 /* Profile */ = {
505505
isa = XCBuildConfiguration;
506-
baseConfigurationReference = D7E5D00837153E1659DCDDA6 /* Pods-RunnerTests.profile.xcconfig */;
506+
baseConfigurationReference = 6633226FA7F8A6076DE19748 /* Pods-RunnerTests.profile.xcconfig */;
507507
buildSettings = {
508508
BUNDLE_LOADER = "$(TEST_HOST)";
509509
CURRENT_PROJECT_VERSION = 1;

ffigen_codelab/step_03/example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
1919
version: 1.0.0+1
2020

2121
environment:
22-
sdk: ^3.8.0
22+
sdk: ^3.8.1
2323

2424
# Dependencies specify other packages that your package needs in order to work.
2525
# To automatically upgrade your package dependencies to the latest versions
@@ -52,7 +52,7 @@ dev_dependencies:
5252
# activated in the `analysis_options.yaml` file located at the root of your
5353
# package. See that file for information about deactivating specific lint
5454
# rules and activating additional ones.
55-
flutter_lints: ^5.0.0
55+
flutter_lints: ^6.0.0
5656

5757
# For information on the generic Dart part of this file, see the
5858
# following page: https://dart.dev/tools/pub/pubspec

ffigen_codelab/step_03/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 0.0.1
44
homepage:
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.8.1
88
flutter: '>=3.3.0'
99

1010
dependencies:
@@ -17,7 +17,7 @@ dev_dependencies:
1717
ffigen: ^19.0.0
1818
flutter_test:
1919
sdk: flutter
20-
flutter_lints: ^5.0.0
20+
flutter_lints: ^6.0.0
2121

2222
# For information on the generic Dart part of this file, see the
2323
# following page: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)