Skip to content

Commit 8618b81

Browse files
authored
Update Reader bundle id and add keychain access group (#24478)
* Move Reader bundle identifier definition to `xcconfig` * Update Reader bundle identifier to new one with correct app prefix id Internal ref paaHJt-8hM-p2 * Add keychain access group to Reader entitlements * Update Reader iTunes ID See paaHJt-8hM-p2 * Add required `NSPhotoLibraryUsageDescription` to Reader It's surprising that 4d7578f did not include this key while also being successfully distributed to TestFlight...
1 parent f8d248e commit 8618b81

File tree

7 files changed

+15
-5
lines changed

7 files changed

+15
-5
lines changed

Sources/Reader/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>WPExplatPlatform</key>
2020
<string>wpios</string>
2121
<key>WPItunesAppID</key>
22-
<string>1565481562</string>
22+
<string>6744776413</string>
2323
<key>WPJetpackAppURLScheme</key>
2424
<string>${WP_JETPACK_APP_URL_SCHEME}</string>
2525
<key>WPMobileAnnounceAppID</key>

Sources/Reader/Reader.entitlements

+4
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@
1414
<array>
1515
<string>group.org.wordpress</string>
1616
</array>
17+
<key>keychain-access-groups</key>
18+
<array>
19+
<string>3TMU3BH3NK.org.wordpress</string>
20+
</array>
1721
</dict>
1822
</plist>

WordPress/WordPress.xcodeproj/project.pbxproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -3962,6 +3962,7 @@
39623962
INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;
39633963
INFOPLIST_KEY_NSCameraUsageDescription = "To take photos or videos to use in your posts.";
39643964
INFOPLIST_KEY_NSMicrophoneUsageDescription = "Enable microphone access to record sound in your videos.";
3965+
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "To add photos or videos to your posts.";
39653966
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
39663967
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
39673968
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
@@ -3972,7 +3973,6 @@
39723973
MARKETING_VERSION = "${VERSION_SHORT}";
39733974
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
39743975
MTL_FAST_MATH = YES;
3975-
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.reader;
39763976
PRODUCT_NAME = "$(TARGET_NAME)";
39773977
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
39783978
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
@@ -4010,6 +4010,7 @@
40104010
INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;
40114011
INFOPLIST_KEY_NSCameraUsageDescription = "To take photos or videos to use in your posts.";
40124012
INFOPLIST_KEY_NSMicrophoneUsageDescription = "Enable microphone access to record sound in your videos.";
4013+
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "To add photos or videos to your posts.";
40134014
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
40144015
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
40154016
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
@@ -4020,7 +4021,6 @@
40204021
MARKETING_VERSION = "${VERSION_SHORT}";
40214022
MTL_ENABLE_DEBUG_INFO = NO;
40224023
MTL_FAST_MATH = YES;
4023-
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.reader;
40244024
PRODUCT_NAME = "$(TARGET_NAME)";
40254025
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
40264026
SWIFT_VERSION = 5.0;
@@ -4057,6 +4057,7 @@
40574057
INFOPLIST_KEY_ITSAppUsesNonExemptEncryption = NO;
40584058
INFOPLIST_KEY_NSCameraUsageDescription = "To take photos or videos to use in your posts.";
40594059
INFOPLIST_KEY_NSMicrophoneUsageDescription = "Enable microphone access to record sound in your videos.";
4060+
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "To add photos or videos to your posts.";
40604061
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
40614062
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
40624063
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
@@ -4067,7 +4068,6 @@
40674068
MARKETING_VERSION = "${VERSION_SHORT}";
40684069
MTL_ENABLE_DEBUG_INFO = NO;
40694070
MTL_FAST_MATH = YES;
4070-
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.reader;
40714071
PRODUCT_NAME = "$(TARGET_NAME)";
40724072
SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;
40734073
SWIFT_VERSION = 5.0;

config/Reader.alpha.xcconfig

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#include "Common.alpha.xcconfig"
22
#include "Version.public.xcconfig"
33

4+
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.readerapp
5+
46
WP_PUSH_NOTIFICATION_APP_ID = TBD
57
WP_BUILD_CONFIGURATION = alpha
68
WP_APP_URL_SCHEME = wpreader

config/Reader.debug.xcconfig

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#include "Common.debug.xcconfig"
22
#include "Version.public.xcconfig"
33

4+
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.readerapp
5+
46
WP_PUSH_NOTIFICATION_APP_ID = TBD
57
WP_BUILD_CONFIGURATION = debug
68
WP_APP_URL_SCHEME = wpreader

config/Reader.release.xcconfig

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#include "Common.release.xcconfig"
22
#include "Version.public.xcconfig"
33

4+
PRODUCT_BUNDLE_IDENTIFIER = com.automattic.readerapp
5+
46
WP_PUSH_NOTIFICATION_APP_ID = TBD
57
WP_BUILD_CONFIGURATION = release
68
WP_APP_URL_SCHEME = wpreader

fastlane/Fastfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ JETPACK_EXTENSIONS_BUNDLE_IDENTIFIERS = %w[
4848
].map { |suffix| "#{JETPACK_BUNDLE_IDENTIFIER}.#{suffix}" }
4949
ALL_JETPACK_BUNDLE_IDENTIFIERS = [JETPACK_BUNDLE_IDENTIFIER, *JETPACK_EXTENSIONS_BUNDLE_IDENTIFIERS].freeze
5050

51-
READER_BUNDLE_IDENTIFIER = 'com.automattic.reader'
51+
READER_BUNDLE_IDENTIFIER = 'com.automattic.readerapp'
5252
# Redundant but handy for consistency, especially in codesign.rb
5353
ALL_READER_BUNDLE_IDENTIFIERS = [READER_BUNDLE_IDENTIFIER].freeze
5454

0 commit comments

Comments
 (0)