Skip to content

Commit

Permalink
fix: RCTAppDelegate #ifs
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Apr 5, 2024
1 parent 629e1b3 commit ef21b18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ @interface RCTAppDelegate () <
}
@end

#endif

static NSDictionary *updateInitialProps(NSDictionary *initialProps, BOOL isFabricEnabled)
{
#ifdef RCT_NEW_ARCH_ENABLED
Expand Down Expand Up @@ -269,6 +271,8 @@ - (BOOL)bridgelessEnabled
return NO;
}

#if RCT_NEW_ARCH_ENABLED

#pragma mark - New Arch Utilities

- (void)unstable_registerLegacyComponents
Expand Down Expand Up @@ -355,3 +359,4 @@ - (NSURL *)getBundleURL
#endif

@end

5 changes: 2 additions & 3 deletions scripts/oot-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@ function releaseOOT(
return;
}

const gitTag = `v${newVersion}`;
failIfTagExists(gitTag, tag);

const gitTag = `v${newVersion}-visionos`;
failIfTagExists(gitTag, 'release');
// Create git tag
execSync(`git tag -a ${gitTag} -m "Release ${newVersion}"`, {
cwd: REPO_ROOT,
Expand Down

0 comments on commit ef21b18

Please sign in to comment.