Skip to content

Commit 2dc9fb3

Browse files
committed
fix: RCTAppDelegate #ifs
1 parent c23b4d9 commit 2dc9fb3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ @interface RCTAppDelegate () <
4848
}
4949
@end
5050

51+
#endif
52+
5153
static NSDictionary *updateInitialProps(NSDictionary *initialProps, BOOL isFabricEnabled)
5254
{
5355
#ifdef RCT_NEW_ARCH_ENABLED
@@ -269,6 +271,8 @@ - (BOOL)bridgelessEnabled
269271
return NO;
270272
}
271273

274+
#if RCT_NEW_ARCH_ENABLED
275+
272276
#pragma mark - New Arch Utilities
273277

274278
- (void)unstable_registerLegacyComponents
@@ -355,3 +359,4 @@ - (NSURL *)getBundleURL
355359
#endif
356360

357361
@end
362+

scripts/oot-release.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,8 @@ function releaseOOT(
149149
return;
150150
}
151151

152-
const gitTag = `v${newVersion}`;
153-
failIfTagExists(gitTag, tag);
154-
152+
const gitTag = `v${newVersion}-visionos`;
153+
failIfTagExists(gitTag, 'release');
155154
// Create git tag
156155
execSync(`git tag -a ${gitTag} -m "Release ${newVersion}"`, {
157156
cwd: REPO_ROOT,

0 commit comments

Comments
 (0)