Skip to content

Commit 70912d1

Browse files
committed
Added correct 'aps-environment' entitlement
1 parent a6f8df5 commit 70912d1

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

Swift Push.xcodeproj/project.pbxproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
AA85DB161C2AB9B6005D032D /* Swift_Push.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = Swift_Push.xcdatamodel; sourceTree = "<group>"; };
3131
AAC65BF61C1743BD00AD4836 /* PushMessages+CoreDataProperties.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "PushMessages+CoreDataProperties.swift"; path = "Swift Push/PushMessages+CoreDataProperties.swift"; sourceTree = "<group>"; };
3232
AAC65BF71C1743BD00AD4836 /* PushMessages.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = PushMessages.swift; path = "Swift Push/PushMessages.swift"; sourceTree = "<group>"; };
33+
AAE925CF1D1479390040DEBB /* Swift Push.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Swift Push.entitlements"; sourceTree = "<group>"; };
3334
/* End PBXFileReference section */
3435

3536
/* Begin PBXFrameworksBuildPhase section */
@@ -66,6 +67,7 @@
6667
AA7D0F671C174338007F53F3 /* Swift Push */ = {
6768
isa = PBXGroup;
6869
children = (
70+
AAE925CF1D1479390040DEBB /* Swift Push.entitlements */,
6971
AA7D0F681C174338007F53F3 /* AppDelegate.swift */,
7072
AA7D0F6A1C174338007F53F3 /* ViewController.swift */,
7173
AA7D0F6C1C174338007F53F3 /* Main.storyboard */,
@@ -116,6 +118,9 @@
116118
com.apple.BackgroundModes = {
117119
enabled = 1;
118120
};
121+
com.apple.Push = {
122+
enabled = 1;
123+
};
119124
};
120125
};
121126
};
@@ -239,7 +244,7 @@
239244
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
240245
GCC_WARN_UNUSED_FUNCTION = YES;
241246
GCC_WARN_UNUSED_VARIABLE = YES;
242-
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
247+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
243248
MTL_ENABLE_DEBUG_INFO = YES;
244249
ONLY_ACTIVE_ARCH = YES;
245250
SDKROOT = iphoneos;
@@ -278,7 +283,7 @@
278283
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
279284
GCC_WARN_UNUSED_FUNCTION = YES;
280285
GCC_WARN_UNUSED_VARIABLE = YES;
281-
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
286+
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
282287
MTL_ENABLE_DEBUG_INFO = NO;
283288
SDKROOT = iphoneos;
284289
TARGETED_DEVICE_FAMILY = "1,2";
@@ -290,6 +295,7 @@
290295
isa = XCBuildConfiguration;
291296
buildSettings = {
292297
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
298+
CODE_SIGN_ENTITLEMENTS = "Swift Push/Swift Push.entitlements";
293299
INFOPLIST_FILE = "Swift Push/Info.plist";
294300
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
295301
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -303,6 +309,7 @@
303309
isa = XCBuildConfiguration;
304310
buildSettings = {
305311
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
312+
CODE_SIGN_ENTITLEMENTS = "Swift Push/Swift Push.entitlements";
306313
INFOPLIST_FILE = "Swift Push/Info.plist";
307314
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
308315
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";

Swift Push/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>436</string>
22+
<string>439</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>UIBackgroundModes</key>

Swift Push/Settings.bundle/Root.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<array>
77
<dict>
88
<key>DefaultValue</key>
9-
<integer>436</integer>
9+
<integer>439</integer>
1010
<key>Key</key>
1111
<string>maximumRecords</string>
1212
<key>MaximumValue</key>

Swift Push/Swift Push.entitlements

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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>aps-environment</key>
6+
<string>development</string>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)