Skip to content

Commit 8d1ecf0

Browse files
committed
(Example iOS): Setup iOS project
This also adds the necessary entitlements for push notification support Signed-off-by: Victor Omondi <victor@slick.co.ke>
1 parent 48733ff commit 8d1ecf0

File tree

8 files changed

+264
-3
lines changed

8 files changed

+264
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
12
#include "Generated.xcconfig"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
12
#include "Generated.xcconfig"
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Uncomment this line to define a global platform for your project
2+
platform :ios, '11.0'
3+
4+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6+
7+
project 'Runner', {
8+
'Debug' => :debug,
9+
'Profile' => :release,
10+
'Release' => :release,
11+
}
12+
13+
def flutter_root
14+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15+
unless File.exist?(generated_xcode_build_settings_path)
16+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17+
end
18+
19+
File.foreach(generated_xcode_build_settings_path) do |line|
20+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
21+
return matches[1].strip if matches
22+
end
23+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24+
end
25+
26+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27+
28+
flutter_ios_podfile_setup
29+
30+
target 'Runner' do
31+
use_frameworks!
32+
use_modular_headers!
33+
34+
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35+
end
36+
37+
post_install do |installer|
38+
installer.pods_project.targets.each do |target|
39+
flutter_additional_ios_build_settings(target)
40+
end
41+
end
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
PODS:
2+
- Firebase/CoreOnly (8.15.0):
3+
- FirebaseCore (= 8.15.0)
4+
- Firebase/Messaging (8.15.0):
5+
- Firebase/CoreOnly
6+
- FirebaseMessaging (~> 8.15.0)
7+
- firebase_core (1.16.0):
8+
- Firebase/CoreOnly (= 8.15.0)
9+
- Flutter
10+
- firebase_messaging (11.3.0):
11+
- Firebase/Messaging (= 8.15.0)
12+
- firebase_core
13+
- Flutter
14+
- FirebaseCore (8.15.0):
15+
- FirebaseCoreDiagnostics (~> 8.0)
16+
- GoogleUtilities/Environment (~> 7.7)
17+
- GoogleUtilities/Logger (~> 7.7)
18+
- FirebaseCoreDiagnostics (8.15.0):
19+
- GoogleDataTransport (~> 9.1)
20+
- GoogleUtilities/Environment (~> 7.7)
21+
- GoogleUtilities/Logger (~> 7.7)
22+
- nanopb (~> 2.30908.0)
23+
- FirebaseInstallations (8.15.0):
24+
- FirebaseCore (~> 8.0)
25+
- GoogleUtilities/Environment (~> 7.7)
26+
- GoogleUtilities/UserDefaults (~> 7.7)
27+
- PromisesObjC (< 3.0, >= 1.2)
28+
- FirebaseMessaging (8.15.0):
29+
- FirebaseCore (~> 8.0)
30+
- FirebaseInstallations (~> 8.0)
31+
- GoogleDataTransport (~> 9.1)
32+
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
33+
- GoogleUtilities/Environment (~> 7.7)
34+
- GoogleUtilities/Reachability (~> 7.7)
35+
- GoogleUtilities/UserDefaults (~> 7.7)
36+
- nanopb (~> 2.30908.0)
37+
- Flutter (1.0.0)
38+
- flutter_apns_only (0.0.1):
39+
- Flutter
40+
- flutter_local_notifications (0.0.1):
41+
- Flutter
42+
- GoogleDataTransport (9.1.4):
43+
- GoogleUtilities/Environment (~> 7.7)
44+
- nanopb (< 2.30910.0, >= 2.30908.0)
45+
- PromisesObjC (< 3.0, >= 1.2)
46+
- GoogleUtilities/AppDelegateSwizzler (7.7.0):
47+
- GoogleUtilities/Environment
48+
- GoogleUtilities/Logger
49+
- GoogleUtilities/Network
50+
- GoogleUtilities/Environment (7.7.0):
51+
- PromisesObjC (< 3.0, >= 1.2)
52+
- GoogleUtilities/Logger (7.7.0):
53+
- GoogleUtilities/Environment
54+
- GoogleUtilities/Network (7.7.0):
55+
- GoogleUtilities/Logger
56+
- "GoogleUtilities/NSData+zlib"
57+
- GoogleUtilities/Reachability
58+
- "GoogleUtilities/NSData+zlib (7.7.0)"
59+
- GoogleUtilities/Reachability (7.7.0):
60+
- GoogleUtilities/Logger
61+
- GoogleUtilities/UserDefaults (7.7.0):
62+
- GoogleUtilities/Logger
63+
- nanopb (2.30908.0):
64+
- nanopb/decode (= 2.30908.0)
65+
- nanopb/encode (= 2.30908.0)
66+
- nanopb/decode (2.30908.0)
67+
- nanopb/encode (2.30908.0)
68+
- PromisesObjC (2.1.0)
69+
- webview_flutter_wkwebview (0.0.1):
70+
- Flutter
71+
72+
DEPENDENCIES:
73+
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
74+
- firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`)
75+
- Flutter (from `Flutter`)
76+
- flutter_apns_only (from `.symlinks/plugins/flutter_apns_only/ios`)
77+
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
78+
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
79+
80+
SPEC REPOS:
81+
trunk:
82+
- Firebase
83+
- FirebaseCore
84+
- FirebaseCoreDiagnostics
85+
- FirebaseInstallations
86+
- FirebaseMessaging
87+
- GoogleDataTransport
88+
- GoogleUtilities
89+
- nanopb
90+
- PromisesObjC
91+
92+
EXTERNAL SOURCES:
93+
firebase_core:
94+
:path: ".symlinks/plugins/firebase_core/ios"
95+
firebase_messaging:
96+
:path: ".symlinks/plugins/firebase_messaging/ios"
97+
Flutter:
98+
:path: Flutter
99+
flutter_apns_only:
100+
:path: ".symlinks/plugins/flutter_apns_only/ios"
101+
flutter_local_notifications:
102+
:path: ".symlinks/plugins/flutter_local_notifications/ios"
103+
webview_flutter_wkwebview:
104+
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"
105+
106+
SPEC CHECKSUMS:
107+
Firebase: 5f8193dff4b5b7c5d5ef72ae54bb76c08e2b841d
108+
firebase_core: 6ef152b7d6a361e24105e2cc56ab458f1f8367fe
109+
firebase_messaging: 09caf4347b3a73deb37ed31f284ca11cc6039541
110+
FirebaseCore: 5743c5785c074a794d35f2fff7ecc254a91e08b1
111+
FirebaseCoreDiagnostics: 92e07a649aeb66352b319d43bdd2ee3942af84cb
112+
FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd
113+
FirebaseMessaging: 5e5118a2383b3531e730d974680954c679ca0a13
114+
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
115+
flutter_apns_only: 3d91c0ca9dbef4439874858590909a19f8ed06a4
116+
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
117+
GoogleDataTransport: 5fffe35792f8b96ec8d6775f5eccd83c998d5a3b
118+
GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
119+
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
120+
PromisesObjC: 99b6f43f9e1044bd87a95a60beff28c2c44ddb72
121+
webview_flutter_wkwebview: b7e70ef1ddded7e69c796c7390ee74180182971f
122+
123+
PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d
124+
125+
COCOAPODS: 1.11.2

examples/push_notifications/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 79 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
1111
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
1212
74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13+
91E22C05D70B889FD9EE7644 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2476BDEC60B3EF7B90D5D44E /* Pods_Runner.framework */; };
1314
97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
1415
97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
1516
97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
@@ -31,30 +32,55 @@
3132
/* Begin PBXFileReference section */
3233
1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
3334
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
35+
1C496452283CC71B00902ECA /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
36+
2476BDEC60B3EF7B90D5D44E /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
3437
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
38+
5C1544F81B2A4CBA29DB5A02 /* 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>"; };
3539
74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = "<group>"; };
3640
74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
3741
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
42+
8B409B6D12C564E8CDB9EA48 /* 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>"; };
3843
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
3944
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
4045
97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
4146
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
4247
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4348
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4449
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
50+
C4CBC9746E6EE7515C340ECE /* 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>"; };
4551
/* End PBXFileReference section */
4652

4753
/* Begin PBXFrameworksBuildPhase section */
4854
97C146EB1CF9000F007C117D /* Frameworks */ = {
4955
isa = PBXFrameworksBuildPhase;
5056
buildActionMask = 2147483647;
5157
files = (
58+
91E22C05D70B889FD9EE7644 /* Pods_Runner.framework in Frameworks */,
5259
);
5360
runOnlyForDeploymentPostprocessing = 0;
5461
};
5562
/* End PBXFrameworksBuildPhase section */
5663

5764
/* Begin PBXGroup section */
65+
111EF5DFAF02FDEC62CD91A8 /* Pods */ = {
66+
isa = PBXGroup;
67+
children = (
68+
8B409B6D12C564E8CDB9EA48 /* Pods-Runner.debug.xcconfig */,
69+
C4CBC9746E6EE7515C340ECE /* Pods-Runner.release.xcconfig */,
70+
5C1544F81B2A4CBA29DB5A02 /* Pods-Runner.profile.xcconfig */,
71+
);
72+
name = Pods;
73+
path = Pods;
74+
sourceTree = "<group>";
75+
};
76+
6CECA1664D45FBD23B033E04 /* Frameworks */ = {
77+
isa = PBXGroup;
78+
children = (
79+
2476BDEC60B3EF7B90D5D44E /* Pods_Runner.framework */,
80+
);
81+
name = Frameworks;
82+
sourceTree = "<group>";
83+
};
5884
9740EEB11CF90186004384FC /* Flutter */ = {
5985
isa = PBXGroup;
6086
children = (
@@ -72,6 +98,8 @@
7298
9740EEB11CF90186004384FC /* Flutter */,
7399
97C146F01CF9000F007C117D /* Runner */,
74100
97C146EF1CF9000F007C117D /* Products */,
101+
111EF5DFAF02FDEC62CD91A8 /* Pods */,
102+
6CECA1664D45FBD23B033E04 /* Frameworks */,
75103
);
76104
sourceTree = "<group>";
77105
};
@@ -86,6 +114,7 @@
86114
97C146F01CF9000F007C117D /* Runner */ = {
87115
isa = PBXGroup;
88116
children = (
117+
1C496452283CC71B00902ECA /* Runner.entitlements */,
89118
97C146FA1CF9000F007C117D /* Main.storyboard */,
90119
97C146FD1CF9000F007C117D /* Assets.xcassets */,
91120
97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
@@ -105,12 +134,14 @@
105134
isa = PBXNativeTarget;
106135
buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
107136
buildPhases = (
137+
064DA1701579483B4B3B9C1A /* [CP] Check Pods Manifest.lock */,
108138
9740EEB61CF901F6004384FC /* Run Script */,
109139
97C146EA1CF9000F007C117D /* Sources */,
110140
97C146EB1CF9000F007C117D /* Frameworks */,
111141
97C146EC1CF9000F007C117D /* Resources */,
112142
9705A1C41CF9048500538489 /* Embed Frameworks */,
113143
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
144+
E2B5F7E829765534D164A660 /* [CP] Embed Pods Frameworks */,
114145
);
115146
buildRules = (
116147
);
@@ -169,6 +200,28 @@
169200
/* End PBXResourcesBuildPhase section */
170201

171202
/* Begin PBXShellScriptBuildPhase section */
203+
064DA1701579483B4B3B9C1A /* [CP] Check Pods Manifest.lock */ = {
204+
isa = PBXShellScriptBuildPhase;
205+
buildActionMask = 2147483647;
206+
files = (
207+
);
208+
inputFileListPaths = (
209+
);
210+
inputPaths = (
211+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
212+
"${PODS_ROOT}/Manifest.lock",
213+
);
214+
name = "[CP] Check Pods Manifest.lock";
215+
outputFileListPaths = (
216+
);
217+
outputPaths = (
218+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
219+
);
220+
runOnlyForDeploymentPostprocessing = 0;
221+
shellPath = /bin/sh;
222+
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";
223+
showEnvVarsInLog = 0;
224+
};
172225
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
173226
isa = PBXShellScriptBuildPhase;
174227
buildActionMask = 2147483647;
@@ -197,6 +250,23 @@
197250
shellPath = /bin/sh;
198251
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
199252
};
253+
E2B5F7E829765534D164A660 /* [CP] Embed Pods Frameworks */ = {
254+
isa = PBXShellScriptBuildPhase;
255+
buildActionMask = 2147483647;
256+
files = (
257+
);
258+
inputFileListPaths = (
259+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
260+
);
261+
name = "[CP] Embed Pods Frameworks";
262+
outputFileListPaths = (
263+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
264+
);
265+
runOnlyForDeploymentPostprocessing = 0;
266+
shellPath = /bin/sh;
267+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
268+
showEnvVarsInLog = 0;
269+
};
200270
/* End PBXShellScriptBuildPhase section */
201271

202272
/* Begin PBXSourcesBuildPhase section */
@@ -287,14 +357,16 @@
287357
buildSettings = {
288358
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289359
CLANG_ENABLE_MODULES = YES;
360+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
290361
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
362+
DEVELOPMENT_TEAM = GD339DZJKB;
291363
ENABLE_BITCODE = NO;
292364
INFOPLIST_FILE = Runner/Info.plist;
293365
LD_RUNPATH_SEARCH_PATHS = (
294366
"$(inherited)",
295367
"@executable_path/Frameworks",
296368
);
297-
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutter_push_example;
369+
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterpushexample;
298370
PRODUCT_NAME = "$(TARGET_NAME)";
299371
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
300372
SWIFT_VERSION = 5.0;
@@ -415,14 +487,16 @@
415487
buildSettings = {
416488
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
417489
CLANG_ENABLE_MODULES = YES;
490+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
418491
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
492+
DEVELOPMENT_TEAM = GD339DZJKB;
419493
ENABLE_BITCODE = NO;
420494
INFOPLIST_FILE = Runner/Info.plist;
421495
LD_RUNPATH_SEARCH_PATHS = (
422496
"$(inherited)",
423497
"@executable_path/Frameworks",
424498
);
425-
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutter_push_example;
499+
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterpushexample;
426500
PRODUCT_NAME = "$(TARGET_NAME)";
427501
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
428502
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -437,14 +511,16 @@
437511
buildSettings = {
438512
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
439513
CLANG_ENABLE_MODULES = YES;
514+
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
440515
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
516+
DEVELOPMENT_TEAM = GD339DZJKB;
441517
ENABLE_BITCODE = NO;
442518
INFOPLIST_FILE = Runner/Info.plist;
443519
LD_RUNPATH_SEARCH_PATHS = (
444520
"$(inherited)",
445521
"@executable_path/Frameworks",
446522
);
447-
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutter_push_example;
523+
PRODUCT_BUNDLE_IDENTIFIER = com.talkjs.flutterpushexample;
448524
PRODUCT_NAME = "$(TARGET_NAME)";
449525
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
450526
SWIFT_VERSION = 5.0;

examples/push_notifications/ios/Runner.xcworkspace/contents.xcworkspacedata

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

0 commit comments

Comments
 (0)