Skip to content

Commit 20720c6

Browse files
authored
chore(ios): default to RocketChat scheme by renaming workspace and project (#7433)
1 parent af4c3b3 commit 20720c6

12 files changed

Lines changed: 19 additions & 28 deletions

File tree

app/containers/markdown/__snapshots__/Markdown.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5882,7 +5882,7 @@ exports[`Story Snapshots: Timestamp should match snapshot 1`] = `
58825882
]
58835883
}
58845884
>
5885-
a year ago
5885+
2 years ago
58865886
</Text>
58875887
</Text>
58885888
</Text>

ios/Podfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ require File.join(File.dirname(`node --print "require.resolve('react-native/pack
44
platform :ios, '15.1'
55
install! 'cocoapods', :deterministic_uuids => false
66

7+
# Pin the generated workspace name so `react-native run-ios` selects it and
8+
# infers the matching RocketChat scheme without a --scheme flag.
9+
workspace 'RocketChat'
10+
711
prepare_react_native_project!
812

913
def all_pods

ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4136,6 +4136,6 @@ SPEC CHECKSUMS:
41364136
Yoga: 1e91d83a5286cfd3b725eade59274c92270540d4
41374137
ZXingObjC: 8898711ab495761b2dbbdec76d90164a6d7e14c5
41384138

4139-
PODFILE CHECKSUM: d05b9b865205e9c845b4e7c288577d4b4ae403ab
4139+
PODFILE CHECKSUM: 4a928f36cea73defa438bb62e3a52a85a0b5f71a
41404140

41414141
COCOAPODS: 1.15.2

ios/RocketChatRN.xcodeproj/project.pbxproj renamed to ios/RocketChat.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@
11661166
};
11671167
};
11681168
};
1169-
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RocketChatRN" */;
1169+
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RocketChat" */;
11701170
compatibilityVersion = "Xcode 3.2";
11711171
developmentRegion = English;
11721172
hasScannedForEncodings = 0;
@@ -2470,7 +2470,7 @@
24702470
defaultConfigurationIsVisible = 0;
24712471
defaultConfigurationName = Release;
24722472
};
2473-
83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RocketChatRN" */ = {
2473+
83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RocketChat" */ = {
24742474
isa = XCConfigurationList;
24752475
buildConfigurations = (
24762476
83CBBA201A601CBA00E9B192 /* Debug */,

ios/RocketChatRN.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme renamed to ios/RocketChat.xcodeproj/xcshareddata/xcschemes/NotificationService.xcscheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
BlueprintIdentifier = "1EFEB5942493B6640072EDC0"
1919
BuildableName = "NotificationService.appex"
2020
BlueprintName = "NotificationService"
21-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
21+
ReferencedContainer = "container:RocketChat.xcodeproj">
2222
</BuildableReference>
2323
</BuildActionEntry>
2424
</BuildActionEntries>
@@ -63,7 +63,7 @@
6363
BlueprintIdentifier = "1EFEB5942493B6640072EDC0"
6464
BuildableName = "NotificationService.appex"
6565
BlueprintName = "NotificationService"
66-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
66+
ReferencedContainer = "container:RocketChat.xcodeproj">
6767
</BuildableReference>
6868
</MacroExpansion>
6969
</ProfileAction>

ios/RocketChatRN.xcodeproj/xcshareddata/xcschemes/RocketChat.xcscheme renamed to ios/RocketChat.xcodeproj/xcshareddata/xcschemes/RocketChat.xcscheme

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
BlueprintIdentifier = "7AAB3E0D257E6A6E00707CF6"
1818
BuildableName = "Rocket.Chat.app"
1919
BlueprintName = "Rocket.Chat"
20-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
20+
ReferencedContainer = "container:RocketChat.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
2323
</BuildActionEntries>
@@ -47,7 +47,7 @@
4747
BlueprintIdentifier = "7AAB3E0D257E6A6E00707CF6"
4848
BuildableName = "Rocket.Chat.app"
4949
BlueprintName = "Rocket.Chat"
50-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
50+
ReferencedContainer = "container:RocketChat.xcodeproj">
5151
</BuildableReference>
5252
</BuildableProductRunnable>
5353
</LaunchAction>
@@ -64,7 +64,7 @@
6464
BlueprintIdentifier = "7AAB3E0D257E6A6E00707CF6"
6565
BuildableName = "Rocket.Chat.app"
6666
BlueprintName = "Rocket.Chat"
67-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
67+
ReferencedContainer = "container:RocketChat.xcodeproj">
6868
</BuildableReference>
6969
</BuildableProductRunnable>
7070
</ProfileAction>

ios/RocketChatRN.xcodeproj/xcshareddata/xcschemes/ShareRocketChatRN.xcscheme renamed to ios/RocketChat.xcodeproj/xcshareddata/xcschemes/ShareRocketChatRN.xcscheme

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
BlueprintIdentifier = "1EC6ACAF22CB9FC300A41C61"
1919
BuildableName = "ShareRocketChatRN.appex"
2020
BlueprintName = "ShareRocketChatRN"
21-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
21+
ReferencedContainer = "container:RocketChat.xcodeproj">
2222
</BuildableReference>
2323
</BuildActionEntry>
2424
</BuildActionEntries>
@@ -34,7 +34,7 @@
3434
BlueprintIdentifier = "1EC6ACAF22CB9FC300A41C61"
3535
BuildableName = "ShareRocketChatRN.appex"
3636
BlueprintName = "ShareRocketChatRN"
37-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
37+
ReferencedContainer = "container:RocketChat.xcodeproj">
3838
</BuildableReference>
3939
</MacroExpansion>
4040
<Testables>
@@ -72,7 +72,7 @@
7272
BlueprintIdentifier = "1EC6ACAF22CB9FC300A41C61"
7373
BuildableName = "ShareRocketChatRN.appex"
7474
BlueprintName = "ShareRocketChatRN"
75-
ReferencedContainer = "container:RocketChatRN.xcodeproj">
75+
ReferencedContainer = "container:RocketChat.xcodeproj">
7676
</BuildableReference>
7777
</MacroExpansion>
7878
</ProfileAction>

ios/RocketChatRN.xcworkspace/contents.xcworkspacedata renamed to ios/RocketChat.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ios/RocketChatRN.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist renamed to ios/RocketChat.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

File renamed without changes.

ios/RocketChatRN.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings renamed to ios/RocketChat.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings

File renamed without changes.

0 commit comments

Comments
 (0)