Skip to content

Commit efedc97

Browse files
authored
Update Sample Apps for iOS 15 Minimum Deployment Version (#424)
- Set the minimum deployment version to 15 in the sample apps - Updated Readme
1 parent 83ae26e commit efedc97

File tree

5 files changed

+23
-36
lines changed

5 files changed

+23
-36
lines changed

Examples/Manual Push Notifications/Manual Push Notifications.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 56;
6+
objectVersion = 60;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -37,7 +37,7 @@
3737
192D19562A45B384004960FF /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
3838
192D19582A45B384004960FF /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
3939
192D19622A45B385004960FF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
40-
192D19682A45DEBB004960FF /* Intercom.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Intercom.xcframework; path = ../../Intercom.xcframework; sourceTree = "<group>"; };
40+
192D19682A45DEBB004960FF /* Intercom.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:RL5BZVWAZT:Intercom, Incorporated"; lastKnownFileType = wrapper.xcframework; name = Intercom.xcframework; path = ../../Intercom.xcframework; sourceTree = "<group>"; };
4141
192D196D2A45F93F004960FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
4242
192D196F2A45F93F004960FF /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
4343
192D19732A45FD4D004960FF /* Manual Push Notifications.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Manual Push Notifications.entitlements"; sourceTree = "<group>"; };
@@ -219,7 +219,7 @@
219219
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
220220
GCC_WARN_UNUSED_FUNCTION = YES;
221221
GCC_WARN_UNUSED_VARIABLE = YES;
222-
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
222+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
223223
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
224224
MTL_FAST_MATH = YES;
225225
ONLY_ACTIVE_ARCH = YES;
@@ -273,7 +273,7 @@
273273
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
274274
GCC_WARN_UNUSED_FUNCTION = YES;
275275
GCC_WARN_UNUSED_VARIABLE = YES;
276-
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
276+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
277277
MTL_ENABLE_DEBUG_INFO = NO;
278278
MTL_FAST_MATH = YES;
279279
SDKROOT = iphoneos;

Examples/Sample-ObjC/Sample-ObjC.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 60;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -30,7 +30,7 @@
3030
/* End PBXCopyFilesBuildPhase section */
3131

3232
/* Begin PBXFileReference section */
33-
197ACDC026736AE10024C38C /* Intercom.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Intercom.xcframework; path = ../../Intercom.xcframework; sourceTree = "<group>"; };
33+
197ACDC026736AE10024C38C /* Intercom.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:RL5BZVWAZT:Intercom, Incorporated"; lastKnownFileType = wrapper.xcframework; name = Intercom.xcframework; path = ../../Intercom.xcframework; sourceTree = "<group>"; };
3434
1A0F1E081B034B7100DA78D2 /* Sample-ObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Sample-ObjC.app"; sourceTree = BUILT_PRODUCTS_DIR; };
3535
ADEBAA9F1D3F6D2A0016C6EC /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = "Sample-ObjC/Info.plist"; sourceTree = SOURCE_ROOT; };
3636
ADEBAAA01D3F6D2A0016C6EC /* ITCAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ITCAppDelegate.h; path = "Sample-ObjC/ITCAppDelegate.h"; sourceTree = SOURCE_ROOT; };
@@ -247,7 +247,7 @@
247247
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
248248
GCC_WARN_UNUSED_FUNCTION = YES;
249249
GCC_WARN_UNUSED_VARIABLE = YES;
250-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
250+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
251251
MTL_ENABLE_DEBUG_INFO = YES;
252252
ONLY_ACTIVE_ARCH = YES;
253253
SDKROOT = iphoneos;
@@ -296,7 +296,7 @@
296296
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
297297
GCC_WARN_UNUSED_FUNCTION = YES;
298298
GCC_WARN_UNUSED_VARIABLE = YES;
299-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
299+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
300300
MTL_ENABLE_DEBUG_INFO = NO;
301301
SDKROOT = iphoneos;
302302
VALIDATE_PRODUCT = YES;
@@ -316,7 +316,7 @@
316316
"$(PROJECT_DIR)/../../",
317317
);
318318
INFOPLIST_FILE = "$(SRCROOT)/Sample-ObjC/Info.plist";
319-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
319+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
320320
LD_RUNPATH_SEARCH_PATHS = (
321321
"$(inherited)",
322322
"@executable_path/Frameworks",
@@ -342,7 +342,7 @@
342342
"$(PROJECT_DIR)/../../",
343343
);
344344
INFOPLIST_FILE = "$(SRCROOT)/Sample-ObjC/Info.plist";
345-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
345+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
346346
LD_RUNPATH_SEARCH_PATHS = (
347347
"$(inherited)",
348348
"@executable_path/Frameworks",

Examples/Sample-Swift-UISceneDelegate/Sample-Swift-UISceneDelegate.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -216,7 +216,7 @@
216216
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
217217
GCC_WARN_UNUSED_FUNCTION = YES;
218218
GCC_WARN_UNUSED_VARIABLE = YES;
219-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
219+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
220220
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
221221
MTL_FAST_MATH = YES;
222222
ONLY_ACTIVE_ARCH = YES;
@@ -271,7 +271,7 @@
271271
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
272272
GCC_WARN_UNUSED_FUNCTION = YES;
273273
GCC_WARN_UNUSED_VARIABLE = YES;
274-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
274+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
275275
MTL_ENABLE_DEBUG_INFO = NO;
276276
MTL_FAST_MATH = YES;
277277
SDKROOT = iphoneos;

Examples/Sample-SwiftUI/Sample-SwiftUI.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 52;
6+
objectVersion = 60;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -34,7 +34,7 @@
3434
/* End PBXCopyFilesBuildPhase section */
3535

3636
/* Begin PBXFileReference section */
37-
197ACDC426737B940024C38C /* Intercom.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Intercom.xcframework; path = ../../Intercom.xcframework; sourceTree = "<group>"; };
37+
197ACDC426737B940024C38C /* Intercom.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:RL5BZVWAZT:Intercom, Incorporated"; lastKnownFileType = wrapper.xcframework; name = Intercom.xcframework; path = ../../Intercom.xcframework; sourceTree = "<group>"; };
3838
4C26B5F32506838E00124338 /* Sample_SwiftUIApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sample_SwiftUIApp.swift; sourceTree = "<group>"; };
3939
4C26B5F42506838E00124338 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
4040
4C26B5F52506838F00124338 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = ../../iOS/Other/Assets.xcassets; sourceTree = "<group>"; };
@@ -265,7 +265,7 @@
265265
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
266266
GCC_WARN_UNUSED_FUNCTION = YES;
267267
GCC_WARN_UNUSED_VARIABLE = YES;
268-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
268+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
269269
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
270270
MTL_FAST_MATH = YES;
271271
ONLY_ACTIVE_ARCH = YES;
@@ -319,7 +319,7 @@
319319
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
320320
GCC_WARN_UNUSED_FUNCTION = YES;
321321
GCC_WARN_UNUSED_VARIABLE = YES;
322-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
322+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
323323
MTL_ENABLE_DEBUG_INFO = NO;
324324
MTL_FAST_MATH = YES;
325325
SWIFT_COMPILATION_MODE = wholemodule;
@@ -341,7 +341,7 @@
341341
"$(PROJECT_DIR)/../../",
342342
);
343343
INFOPLIST_FILE = iOS/Other/Info.plist;
344-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
344+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
345345
LD_RUNPATH_SEARCH_PATHS = (
346346
"$(inherited)",
347347
"@executable_path/Frameworks",
@@ -369,7 +369,7 @@
369369
"$(PROJECT_DIR)/../../",
370370
);
371371
INFOPLIST_FILE = iOS/Other/Info.plist;
372-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
372+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
373373
LD_RUNPATH_SEARCH_PATHS = (
374374
"$(inherited)",
375375
"@executable_path/Frameworks",

README.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,8 @@ We check for new messages when your app opens and whenever your customer or your
4242

4343
## Installation
4444

45-
Intercom for iOS supports iOS 13+.
45+
Intercom for iOS supports iOS 15+.
4646
Xcode 15 is required to build Intercom iOS SDK.
47-
The binary size for Intercom is **2.3MB**.
48-
49-
On **April 3rd 2024, we will be deprecating support for iOS 13 & 14**. Customers wishing to use the latest versions of Intercom's iOS SDK will require iOS 15 as a minimum deployment version.
5047

5148
### CocoaPods
5249
Cocoapods 1.11.0 is required to install Intercom.
@@ -74,16 +71,6 @@ Make sure "Copy items if needed" is selected and click Finish.
7471

7572
<img width="613" alt="embed_sign" src="https://user-images.githubusercontent.com/3185423/102403646-7e594000-3fde-11eb-89e6-0dc280bf24b2.png">
7673

77-
## Update Info.plist
78-
79-
#### Photo Library usage:
80-
81-
With the exception of apps that _only_ support iOS 14+, when installing Intercom, you'll need to make sure that you have a `NSPhotoLibraryUsageDescription` entry in your `Info.plist`.
82-
83-
For apps that support iOS 13, this is [required by Apple](https://developer.apple.com/library/content/qa/qa1937/_index.html) to access the photo library. It is necessary when installing Intercom due to the image upload functionality. Users will be prompted for the photo library permission only when they tap the image upload button.
84-
85-
On iOS 14+, Intercom uses the new `PHPickerViewController` API which does not require requesting users for photo library permission.
86-
8774
## Example app
8875
There are example apps provided [here](https://github.com/intercom/intercom-ios/tree/master/Examples) for Objective-C and Swift, as well as an example built with SwiftUI. We also have some sample code for handling Intercom push notifications manually.
8976

@@ -92,16 +79,16 @@ There are example apps provided [here](https://github.com/intercom/intercom-ios/
9279
* Our [installation guide](https://developers.intercom.com/installing-intercom/ios/installation/) contains full setup and initialisation instructions.
9380
* Read ["Data Hosting Region Configuration for iOS"](https://developers.intercom.com/installing-intercom/ios/data-hosting-region-configuration/).
9481
* Read our guide on [Push Notifications](https://developers.intercom.com/installing-intercom/ios/push-notifications/).
95-
* Please contact us on [Intercom](https://intercom.io) with any questions you may have, we're only a message away!
82+
* Please contact us on [Intercom](https://intercom.com) with any questions you may have, we're only a message away!
9683

9784
## Customer Support
9885

9986
👋 Contact us with any issues at our [Intercom Developer Hub available here](https://developers.intercom.com/installing-intercom/) by clicking on the Messenger in the bottom right. If you bump into any problems or need more support, just start a conversation using Intercom there and it will be immediately routed to our Customer Support Engineers.
10087

10188
You can also check out the [Mobile SDKs section of the Intercom Community](https://community.intercom.com/mobile-sdks-24) to ask a question or find an answer.
10289

103-
## Cordova/Phonegap Support
104-
Looking for Cordova/Phonegap support? We have a [Cordova Plugin](https://github.com/intercom/intercom-cordova) for Intercom 🎉
90+
## React Native Support
91+
Looking for React Native support? We have a [React Native Plugin](https://github.com/intercom/intercom-react-native) for Intercom 🎉
10592

10693
## What about events, push notifications, company and user data?
10794

0 commit comments

Comments
 (0)