Skip to content

Commit c08f35a

Browse files
committed
chore: build issues on ios
1 parent 28b984d commit c08f35a

4 files changed

Lines changed: 104 additions & 40 deletions

File tree

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 24 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@
183183
buildPhases = (
184184
FD70A0B7B3CA67315C7FFE8D /* [CP] Check Pods Manifest.lock */,
185185
9740EEB61CF901F6004384FC /* Run Script */,
186-
34723C0D267F6D5D00B9E226 /* ShellScript */,
187186
97C146EA1CF9000F007C117D /* Sources */,
188187
97C146EB1CF9000F007C117D /* Frameworks */,
189188
97C146EC1CF9000F007C117D /* Resources */,
@@ -226,13 +225,13 @@
226225
97C146E61CF9000F007C117D /* Project object */ = {
227226
isa = PBXProject;
228227
attributes = {
228+
BuildIndependentTargetsInParallel = YES;
229229
LastSwiftUpdateCheck = 1250;
230-
LastUpgradeCheck = 1510;
230+
LastUpgradeCheck = 1640;
231231
ORGANIZATIONNAME = "The Chromium Authors";
232232
TargetAttributes = {
233233
97C146ED1CF9000F007C117D = {
234234
CreatedOnToolsVersion = 7.3.1;
235-
DevelopmentTeam = 6KRGLYTFWP;
236235
LastSwiftMigration = 1110;
237236
};
238237
9EA9C43226E8F58700E77F3E = {
@@ -284,23 +283,6 @@
284283
/* End PBXResourcesBuildPhase section */
285284

286285
/* Begin PBXShellScriptBuildPhase section */
287-
34723C0D267F6D5D00B9E226 /* ShellScript */ = {
288-
isa = PBXShellScriptBuildPhase;
289-
buildActionMask = 2147483647;
290-
files = (
291-
);
292-
inputFileListPaths = (
293-
);
294-
inputPaths = (
295-
);
296-
outputFileListPaths = (
297-
);
298-
outputPaths = (
299-
);
300-
runOnlyForDeploymentPostprocessing = 0;
301-
shellPath = /bin/sh;
302-
shellScript = "# SwiftLint script disabled to prevent build failures\n# Type a script or drag a script file from your workspace to insert its path.\n# if which swiftlint >/dev/null; then\n# swiftlint\n# else\n# echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n# fi\necho \"SwiftLint step skipped\"\n";
303-
};
304286
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
305287
isa = PBXShellScriptBuildPhase;
306288
alwaysOutOfDate = 1;
@@ -502,6 +484,7 @@
502484
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
503485
ENABLE_NS_ASSERTIONS = NO;
504486
ENABLE_STRICT_OBJC_MSGSEND = YES;
487+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
505488
GCC_C_LANGUAGE_STANDARD = gnu99;
506489
GCC_NO_COMMON_BLOCKS = YES;
507490
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -524,14 +507,16 @@
524507
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
525508
buildSettings = {
526509
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
510+
CODE_SIGN_IDENTITY = "Apple Development";
511+
CODE_SIGN_STYLE = Automatic;
527512
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
528-
DEVELOPMENT_TEAM = 79BMQESM94;
513+
DEVELOPMENT_TEAM = 7X4LHQK32Q;
529514
ENABLE_BITCODE = NO;
530515
FRAMEWORK_SEARCH_PATHS = (
531516
"$(inherited)",
532517
"$(PROJECT_DIR)/Flutter",
533518
);
534-
INFOPLIST_FILE = Runner/Info.plist;
519+
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
535520
LD_RUNPATH_SEARCH_PATHS = (
536521
"$(inherited)",
537522
"@executable_path/Frameworks",
@@ -540,8 +525,9 @@
540525
"$(inherited)",
541526
"$(PROJECT_DIR)/Flutter",
542527
);
543-
PRODUCT_BUNDLE_IDENTIFIER = dev.fluttercommunity.workmanagerExample;
528+
PRODUCT_BUNDLE_IDENTIFIER = dev.fluttercommunity.workmanagerExample2;
544529
PRODUCT_NAME = "$(TARGET_NAME)";
530+
PROVISIONING_PROFILE_SPECIFIER = "";
545531
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
546532
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
547533
SWIFT_VERSION = 5.0;
@@ -583,6 +569,7 @@
583569
DEBUG_INFORMATION_FORMAT = dwarf;
584570
ENABLE_STRICT_OBJC_MSGSEND = YES;
585571
ENABLE_TESTABILITY = YES;
572+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
586573
GCC_C_LANGUAGE_STANDARD = gnu99;
587574
GCC_DYNAMIC_NO_PIC = NO;
588575
GCC_NO_COMMON_BLOCKS = YES;
@@ -640,6 +627,7 @@
640627
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
641628
ENABLE_NS_ASSERTIONS = NO;
642629
ENABLE_STRICT_OBJC_MSGSEND = YES;
630+
ENABLE_USER_SCRIPT_SANDBOXING = YES;
643631
GCC_C_LANGUAGE_STANDARD = gnu99;
644632
GCC_NO_COMMON_BLOCKS = YES;
645633
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -651,6 +639,7 @@
651639
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
652640
MTL_ENABLE_DEBUG_INFO = NO;
653641
SDKROOT = iphoneos;
642+
SWIFT_COMPILATION_MODE = wholemodule;
654643
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
655644
SWIFT_VERSION = 5.0;
656645
TARGETED_DEVICE_FAMILY = "1,2";
@@ -664,14 +653,16 @@
664653
buildSettings = {
665654
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
666655
CLANG_ENABLE_MODULES = YES;
656+
CODE_SIGN_IDENTITY = "Apple Development";
657+
CODE_SIGN_STYLE = Automatic;
667658
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
668-
DEVELOPMENT_TEAM = 6KRGLYTFWP;
659+
DEVELOPMENT_TEAM = 7X4LHQK32Q;
669660
ENABLE_BITCODE = NO;
670661
FRAMEWORK_SEARCH_PATHS = (
671662
"$(inherited)",
672663
"$(PROJECT_DIR)/Flutter",
673664
);
674-
INFOPLIST_FILE = Runner/Info.plist;
665+
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
675666
LD_RUNPATH_SEARCH_PATHS = (
676667
"$(inherited)",
677668
"@executable_path/Frameworks",
@@ -680,8 +671,9 @@
680671
"$(inherited)",
681672
"$(PROJECT_DIR)/Flutter",
682673
);
683-
PRODUCT_BUNDLE_IDENTIFIER = dev.fluttercommunity.workmanagerExample;
674+
PRODUCT_BUNDLE_IDENTIFIER = dev.fluttercommunity.workmanagerExample2;
684675
PRODUCT_NAME = "$(TARGET_NAME)";
676+
PROVISIONING_PROFILE_SPECIFIER = "";
685677
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
686678
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
687679
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
@@ -696,14 +688,16 @@
696688
buildSettings = {
697689
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
698690
CLANG_ENABLE_MODULES = YES;
691+
CODE_SIGN_IDENTITY = "Apple Development";
692+
CODE_SIGN_STYLE = Automatic;
699693
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
700-
DEVELOPMENT_TEAM = 79BMQESM94;
694+
DEVELOPMENT_TEAM = 7X4LHQK32Q;
701695
ENABLE_BITCODE = NO;
702696
FRAMEWORK_SEARCH_PATHS = (
703697
"$(inherited)",
704698
"$(PROJECT_DIR)/Flutter",
705699
);
706-
INFOPLIST_FILE = Runner/Info.plist;
700+
INFOPLIST_FILE = "Runner/Info-$(CONFIGURATION).plist";
707701
LD_RUNPATH_SEARCH_PATHS = (
708702
"$(inherited)",
709703
"@executable_path/Frameworks",
@@ -712,8 +706,9 @@
712706
"$(inherited)",
713707
"$(PROJECT_DIR)/Flutter",
714708
);
715-
PRODUCT_BUNDLE_IDENTIFIER = dev.fluttercommunity.workmanagerExample;
709+
PRODUCT_BUNDLE_IDENTIFIER = dev.fluttercommunity.workmanagerExample2;
716710
PRODUCT_NAME = "$(TARGET_NAME)";
711+
PROVISIONING_PROFILE_SPECIFIER = "";
717712
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
718713
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
719714
SWIFT_VERSION = 5.0;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1510"
3+
LastUpgradeVersion = "1640"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BGTaskSchedulerPermittedIdentifiers</key>
6+
<array>
7+
<string>dev.fluttercommunity.workmanagerExample.taskId</string>
8+
<string>dev.fluttercommunity.workmanagerExample.simpleTask</string>
9+
<string>dev.fluttercommunity.workmanagerExample.rescheduledTask</string>
10+
<string>dev.fluttercommunity.workmanagerExample.failedTask</string>
11+
<string>dev.fluttercommunity.workmanagerExample.simpleDelayedTask</string>
12+
<string>dev.fluttercommunity.workmanagerExample.simplePeriodicTask</string>
13+
<string>dev.fluttercommunity.workmanagerExample.simplePeriodic1HourTask</string>
14+
<string>dev.fluttercommunity.workmanagerExample.iOSBackgroundAppRefresh</string>
15+
<string>dev.fluttercommunity.workmanagerExample.iOSBackgroundProcessingTask</string>
16+
<string>dev.fluttercommunity.integrationTest.dataTransferTask</string>
17+
<string>dev.fluttercommunity.integrationTest.retryTask</string>
18+
</array>
19+
<key>CADisableMinimumFrameDurationOnPhone</key>
20+
<true/>
21+
<key>CFBundleDevelopmentRegion</key>
22+
<string>$(DEVELOPMENT_LANGUAGE)</string>
23+
<key>CFBundleExecutable</key>
24+
<string>$(EXECUTABLE_NAME)</string>
25+
<key>CFBundleIdentifier</key>
26+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
27+
<key>CFBundleInfoDictionaryVersion</key>
28+
<string>6.0</string>
29+
<key>CFBundleName</key>
30+
<string>workmanager_example</string>
31+
<key>CFBundlePackageType</key>
32+
<string>APPL</string>
33+
<key>CFBundleShortVersionString</key>
34+
<string>1.0</string>
35+
<key>CFBundleSignature</key>
36+
<string>????</string>
37+
<key>CFBundleVersion</key>
38+
<string>1.0</string>
39+
<key>LSRequiresIPhoneOS</key>
40+
<true/>
41+
<key>NSBonjourServices</key>
42+
<array>
43+
<string>_dartVmService._tcp</string>
44+
<string>_dartobservatory._tcp</string>
45+
</array>
46+
<key>NSLocalNetworkUsageDescription</key>
47+
<string>This app uses local network access during development for Flutter debugging features such as hot reload and DevTools. This permission is only requested in debug builds and is not present in App Store releases.</string>
48+
<key>UIApplicationSupportsIndirectInputEvents</key>
49+
<true/>
50+
<key>UIBackgroundModes</key>
51+
<array>
52+
<string>fetch</string>
53+
<string>processing</string>
54+
</array>
55+
<key>UILaunchStoryboardName</key>
56+
<string>LaunchScreen</string>
57+
<key>UIMainStoryboardFile</key>
58+
<string>Main</string>
59+
<key>UISupportedInterfaceOrientations</key>
60+
<array>
61+
<string>UIInterfaceOrientationPortrait</string>
62+
<string>UIInterfaceOrientationLandscapeLeft</string>
63+
<string>UIInterfaceOrientationLandscapeRight</string>
64+
</array>
65+
<key>UISupportedInterfaceOrientations~ipad</key>
66+
<array>
67+
<string>UIInterfaceOrientationPortrait</string>
68+
<string>UIInterfaceOrientationPortraitUpsideDown</string>
69+
<string>UIInterfaceOrientationLandscapeLeft</string>
70+
<string>UIInterfaceOrientationLandscapeRight</string>
71+
</array>
72+
<key>UIViewControllerBasedStatusBarAppearance</key>
73+
<false/>
74+
</dict>
75+
</plist>
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<string>dev.fluttercommunity.integrationTest.dataTransferTask</string>
1717
<string>dev.fluttercommunity.integrationTest.retryTask</string>
1818
</array>
19+
<key>CADisableMinimumFrameDurationOnPhone</key>
20+
<true/>
1921
<key>CFBundleDevelopmentRegion</key>
2022
<string>$(DEVELOPMENT_LANGUAGE)</string>
2123
<key>CFBundleExecutable</key>
@@ -36,6 +38,8 @@
3638
<string>1.0</string>
3739
<key>LSRequiresIPhoneOS</key>
3840
<true/>
41+
<key>UIApplicationSupportsIndirectInputEvents</key>
42+
<true/>
3943
<key>UIBackgroundModes</key>
4044
<array>
4145
<string>fetch</string>
@@ -60,15 +64,5 @@
6064
</array>
6165
<key>UIViewControllerBasedStatusBarAppearance</key>
6266
<false/>
63-
<key>CADisableMinimumFrameDurationOnPhone</key>
64-
<true/>
65-
<key>UIApplicationSupportsIndirectInputEvents</key>
66-
<true/>
67-
<key>NSLocalNetworkUsageDescription</key>
68-
<string>This app needs local network access for debugging and communication.</string>
69-
<key>NSBonjourServices</key>
70-
<array>
71-
<string>_dartobservatory._tcp</string>
72-
</array>
7367
</dict>
7468
</plist>

0 commit comments

Comments
 (0)