Skip to content

Commit ffaf926

Browse files
committed
chore: renaming app targets
1 parent 69ecc71 commit ffaf926

File tree

11 files changed

+97
-98
lines changed

11 files changed

+97
-98
lines changed
File renamed without changes.

example/ios/APN_Example/Info.plist example/ios/APN/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
8-
<string>APN_Example</string>
8+
<string>APN</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

example/ios/CustomerIO_RN.xcodeproj/project.pbxproj

+79-76
Large diffs are not rendered by default.

example/ios/CustomerIO_RN.xcodeproj/xcshareddata/xcschemes/APN.xcscheme

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<BuildableReference
1717
BuildableIdentifier = "primary"
1818
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
19-
BuildableName = "APN_Example.app"
20-
BlueprintName = "APN_Example"
19+
BuildableName = "APN.app"
20+
BlueprintName = "APN"
2121
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
2222
</BuildableReference>
2323
</BuildActionEntry>
@@ -45,8 +45,8 @@
4545
<BuildableReference
4646
BuildableIdentifier = "primary"
4747
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
48-
BuildableName = "APN_Example.app"
49-
BlueprintName = "APN_Example"
48+
BuildableName = "APN.app"
49+
BlueprintName = "APN"
5050
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
5151
</BuildableReference>
5252
</BuildableProductRunnable>
@@ -62,8 +62,8 @@
6262
<BuildableReference
6363
BuildableIdentifier = "primary"
6464
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
65-
BuildableName = "APN_Example.app"
66-
BlueprintName = "APN_Example"
65+
BuildableName = "APN.app"
66+
BlueprintName = "APN"
6767
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
6868
</BuildableReference>
6969
</BuildableProductRunnable>

example/ios/CustomerIO_RN.xcodeproj/xcshareddata/xcschemes/FCM.xcscheme

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<BuildableReference
1717
BuildableIdentifier = "primary"
1818
BlueprintIdentifier = "6087A9D32C20AAE80071E0EE"
19-
BuildableName = "FCM_Example.app"
20-
BlueprintName = "FCM_Example"
19+
BuildableName = "FCM.app"
20+
BlueprintName = "FCM"
2121
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
2222
</BuildableReference>
2323
</BuildActionEntry>
@@ -45,8 +45,8 @@
4545
<BuildableReference
4646
BuildableIdentifier = "primary"
4747
BlueprintIdentifier = "6087A9D32C20AAE80071E0EE"
48-
BuildableName = "FCM_Example.app"
49-
BlueprintName = "FCM_Example"
48+
BuildableName = "FCM.app"
49+
BlueprintName = "FCM"
5050
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
5151
</BuildableReference>
5252
</BuildableProductRunnable>
@@ -62,8 +62,8 @@
6262
<BuildableReference
6363
BuildableIdentifier = "primary"
6464
BlueprintIdentifier = "6087A9D32C20AAE80071E0EE"
65-
BuildableName = "FCM_Example.app"
66-
BlueprintName = "FCM_Example"
65+
BuildableName = "FCM.app"
66+
BlueprintName = "FCM"
6767
ReferencedContainer = "container:CustomerIO_RN.xcodeproj">
6868
</BuildableReference>
6969
</BuildableProductRunnable>
File renamed without changes.

example/ios/FCM_Example/Info.plist example/ios/FCM/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
8-
<string>FCM_Example</string>
8+
<string>FCM</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

example/ios/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
8-
<string>APN_Example</string>
8+
<string>APN</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

example/ios/Podfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ abstract_target 'CustomerIO_RN' do
2929
pod 'CustomerIODataPipelines', :path => '../../cio-native-sdks/customerio-ios'
3030
pod 'CustomerIOMessagingInApp', :path => '../../cio-native-sdks/customerio-ios'
3131

32-
target 'APN_Example' do
32+
target 'APN' do
3333
pod 'CustomerIOReactNativePush/APN', :path => '../..'
3434
pod 'CustomerIOMessagingPushAPN', :path => '../../cio-native-sdks/customerio-ios'
3535

3636
end
3737

38-
target 'FCM_Example' do
38+
target 'FCM' do
3939
pod 'CustomerIOReactNativePush/FCM', :path => '../..'
4040
pod 'CustomerIOMessagingPushFCM', :path => '../../cio-native-sdks/customerio-ios'
4141
end

example/ios/Shared/AppDelegate.mm

-4
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,4 @@ - (NSURL *)bundleURL
6161
#endif
6262
}
6363

64-
- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error {
65-
[CioMessagingPush application:application didFailToRegisterForRemoteNotificationsWithError:error];
66-
}
67-
6864
@end

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ios-apn": "yarn ios --scheme APN",
1010
"start": "react-native start --reset-cache",
1111
"build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
12-
"build:ios": "cd ios && xcodebuild -workspace CustomerIO_RN.xcworkspace -scheme APN_Example -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
12+
"build:ios": "cd ios && xcodebuild -workspace CustomerIO_RN.xcworkspace -scheme APN -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
1313
"pods": "npx pod-install"
1414
},
1515
"dependencies": {

0 commit comments

Comments
 (0)