Skip to content

Commit e4b2165

Browse files
authored
Feature/spm (#94)
* Prep * Add SPM
1 parent 01edda9 commit e4b2165

File tree

13 files changed

+102
-106
lines changed

13 files changed

+102
-106
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ build-android:
2222
open build/app/outputs/bundle/release/
2323

2424
build-ios:
25-
cd ios && pod update
2625
flutter build ipa
2726
open build/ios/ipa
2827

@@ -31,7 +30,6 @@ tag:
3130

3231
upgrade:
3332
flutter pub upgrade --precompile --major-versions
34-
cd ios && pod update
3533

3634
release: tag build
3735

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '12.0'
2+
# platform :ios, '13.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

ios/Podfile.lock

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,28 @@
11
PODS:
2-
- device_info_plus (0.0.1):
3-
- Flutter
42
- Flutter (1.0.0)
5-
- flutter_blue_plus_darwin (0.0.2):
6-
- Flutter
7-
- FlutterMacOS
83
- flutter_foreground_task (0.0.1):
94
- Flutter
10-
- path_provider_foundation (0.0.1):
11-
- Flutter
12-
- FlutterMacOS
135
- permission_handler_apple (9.3.0):
146
- Flutter
15-
- shared_preferences_foundation (0.0.1):
16-
- Flutter
17-
- FlutterMacOS
18-
- url_launcher_ios (0.0.1):
19-
- Flutter
207

218
DEPENDENCIES:
22-
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
239
- Flutter (from `Flutter`)
24-
- flutter_blue_plus_darwin (from `.symlinks/plugins/flutter_blue_plus_darwin/darwin`)
2510
- flutter_foreground_task (from `.symlinks/plugins/flutter_foreground_task/ios`)
26-
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
2711
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
28-
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
29-
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
3012

3113
EXTERNAL SOURCES:
32-
device_info_plus:
33-
:path: ".symlinks/plugins/device_info_plus/ios"
3414
Flutter:
3515
:path: Flutter
36-
flutter_blue_plus_darwin:
37-
:path: ".symlinks/plugins/flutter_blue_plus_darwin/darwin"
3816
flutter_foreground_task:
3917
:path: ".symlinks/plugins/flutter_foreground_task/ios"
40-
path_provider_foundation:
41-
:path: ".symlinks/plugins/path_provider_foundation/darwin"
4218
permission_handler_apple:
4319
:path: ".symlinks/plugins/permission_handler_apple/ios"
44-
shared_preferences_foundation:
45-
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
46-
url_launcher_ios:
47-
:path: ".symlinks/plugins/url_launcher_ios/ios"
4820

4921
SPEC CHECKSUMS:
50-
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
51-
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
52-
flutter_blue_plus_darwin: 20a08bfeaa0f7804d524858d3d8744bcc1b6dbc3
22+
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
5323
flutter_foreground_task: a159d2c2173b33699ddb3e6c2a067045d7cebb89
54-
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
5524
permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d
56-
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
57-
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
5825

59-
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011
26+
PODFILE CHECKSUM: 0dbd5a87e0ace00c9610d2037ac22083a01f861d
6027

6128
COCOAPODS: 1.16.2

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1515
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
1616
E567A5ADA82CE2AEDCB0A3E4 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE5BBD3E112BFDB5C8E2790F /* Pods_Runner.framework */; };
17+
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
1718
/* End PBXBuildFile section */
1819

1920
/* Begin PBXCopyFilesBuildPhase section */
@@ -48,13 +49,15 @@
4849
B7ABCAC5A61AF54F00391621 /* 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>"; };
4950
EE5BBD3E112BFDB5C8E2790F /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5051
EF676DC31166BF82E434F9F3 /* 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>"; };
52+
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = FlutterGeneratedPluginSwiftPackage; path = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage; sourceTree = "<group>"; };
5153
/* End PBXFileReference section */
5254

5355
/* Begin PBXFrameworksBuildPhase section */
5456
97C146EB1CF9000F007C117D /* Frameworks */ = {
5557
isa = PBXFrameworksBuildPhase;
5658
buildActionMask = 2147483647;
5759
files = (
60+
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
5861
E567A5ADA82CE2AEDCB0A3E4 /* Pods_Runner.framework in Frameworks */,
5962
);
6063
runOnlyForDeploymentPostprocessing = 0;
@@ -83,6 +86,7 @@
8386
9740EEB11CF90186004384FC /* Flutter */ = {
8487
isa = PBXGroup;
8588
children = (
89+
78E0A7A72DC9AD7400C4905E /* FlutterGeneratedPluginSwiftPackage */,
8690
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
8791
9740EEB21CF90195004384FC /* Debug.xcconfig */,
8892
7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
@@ -130,6 +134,9 @@
130134

131135
/* Begin PBXNativeTarget section */
132136
97C146ED1CF9000F007C117D /* Runner */ = {
137+
packageProductDependencies = (
138+
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
139+
);
133140
isa = PBXNativeTarget;
134141
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
135142
buildPhases = (
@@ -156,6 +163,9 @@
156163

157164
/* Begin PBXProject section */
158165
97C146E61CF9000F007C117D /* Project object */ = {
166+
packageReferences = (
167+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
168+
);
159169
isa = PBXProject;
160170
attributes = {
161171
BuildIndependentTargetsInParallel = YES;
@@ -365,7 +375,7 @@
365375
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
366376
GCC_WARN_UNUSED_FUNCTION = YES;
367377
GCC_WARN_UNUSED_VARIABLE = YES;
368-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
378+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
369379
MTL_ENABLE_DEBUG_INFO = NO;
370380
SDKROOT = iphoneos;
371381
SUPPORTED_PLATFORMS = iphoneos;
@@ -387,7 +397,7 @@
387397
INFOPLIST_FILE = Runner/Info.plist;
388398
INFOPLIST_KEY_CFBundleDisplayName = "SuperDuper Controller";
389399
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.travel";
390-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
400+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
391401
LD_RUNPATH_SEARCH_PATHS = (
392402
"$(inherited)",
393403
"@executable_path/Frameworks",
@@ -453,7 +463,7 @@
453463
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
454464
GCC_WARN_UNUSED_FUNCTION = YES;
455465
GCC_WARN_UNUSED_VARIABLE = YES;
456-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
466+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
457467
MTL_ENABLE_DEBUG_INFO = YES;
458468
ONLY_ACTIVE_ARCH = YES;
459469
SDKROOT = iphoneos;
@@ -504,7 +514,7 @@
504514
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
505515
GCC_WARN_UNUSED_FUNCTION = YES;
506516
GCC_WARN_UNUSED_VARIABLE = YES;
507-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
517+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
508518
MTL_ENABLE_DEBUG_INFO = NO;
509519
SDKROOT = iphoneos;
510520
SUPPORTED_PLATFORMS = iphoneos;
@@ -528,7 +538,7 @@
528538
INFOPLIST_FILE = Runner/Info.plist;
529539
INFOPLIST_KEY_CFBundleDisplayName = "SuperDuper Controller";
530540
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.travel";
531-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
541+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
532542
LD_RUNPATH_SEARCH_PATHS = (
533543
"$(inherited)",
534544
"@executable_path/Frameworks",
@@ -559,7 +569,7 @@
559569
INFOPLIST_FILE = Runner/Info.plist;
560570
INFOPLIST_KEY_CFBundleDisplayName = "SuperDuper Controller";
561571
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.travel";
562-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
572+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
563573
LD_RUNPATH_SEARCH_PATHS = (
564574
"$(inherited)",
565575
"@executable_path/Frameworks",
@@ -600,6 +610,18 @@
600610
defaultConfigurationName = Release;
601611
};
602612
/* End XCConfigurationList section */
613+
/* Begin XCLocalSwiftPackageReference section */
614+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
615+
isa = XCLocalSwiftPackageReference;
616+
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
617+
};
618+
/* End XCLocalSwiftPackageReference section */
619+
/* Begin XCSwiftPackageProductDependency section */
620+
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
621+
isa = XCSwiftPackageProductDependency;
622+
productName = FlutterGeneratedPluginSwiftPackage;
623+
};
624+
/* End XCSwiftPackageProductDependency section */
603625
};
604626
rootObject = 97C146E61CF9000F007C117D /* Project object */;
605627
}

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
<BuildAction
66
parallelizeBuildables = "YES"
77
buildImplicitDependencies = "YES">
8+
<PreActions>
9+
<ExecutionAction
10+
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
11+
<ActionContent
12+
title = "Run Prepare Flutter Framework Script"
13+
scriptText = "/bin/sh &quot;$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh&quot; prepare&#10;">
14+
<EnvironmentBuildable>
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
18+
BuildableName = "Runner.app"
19+
BlueprintName = "Runner"
20+
ReferencedContainer = "container:Runner.xcodeproj">
21+
</BuildableReference>
22+
</EnvironmentBuildable>
23+
</ActionContent>
24+
</ExecutionAction>
25+
</PreActions>
826
<BuildActionEntries>
927
<BuildActionEntry
1028
buildForTesting = "YES"

lib/bike.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/db.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/repository.g.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

macos/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
platform :osx, '10.14'
1+
platform :osx, '10.15'
22

33
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
44
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

0 commit comments

Comments
 (0)