Skip to content

Commit 48beaf0

Browse files
[geolocator_apple] Add swift package manager compatibility (#1630)
* chore: added swift package manager compatibility * chore: bump pubspec version * chore: added ephemeral to gitignore
1 parent d00760e commit 48beaf0

File tree

78 files changed

+190
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+190
-158
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ unlinked.ds
5858
unlinked_spec.ds
5959
flutter_export_environment.sh
6060
**/.flutter-plugins-dependencies
61+
**/Flutter/ephemeral/
6162

6263
# Android related
6364
gradle-wrapper.jar
@@ -95,6 +96,8 @@ GeneratedPluginRegistrant.java
9596
**/ios/ServiceDefinitions.json
9697
**/ios/Runner/GeneratedPluginRegistrant.*
9798
**/ios/Flutter/Flutter.podspec
99+
**/.build/
100+
**/.swiftpm/
98101

99102
# Firebase related
100103
.firebase/

geolocator_apple/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.3.13
2+
3+
* Adds Swift Package Manager compatibility.
4+
15
## 2.3.12
26

37
* Removed deprecated `-[UIApplication openURL:]` dead code.
File renamed without changes.

geolocator_apple/ios/geolocator_apple.podspec renamed to geolocator_apple/darwin/geolocator_apple.podspec

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,24 @@
55
Pod::Spec.new do |s|
66
s.name = 'geolocator_apple'
77
s.version = '1.2.0'
8-
s.summary = 'Geolocation iOS plugin for Flutter.'
8+
s.summary = 'Geolocation iOS & macOS plugin for Flutter.'
99
s.description = <<-DESC
1010
Geolocation iOS plugin for Flutter. This plugin provides the Apple implementation for the geolocator plugin.
1111
DESC
1212
s.homepage = 'http://github.com/baseflow/flutter-geolocator'
1313
s.license = { :type => 'MIT', :file => '../LICENSE' }
1414
s.author = { 'Baseflow' => 'hello@baseflow.com' }
1515
s.source = { :http => 'https://github.com/baseflow/flutter-geolocator/tree/master/' }
16-
s.source_files = 'Classes/**/*.{h,m}'
17-
s.public_header_files = 'Classes/**/*.h'
18-
s.module_map = 'Classes/GeolocatorPlugin.modulemap'
19-
s.dependency 'Flutter'
20-
s.platform = :ios, '11.0'
16+
s.source_files = 'geolocator_apple/Sources/geolocator_apple/**/*.{h,m}'
17+
s.public_header_files = 'geolocator_apple/Sources/geolocator_apple/include/**/*.h'
18+
s.module_map = 'geolocator_apple/Sources/geolocator_apple/include/GeolocatorPlugin.modulemap'
19+
20+
s.ios.dependency 'Flutter'
21+
s.osx.dependency 'FlutterMacOS'
22+
s.ios.deployment_target = '11.0'
23+
s.osx.deployment_target = '10.11'
2124

2225
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2326
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386'}
24-
s.resource_bundles = {'geolocator_apple_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
27+
s.resource_bundles = {'geolocator_apple_privacy' => ['geolocator_apple/Sources/geolocator_apple/PrivacyInfo.xcprivacy']}
2528
end
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// swift-tools-version: 5.9
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "geolocator_apple",
8+
platforms: [
9+
.iOS("11.0"),
10+
.macOS("10.11")
11+
],
12+
products: [
13+
.library(name: "geolocator-apple", targets: ["geolocator_apple"])
14+
],
15+
dependencies: [],
16+
targets: [
17+
.target(
18+
name: "geolocator_apple",
19+
dependencies: [],
20+
resources: [
21+
.process("PrivacyInfo.xcprivacy")
22+
],
23+
publicHeadersPath: "include/geolocator_apple",
24+
cSettings: [
25+
.headerSearchPath("include/geolocator_apple")
26+
]
27+
)
28+
]
29+
)

geolocator_apple/ios/Classes/Constants/ErrorCodes.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Constants/ErrorCodes.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Maurits van Beusekom on 24/06/2020.
66
//
77

8-
#import "ErrorCodes.h"
8+
#import "../include/geolocator_apple/Constants/ErrorCodes.h"
99

1010
NSString * const GeolocatorErrorLocationUpdateFailure = @"LOCATION_UPDATE_FAILURE";
1111
NSString * const GeolocatorErrorLocationServicesDisabled = @"LOCATION_SERVICES_DISABLED";

geolocator_apple/ios/Classes/GeolocatorPlugin.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/GeolocatorPlugin.m

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#import <CoreLocation/CoreLocation.h>
2-
#import "GeolocatorPlugin.h"
3-
#import "GeolocatorPlugin_Test.h"
4-
#import "Constants/ErrorCodes.h"
5-
#import "Handlers/GeolocationHandler.h"
6-
#import "Handlers/PermissionHandler.h"
7-
#import "Handlers/PositionStreamHandler.h"
8-
#import "Utils/ActivityTypeMapper.h"
9-
#import "Utils/AuthorizationStatusMapper.h"
10-
#import "Utils/LocationAccuracyMapper.h"
11-
#import "Utils/LocationDistanceMapper.h"
12-
#import "Utils/LocationMapper.h"
13-
#import "Utils/PermissionUtils.h"
14-
#import "Handlers/LocationAccuracyHandler.h"
15-
#import "Handlers/LocationServiceStreamHandler.h"
2+
#import "./include/geolocator_apple/GeolocatorPlugin.h"
3+
#import "./include/geolocator_apple/GeolocatorPlugin_Test.h"
4+
#import "./include/geolocator_apple/Constants/ErrorCodes.h"
5+
#import "./include/geolocator_apple/Handlers/GeolocationHandler.h"
6+
#import "./include/geolocator_apple/Handlers/PermissionHandler.h"
7+
#import "./include/geolocator_apple/Handlers/PositionStreamHandler.h"
8+
#import "./include/geolocator_apple/Utils/ActivityTypeMapper.h"
9+
#import "./include/geolocator_apple/Utils/AuthorizationStatusMapper.h"
10+
#import "./include/geolocator_apple/Utils/LocationAccuracyMapper.h"
11+
#import "./include/geolocator_apple/Utils/LocationDistanceMapper.h"
12+
#import "./include/geolocator_apple/Utils/LocationMapper.h"
13+
#import "./include/geolocator_apple/Utils/PermissionUtils.h"
14+
#import "./include/geolocator_apple/Handlers/LocationAccuracyHandler.h"
15+
#import "./include/geolocator_apple/Handlers/LocationServiceStreamHandler.h"
1616

1717
@interface GeolocatorPlugin ()
1818

geolocator_apple/ios/Classes/Handlers/GeolocationHandler.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/GeolocationHandler.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// Created by Maurits van Beusekom on 20/06/2020.
66
//
77

8-
#import "GeolocationHandler.h"
9-
#import "GeolocationHandler_Test.h"
10-
#import "../Constants/ErrorCodes.h"
8+
#import "../include/geolocator_apple/Handlers/GeolocationHandler.h"
9+
#import "../include/geolocator_apple/Handlers/GeolocationHandler_Test.h"
10+
#import "../include/geolocator_apple/Constants/ErrorCodes.h"
1111

1212
double const kMaxLocationLifeTimeInSeconds = 5.0;
1313

geolocator_apple/ios/Classes/Handlers/LocationAccuracyHandler.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/LocationAccuracyHandler.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#import <Foundation/Foundation.h>
99
#import <CoreLocation/CoreLocation.h>
10-
#import "LocationAccuracyHandler.h"
11-
#import "ErrorCodes.h"
10+
#import "../include/geolocator_apple/Handlers/LocationAccuracyHandler.h"
11+
#import "../include/geolocator_apple/Constants/ErrorCodes.h"
1212

1313
@interface LocationAccuracyHandler()
1414
@property (strong, nonatomic) CLLocationManager *locationManager;

geolocator_apple/ios/Classes/Handlers/LocationServiceStreamHandler.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/LocationServiceStreamHandler.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#import <Foundation/Foundation.h>
99
#import <CoreLocation/CoreLocation.h>
10-
#import "LocationServiceStreamHandler.h"
11-
#import "../Utils/ServiceStatus.h"
10+
#import "../include/geolocator_apple/Handlers/LocationServiceStreamHandler.h"
11+
#import "../include/geolocator_apple/Utils/ServiceStatus.h"
1212

1313
@interface LocationServiceStreamHandler()
1414
@property (strong, nonatomic) CLLocationManager *locationManager;

geolocator_apple/ios/Classes/Handlers/PermissionHandler.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/PermissionHandler.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
// Created by Maurits van Beusekom on 26/06/2020.
66
//
77

8-
#import "PermissionHandler.h"
9-
#import "../Constants/ErrorCodes.h"
10-
#import "../Utils/PermissionUtils.h"
8+
#import "../include/geolocator_apple/Handlers/PermissionHandler.h"
9+
#import "../include/geolocator_apple/Constants/ErrorCodes.h"
10+
#import "../include/geolocator_apple/Utils/PermissionUtils.h"
1111

1212
@interface PermissionHandler() <CLLocationManagerDelegate>
1313

geolocator_apple/ios/Classes/Handlers/PositionStreamHandler.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Handlers/PositionStreamHandler.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
// Created by Maurits van Beusekom on 04/06/2021.
66
//
77

8-
#import "PermissionHandler.h"
9-
#import "PositionStreamHandler.h"
10-
#import "../Constants/ErrorCodes.h"
11-
#import "../Utils/ActivityTypeMapper.h"
12-
#import "../Utils/LocationAccuracyMapper.h"
13-
#import "../Utils/LocationDistanceMapper.h"
14-
#import "../Utils/LocationMapper.h"
8+
#import "../include/geolocator_apple/Handlers/PermissionHandler.h"
9+
#import "../include/geolocator_apple/Handlers/PositionStreamHandler.h"
10+
#import "../include/geolocator_apple/Constants/ErrorCodes.h"
11+
#import "../include/geolocator_apple/Utils/ActivityTypeMapper.h"
12+
#import "../include/geolocator_apple/Utils/LocationAccuracyMapper.h"
13+
#import "../include/geolocator_apple/Utils/LocationDistanceMapper.h"
14+
#import "../include/geolocator_apple/Utils/LocationMapper.h"
1515

1616
@interface PositionStreamHandler()
1717
@property (strong, nonatomic, nonnull) GeolocationHandler *geolocationHandler;

geolocator_apple/ios/Classes/Utils/ActivityTypeMapper.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Utils/ActivityTypeMapper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#import <Foundation/Foundation.h>
99

10-
#import "ActivityTypeMapper.h"
10+
#import "../include/geolocator_apple/Utils/ActivityTypeMapper.h"
1111

1212
@implementation ActivityTypeMapper
1313

geolocator_apple/ios/Classes/Utils/AuthorizationStatusMapper.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Utils/AuthorizationStatusMapper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Maurits van Beusekom on 15/06/2020.
66
//
77

8-
#import "AuthorizationStatusMapper.h"
8+
#import "../include/geolocator_apple/Utils/AuthorizationStatusMapper.h"
99

1010
@implementation AuthorizationStatusMapper
1111
+ (NSNumber *) toDartIndex: (CLAuthorizationStatus) authorizationStatus {

geolocator_apple/ios/Classes/Utils/LocationAccuracyMapper.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Utils/LocationAccuracyMapper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Maurits van Beusekom on 06/07/2020.
66
//
77

8-
#import "LocationAccuracyMapper.h"
8+
#import "../include/geolocator_apple/Utils/LocationAccuracyMapper.h"
99

1010
@implementation LocationAccuracyMapper
1111

geolocator_apple/ios/Classes/Utils/LocationDistanceMapper.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Utils/LocationDistanceMapper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Maurits van Beusekom on 06/07/2020.
66
//
77

8-
#import "LocationDistanceMapper.h"
8+
#import "../include/geolocator_apple/Utils/LocationDistanceMapper.h"
99

1010
@implementation LocationDistanceMapper
1111

geolocator_apple/ios/Classes/Utils/LocationMapper.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Utils/LocationMapper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Maurits van Beusekom on 20/06/2020.
66
//
77

8-
#import "LocationMapper.h"
8+
#import "../include/geolocator_apple/Utils/LocationMapper.h"
99

1010
@implementation LocationMapper
1111
+ (NSDictionary *) toDictionary:(CLLocation *)location {

geolocator_apple/ios/Classes/Utils/PermissionUtils.m renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/Utils/PermissionUtils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Created by Maurits van Beusekom on 27/08/2021.
66
//
77

8-
#import "PermissionUtils.h"
8+
#import "../include/geolocator_apple/Utils/PermissionUtils.h"
99

1010
@implementation PermissionUtils
1111
+ (BOOL) isStatusGranted:(CLAuthorizationStatus)authorizationStatus {

geolocator_apple/ios/Classes/Constants/ErrorCodes.h renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/Constants/ErrorCodes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// Created by Maurits van Beusekom on 24/06/2020.
66
//
77

8+
#import <Foundation/Foundation.h>
9+
810
FOUNDATION_EXPORT NSString * const GeolocatorErrorLocationUpdateFailure;
911
FOUNDATION_EXPORT NSString * const GeolocatorErrorLocationServicesDisabled;
1012
FOUNDATION_EXPORT NSString * const GeolocatorErrorLocationSubscriptionActive;

geolocator_apple/ios/Classes/GeolocatorPlugin_Test.h renamed to geolocator_apple/darwin/geolocator_apple/Sources/geolocator_apple/include/geolocator_apple/GeolocatorPlugin_Test.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
// This header is available in the Test module. Import via "@import geolocator_apple.Test;"
22

3+
#if __has_include(<geolocator_apple/GeolocationHandler.h>)
34
#import <geolocator_apple/GeolocationHandler.h>
45
#import <geolocator_apple/LocationAccuracyHandler.h>
56
#import <geolocator_apple/PermissionHandler.h>
7+
#else
8+
#import "Handlers/GeolocationHandler.h"
9+
#import "Handlers/LocationAccuracyHandler.h"
10+
#import "Handlers/PermissionHandler.h"
11+
#endif
612

713
/// Methods exposed for unit testing.
814
@interface GeolocatorPlugin(Test)

geolocator_apple/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
1111
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12+
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */ = {isa = PBXBuildFile; productRef = 78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */; };
1213
86CF01536E48F5FD7EA4BF3A /* libPods-RunnerTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2A4FBB87ACA23BE7AAB26EAD /* libPods-RunnerTests.a */; };
1314
94DC9D5BB92DE35994AB163F /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 74FF83166DF8B30D7F87CE53 /* libPods-Runner.a */; };
1415
978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
@@ -76,6 +77,7 @@
7677
isa = PBXFrameworksBuildPhase;
7778
buildActionMask = 2147483647;
7879
files = (
80+
78A318202AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage in Frameworks */,
7981
94DC9D5BB92DE35994AB163F /* libPods-Runner.a in Frameworks */,
8082
);
8183
runOnlyForDeploymentPostprocessing = 0;
@@ -192,13 +194,15 @@
192194
97C146EC1CF9000F007C117D /* Resources */,
193195
9705A1C41CF9048500538489 /* Embed Frameworks */,
194196
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
195-
591FD69E94FC610DB997784E /* [CP] Copy Pods Resources */,
196197
);
197198
buildRules = (
198199
);
199200
dependencies = (
200201
);
201202
name = Runner;
203+
packageProductDependencies = (
204+
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */,
205+
);
202206
productName = Runner;
203207
productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
204208
productType = "com.apple.product-type.application";
@@ -249,6 +253,9 @@
249253
Base,
250254
);
251255
mainGroup = 97C146E51CF9000F007C117D;
256+
packageReferences = (
257+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */,
258+
);
252259
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
253260
projectDirPath = "";
254261
projectRoot = "";
@@ -297,23 +304,6 @@
297304
shellPath = /bin/sh;
298305
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
299306
};
300-
591FD69E94FC610DB997784E /* [CP] Copy Pods Resources */ = {
301-
isa = PBXShellScriptBuildPhase;
302-
buildActionMask = 2147483647;
303-
files = (
304-
);
305-
inputFileListPaths = (
306-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
307-
);
308-
name = "[CP] Copy Pods Resources";
309-
outputFileListPaths = (
310-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
311-
);
312-
runOnlyForDeploymentPostprocessing = 0;
313-
shellPath = /bin/sh;
314-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
315-
showEnvVarsInLog = 0;
316-
};
317307
6E879EFB06735EEE96AC22A9 /* [CP] Check Pods Manifest.lock */ = {
318308
isa = PBXShellScriptBuildPhase;
319309
buildActionMask = 2147483647;
@@ -772,6 +762,20 @@
772762
defaultConfigurationName = Release;
773763
};
774764
/* End XCConfigurationList section */
765+
766+
/* Begin XCLocalSwiftPackageReference section */
767+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = {
768+
isa = XCLocalSwiftPackageReference;
769+
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
770+
};
771+
/* End XCLocalSwiftPackageReference section */
772+
773+
/* Begin XCSwiftPackageProductDependency section */
774+
78A3181F2AECB46A00862997 /* FlutterGeneratedPluginSwiftPackage */ = {
775+
isa = XCSwiftPackageProductDependency;
776+
productName = FlutterGeneratedPluginSwiftPackage;
777+
};
778+
/* End XCSwiftPackageProductDependency section */
775779
};
776780
rootObject = 97C146E61CF9000F007C117D /* Project object */;
777781
}

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

Lines changed: 19 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"
@@ -58,6 +76,7 @@
5876
ignoresPersistentStateOnLaunch = "NO"
5977
debugDocumentVersioning = "YES"
6078
debugServiceExtension = "internal"
79+
enableGPUValidationMode = "1"
6180
allowLocationSimulation = "YES">
6281
<BuildableProductRunnable
6382
runnableDebuggingMode = "0">

0 commit comments

Comments
 (0)