Skip to content

Commit 8abbd81

Browse files
committed
fix example ios build
1 parent 49d113b commit 8abbd81

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pkgs/objective_c/example/flutter_app/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
"$(inherited)",
370370
"@executable_path/Frameworks",
371371
);
372-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterApp;
372+
PRODUCT_BUNDLE_IDENTIFIER = com.example.objCFlutterApp;
373373
PRODUCT_NAME = "$(TARGET_NAME)";
374374
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
375375
SWIFT_VERSION = 5.0;
@@ -549,7 +549,7 @@
549549
"$(inherited)",
550550
"@executable_path/Frameworks",
551551
);
552-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterApp;
552+
PRODUCT_BUNDLE_IDENTIFIER = com.example.objCFlutterApp;
553553
PRODUCT_NAME = "$(TARGET_NAME)";
554554
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
555555
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -572,7 +572,7 @@
572572
"$(inherited)",
573573
"@executable_path/Frameworks",
574574
);
575-
PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterApp;
575+
PRODUCT_BUNDLE_IDENTIFIER = com.example.objCFlutterApp;
576576
PRODUCT_NAME = "$(TARGET_NAME)";
577577
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
578578
SWIFT_VERSION = 5.0;

pkgs/objective_c/example/flutter_app/ios/Runner/Info.plist

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>CADisableMinimumFrameDurationOnPhone</key>
6+
<true/>
57
<key>CFBundleDevelopmentRegion</key>
68
<string>$(DEVELOPMENT_LANGUAGE)</string>
79
<key>CFBundleDisplayName</key>
@@ -24,6 +26,8 @@
2426
<string>$(FLUTTER_BUILD_NUMBER)</string>
2527
<key>LSRequiresIPhoneOS</key>
2628
<true/>
29+
<key>UIApplicationSupportsIndirectInputEvents</key>
30+
<true/>
2731
<key>UILaunchStoryboardName</key>
2832
<string>LaunchScreen</string>
2933
<key>UIMainStoryboardFile</key>
@@ -41,9 +45,5 @@
4145
<string>UIInterfaceOrientationLandscapeLeft</string>
4246
<string>UIInterfaceOrientationLandscapeRight</string>
4347
</array>
44-
<key>CADisableMinimumFrameDurationOnPhone</key>
45-
<true/>
46-
<key>UIApplicationSupportsIndirectInputEvents</key>
47-
<true/>
4848
</dict>
4949
</plist>

0 commit comments

Comments
 (0)