Skip to content

Commit 82fdf30

Browse files
committed
Add and pod install service extension
1 parent 2969f2e commit 82fdf30

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed

example/ios/AirshipExample.xcodeproj/project.pbxproj

+41-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
2424
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
2525
A4685ED317A73D5118DD4DCF /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
26+
CE56DF4A3DC10203B97F2D78 /* libPods-AirshipExampleNotificationServiceExtension.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F2476F72D168ABB8DED96DFE /* libPods-AirshipExampleNotificationServiceExtension.a */; };
2627
/* End PBXBuildFile section */
2728

2829
/* Begin PBXContainerItemProxy section */
@@ -80,7 +81,10 @@
8081
6308C18D2D80B00300296239 /* AirshipPluginExtender.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirshipPluginExtender.swift; sourceTree = "<group>"; };
8182
761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = AirshipExample/AppDelegate.swift; sourceTree = "<group>"; };
8283
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = AirshipExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
84+
8EDF504E5AE13E065BB82C9F /* Pods-AirshipExampleNotificationServiceExtension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AirshipExampleNotificationServiceExtension.release.xcconfig"; path = "Target Support Files/Pods-AirshipExampleNotificationServiceExtension/Pods-AirshipExampleNotificationServiceExtension.release.xcconfig"; sourceTree = "<group>"; };
85+
C3F79CC1CB6726513AABD738 /* Pods-AirshipExampleNotificationServiceExtension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AirshipExampleNotificationServiceExtension.debug.xcconfig"; path = "Target Support Files/Pods-AirshipExampleNotificationServiceExtension/Pods-AirshipExampleNotificationServiceExtension.debug.xcconfig"; sourceTree = "<group>"; };
8386
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
87+
F2476F72D168ABB8DED96DFE /* libPods-AirshipExampleNotificationServiceExtension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AirshipExampleNotificationServiceExtension.a"; sourceTree = BUILT_PRODUCTS_DIR; };
8488
/* End PBXFileReference section */
8589

8690
/* Begin PBXFrameworksBuildPhase section */
@@ -96,6 +100,7 @@
96100
isa = PBXFrameworksBuildPhase;
97101
buildActionMask = 2147483647;
98102
files = (
103+
CE56DF4A3DC10203B97F2D78 /* libPods-AirshipExampleNotificationServiceExtension.a in Frameworks */,
99104
);
100105
runOnlyForDeploymentPostprocessing = 0;
101106
};
@@ -130,6 +135,7 @@
130135
5DCACB8F33CDC322A6C60F78 /* libPods-AirshipExample.a */,
131136
6308BFF92D80999200296239 /* WidgetKit.framework */,
132137
6308BFFB2D80999200296239 /* SwiftUI.framework */,
138+
F2476F72D168ABB8DED96DFE /* libPods-AirshipExampleNotificationServiceExtension.a */,
133139
);
134140
name = Frameworks;
135141
sourceTree = "<group>";
@@ -195,6 +201,8 @@
195201
children = (
196202
3B4392A12AC88292D35C810B /* Pods-AirshipExample.debug.xcconfig */,
197203
5709B34CF0A7D63546082F79 /* Pods-AirshipExample.release.xcconfig */,
204+
C3F79CC1CB6726513AABD738 /* Pods-AirshipExampleNotificationServiceExtension.debug.xcconfig */,
205+
8EDF504E5AE13E065BB82C9F /* Pods-AirshipExampleNotificationServiceExtension.release.xcconfig */,
198206
);
199207
path = Pods;
200208
sourceTree = "<group>";
@@ -230,6 +238,7 @@
230238
isa = PBXNativeTarget;
231239
buildConfigurationList = 6308BFDE2D7FF2A700296239 /* Build configuration list for PBXNativeTarget "AirshipExampleNotificationServiceExtension" */;
232240
buildPhases = (
241+
6399F9F7BD94CA2BED6774AE /* [CP] Check Pods Manifest.lock */,
233242
6308BFCE2D7FF2A700296239 /* Sources */,
234243
6308BFCF2D7FF2A700296239 /* Frameworks */,
235244
6308BFD02D7FF2A700296239 /* Resources */,
@@ -362,6 +371,28 @@
362371
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-AirshipExample/Pods-AirshipExample-frameworks.sh\"\n";
363372
showEnvVarsInLog = 0;
364373
};
374+
6399F9F7BD94CA2BED6774AE /* [CP] Check Pods Manifest.lock */ = {
375+
isa = PBXShellScriptBuildPhase;
376+
buildActionMask = 2147483647;
377+
files = (
378+
);
379+
inputFileListPaths = (
380+
);
381+
inputPaths = (
382+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
383+
"${PODS_ROOT}/Manifest.lock",
384+
);
385+
name = "[CP] Check Pods Manifest.lock";
386+
outputFileListPaths = (
387+
);
388+
outputPaths = (
389+
"$(DERIVED_FILE_DIR)/Pods-AirshipExampleNotificationServiceExtension-checkManifestLockResult.txt",
390+
);
391+
runOnlyForDeploymentPostprocessing = 0;
392+
shellPath = /bin/sh;
393+
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";
394+
showEnvVarsInLog = 0;
395+
};
365396
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
366397
isa = PBXShellScriptBuildPhase;
367398
buildActionMask = 2147483647;
@@ -505,6 +536,7 @@
505536
};
506537
6308BFDB2D7FF2A700296239 /* Debug */ = {
507538
isa = XCBuildConfiguration;
539+
baseConfigurationReference = C3F79CC1CB6726513AABD738 /* Pods-AirshipExampleNotificationServiceExtension.debug.xcconfig */;
508540
buildSettings = {
509541
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
510542
CLANG_ANALYZER_NONNULL = YES;
@@ -546,6 +578,7 @@
546578
};
547579
6308BFDC2D7FF2A700296239 /* Release */ = {
548580
isa = XCBuildConfiguration;
581+
baseConfigurationReference = 8EDF504E5AE13E065BB82C9F /* Pods-AirshipExampleNotificationServiceExtension.release.xcconfig */;
549582
buildSettings = {
550583
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
551584
CLANG_ANALYZER_NONNULL = YES;
@@ -738,7 +771,10 @@
738771
"-DFOLLY_CFG_NO_COROUTINES=1",
739772
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
740773
);
741-
OTHER_LDFLAGS = "$(inherited) ";
774+
OTHER_LDFLAGS = (
775+
"$(inherited)",
776+
" ",
777+
);
742778
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
743779
SDKROOT = iphoneos;
744780
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -807,7 +843,10 @@
807843
"-DFOLLY_CFG_NO_COROUTINES=1",
808844
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
809845
);
810-
OTHER_LDFLAGS = "$(inherited) ";
846+
OTHER_LDFLAGS = (
847+
"$(inherited)",
848+
" ",
849+
);
811850
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
812851
SDKROOT = iphoneos;
813852
USE_HERMES = true;

example/ios/Podfile

+4
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ target 'AirshipExample' do
4040
)
4141
end
4242
end
43+
44+
target 'AirshipExampleNotificationServiceExtension' do
45+
pod 'AirshipServiceExtension'
46+
end

example/ios/Podfile.lock

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ PODS:
1919
- Airship/Core
2020
- AirshipFrameworkProxy (13.2.0):
2121
- Airship (= 19.1.0)
22+
- AirshipServiceExtension (19.1.0)
2223
- boost (1.84.0)
2324
- DoubleConversion (1.1.6)
2425
- fast_float (6.1.4)
@@ -1571,6 +1572,7 @@ PODS:
15711572
- Yoga (0.0.0)
15721573

15731574
DEPENDENCIES:
1575+
- AirshipServiceExtension
15741576
- boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`)
15751577
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
15761578
- fast_float (from `../node_modules/react-native/third-party-podspecs/fast_float.podspec`)
@@ -1645,6 +1647,7 @@ SPEC REPOS:
16451647
trunk:
16461648
- Airship
16471649
- AirshipFrameworkProxy
1650+
- AirshipServiceExtension
16481651
- SocketRocket
16491652

16501653
EXTERNAL SOURCES:
@@ -1787,6 +1790,7 @@ EXTERNAL SOURCES:
17871790
SPEC CHECKSUMS:
17881791
Airship: eb4783c5465b9440a995169bdabfa6194ca8e3c5
17891792
AirshipFrameworkProxy: de286bad2060f857bbe35215ac9711512c645b2b
1793+
AirshipServiceExtension: a2c1821277cc919b6b47dff8a5052562292d843d
17901794
boost: 7e761d76ca2ce687f7cc98e698152abd03a18f90
17911795
DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb
17921796
fast_float: 06eeec4fe712a76acc9376682e4808b05ce978b6
@@ -1856,6 +1860,6 @@ SPEC CHECKSUMS:
18561860
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
18571861
Yoga: afd04ff05ebe0121a00c468a8a3c8080221cb14c
18581862

1859-
PODFILE CHECKSUM: 91bfd7fee987554f02c640f004cb4d2084ff84ce
1863+
PODFILE CHECKSUM: f92fc87a09e5775865911b0db68a401d9ba890d3
18601864

18611865
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)