Skip to content

Conversation

Saadnajmi
Copy link
Collaborator

Summary:

Revert #2423 in prep for the new architecture as the default for RNM 0.80+

@Saadnajmi Saadnajmi requested a review from a team as a code owner September 11, 2025 00:01
@@ -157,6 +157,6 @@ def self.extract_react_native_version(react_native_path, file_manager: File, jso
end

def self.new_arch_enabled
return ENV["RCT_NEW_ARCH_ENABLED"] == "1" # [macOS] Disable Fabric by default till macOS supports it
return ENV["RCT_NEW_ARCH_ENABLED"] == nil || ENV["RCT_NEW_ARCH_ENABLED"] == "1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.79-stable seems to be using this instead (are we not yet caught up?):

Suggested change
return ENV["RCT_NEW_ARCH_ENABLED"] == nil || ENV["RCT_NEW_ARCH_ENABLED"] == "1"
return ENV["RCT_NEW_ARCH_ENABLED"] == '0' ? false : true

Although strictly speaking, they should be using this:

Suggested change
return ENV["RCT_NEW_ARCH_ENABLED"] == nil || ENV["RCT_NEW_ARCH_ENABLED"] == "1"
return ENV["RCT_NEW_ARCH_ENABLED"] != '0'

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Maybe the same code path got updated in 0.79 after I did the first revert. I'll double check everything

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait... so then 0.79 probably shipped with new arch on by default.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But not in RNM


PODFILE CHECKSUM: 07eddbe098f0e50aff590a91207f692788a9fe4c

COCOAPODS: 1.16.2
COCOAPODS: 1.15.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this got downgraded?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.. for some reason my machine refuses to install. 1.16.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants