Skip to content

Commit 5a83a13

Browse files
committed
Remove App Center SDK
1 parent 6dec312 commit 5a83a13

File tree

9 files changed

+4
-71
lines changed

9 files changed

+4
-71
lines changed

.configure

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"project_name": "simplenote-ios",
33
"branch": "trunk",
4-
"pinned_hash": "589c18df9a009a0ed20fd845de0bc65069dfb4bf",
4+
"pinned_hash": "c07336f476c7adcaf7716edf0222c55cfbd4d42c",
55
"files_to_copy": [
66
{
77
"file": "iOS/simplenote/SPCredentials.swift",
@@ -24,7 +24,5 @@
2424
"encrypt": true
2525
}
2626
],
27-
"file_dependencies": [
28-
29-
]
27+
"file_dependencies": []
3028
}
-80 Bytes
Binary file not shown.

Podfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ abstract_target 'Automattic' do
2020
#
2121
pod 'Gridicons', '~> 0.18'
2222

23-
app_center_rule = '~> 5.0'
24-
pod 'AppCenter', app_center_rule
25-
pod 'AppCenter/Distribute', app_center_rule
26-
2723
# Automattic
2824
#
2925
pod 'Simperium', '1.9.0'

Podfile.lock

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
PODS:
2-
- AppCenter (5.0.5):
3-
- AppCenter/Analytics (= 5.0.5)
4-
- AppCenter/Crashes (= 5.0.5)
5-
- AppCenter/Analytics (5.0.5):
6-
- AppCenter/Core
7-
- AppCenter/Core (5.0.5)
8-
- AppCenter/Crashes (5.0.5):
9-
- AppCenter/Core
10-
- AppCenter/Distribute (5.0.5):
11-
- AppCenter/Core
122
- Gridicons (0.19)
133
- Simperium (1.9.0):
144
- Simperium/DiffMatchPach (= 1.9.0)
@@ -26,8 +16,6 @@ PODS:
2616
- ZIPFoundation (0.9.15)
2717

2818
DEPENDENCIES:
29-
- AppCenter (~> 5.0)
30-
- AppCenter/Distribute (~> 5.0)
3119
- Gridicons (~> 0.18)
3220
- Simperium (= 1.9.0)
3321
- SwiftLint (= 0.54.0)
@@ -36,21 +24,19 @@ DEPENDENCIES:
3624

3725
SPEC REPOS:
3826
trunk:
39-
- AppCenter
4027
- Gridicons
4128
- Simperium
4229
- SwiftLint
4330
- WordPress-Ratings-iOS
4431
- ZIPFoundation
4532

4633
SPEC CHECKSUMS:
47-
AppCenter: 994875ea7941b9e168babb98299f900a94bcef13
4834
Gridicons: dc92efbe5fd60111d2e8ea051d84a60cca552abc
4935
Simperium: 45d828d68aad71f3449371346f270013943eff78
5036
SwiftLint: c1de071d9d08c8aba837545f6254315bc900e211
5137
WordPress-Ratings-iOS: 9f83dbba6e728c5121b1fd21b5683cf2fd120646
5238
ZIPFoundation: 063163dc828bf699c5be160eb4f58f676322d94f
5339

54-
PODFILE CHECKSUM: b7dd9a755e346db3012689d69789e5d8b55a10a4
40+
PODFILE CHECKSUM: 1a6145a673ddc931a81b1fbd59e20edfdbaca298
5541

5642
COCOAPODS: 1.16.0

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ end
212212

213213
def xcodebuild(*build_cmds)
214214
cmd = 'xcodebuild'
215-
cmd += " -destination 'platform=iOS Simulator,name=iPhone 6s'"
215+
cmd += " -destination 'platform=iOS Simulator,name=iPhone 16'"
216216
cmd += ' -sdk iphonesimulator'
217217
cmd += " -workspace #{XCODE_WORKSPACE}"
218218
cmd += " -scheme #{XCODE_SCHEME}"

Simplenote.xcodeproj/project.pbxproj

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2863,7 +2863,6 @@
28632863
46A3C9C117DFA81A002865AE /* Resources */,
28642864
B5EB1EFC1C204EBE0080A1B3 /* Embed Foundation Extensions */,
28652865
730A1CB888B6254066EA8CAA /* [CP] Embed Pods Frameworks */,
2866-
1FED62BA1BD3808429C8CEE9 /* [CP] Copy Pods Resources */,
28672866
);
28682867
buildRules = (
28692868
);
@@ -3220,23 +3219,6 @@
32203219
/* End PBXResourcesBuildPhase section */
32213220

32223221
/* Begin PBXShellScriptBuildPhase section */
3223-
1FED62BA1BD3808429C8CEE9 /* [CP] Copy Pods Resources */ = {
3224-
isa = PBXShellScriptBuildPhase;
3225-
buildActionMask = 2147483647;
3226-
files = (
3227-
);
3228-
inputFileListPaths = (
3229-
"${PODS_ROOT}/Target Support Files/Pods-Automattic-Simplenote/Pods-Automattic-Simplenote-resources-${CONFIGURATION}-input-files.xcfilelist",
3230-
);
3231-
name = "[CP] Copy Pods Resources";
3232-
outputFileListPaths = (
3233-
"${PODS_ROOT}/Target Support Files/Pods-Automattic-Simplenote/Pods-Automattic-Simplenote-resources-${CONFIGURATION}-output-files.xcfilelist",
3234-
);
3235-
runOnlyForDeploymentPostprocessing = 0;
3236-
shellPath = /bin/sh;
3237-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Automattic-Simplenote/Pods-Automattic-Simplenote-resources.sh\"\n";
3238-
showEnvVarsInLog = 0;
3239-
};
32403222
3F1BB4B524319A04006D1A04 /* Copy Secrets */ = {
32413223
isa = PBXShellScriptBuildPhase;
32423224
buildActionMask = 2147483647;
@@ -4707,7 +4689,6 @@
47074689
GCC_PREFIX_HEADER = "Simplenote/Supporting Files/Simplenote-Prefix.pch";
47084690
GCC_PREPROCESSOR_DEFINITIONS = (
47094691
"INTERNAL_DISTRIBUTION=1",
4710-
"USE_APPCENTER=1",
47114692
"$(inherited)",
47124693
);
47134694
INFOPLIST_FILE = "Simplenote/Supporting Files/Simplenote-Info.plist";
@@ -5014,7 +4995,6 @@
50144995
GCC_PREFIX_HEADER = "Simplenote/Supporting Files/Simplenote-Prefix.pch";
50154996
GCC_PREPROCESSOR_DEFINITIONS = (
50164997
"INTERNAL_DISTRIBUTION=1",
5017-
"USE_APPCENTER=1",
50184998
"$(inherited)",
50194999
);
50205000
INFOPLIST_FILE = "Simplenote/Supporting Files/Simplenote-Info.plist";

Simplenote/SPAppDelegate.m

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828

2929
@class KeychainMigrator;
3030

31-
#if USE_APPCENTER
32-
@import AppCenter;
33-
@import AppCenterDistribute;
34-
#endif
35-
3631

3732
#pragma mark ================================================================================
3833
#pragma mark Private Properties
@@ -90,17 +85,6 @@ - (void)setupDefaultWindow
9085
[self.window makeKeyAndVisible];
9186
}
9287

93-
- (void)setupAppCenter
94-
{
95-
#if USE_APPCENTER
96-
NSLog(@"Initializing AppCenter...");
97-
98-
NSString *identifier = [SPCredentials appCenterIdentifier];
99-
[MSACAppCenter start:identifier withServices:@[[MSACDistribute class]]];
100-
[MSACDistribute setEnabled:true];
101-
#endif
102-
}
103-
10488
- (void)setupCrashLogging
10589
{
10690
[[CrashLogging shared] startWithSimperium: self.simperium];
@@ -123,7 +107,6 @@ - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:
123107
[self setupThemeNotifications];
124108
[self setupSimperium];
125109
[self setupAuthenticator];
126-
[self setupAppCenter];
127110
[self setupCrashLogging];
128111
[self configureVersionsController];
129112
[self configurePublishController];

Simplenote/SPCredentials-demo.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ class SPCredentials: NSObject {
77
///
88
static let appbotKey = "not-required"
99

10-
/// AppCenter
11-
///
12-
static let appCenterIdentifier = "not-required"
13-
1410
/// Google Analytics
1511
///
1612
static let googleAnalyticsID = "not-required"

Simplenote/Supporting Files/Simplenote-Info.plist

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@
3030
<string>simplenote</string>
3131
</array>
3232
</dict>
33-
<dict>
34-
<key>CFBundleURLSchemes</key>
35-
<array>
36-
<string>appcenter-e0b5a7f7-67b8-c548-07d1-c35d3be73eaf</string>
37-
</array>
38-
</dict>
3933
</array>
4034
<key>CFBundleVersion</key>
4135
<string>${VERSION_LONG}</string>

0 commit comments

Comments
 (0)