Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable NDEBUG in production builds #36194

Closed
wants to merge 1 commit into from

Conversation

cipolleschi
Copy link
Contributor

Summary:
This change is the iOS equivalent of D43344120 (8486e19), but for iOS.

Changelog:

[iOS][Fixed] - Turn on NDEBUG when pods are installed for production.

Reviewed By: cortinico

Differential Revision: D43388881

Summary:
This change is the iOS equivalent of D43344120 (facebook@8486e19), but for iOS.

## Changelog:
[iOS][Fixed] - Turn on NDEBUG when pods are installed for production.

Reviewed By: cortinico

Differential Revision: D43388881

fbshipit-source-id: 21ebc403955327acbad394936aa4d98f18948a57
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Feb 17, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43388881

@react-native-bot react-native-bot added Bug Platform: iOS iOS applications. labels Feb 17, 2023
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,451,399 -2,934
android hermes armeabi-v7a 7,774,782 -2,954
android hermes x86 8,927,004 -3,985
android hermes x86_64 8,784,617 -3,888
android jsc arm64-v8a 6,668,092 +0
android jsc armeabi-v7a 7,462,048 +0
android jsc x86 9,192,215 +0
android jsc x86_64 6,893,219 +0

Base commit: 3218680
Branch: main

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 19, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 421df9f.

OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
Pull Request resolved: facebook#36194

This change is the iOS equivalent of D43344120 (facebook@8486e19), but for iOS.

## Changelog:
[iOS][Fixed] - Turn on NDEBUG when pods are installed for production.

Reviewed By: cortinico

Differential Revision: D43388881

fbshipit-source-id: 5c16d3d7b4265e4ee2f265a5f992cffee30f3887
github-merge-queue bot pushed a commit to software-mansion/react-native-reanimated that referenced this pull request Aug 9, 2023
<!-- Thanks for submitting a pull request! We appreciate you spending
the time to work on these changes. Please follow the template so that
the reviewers can easily understand what the code changes affect. -->

## Summary

Related to #4901.

This PR properly sets `NDEBUG` flag when building in release mode.

References:
* facebook/react-native#36172
* facebook/react-native#38314
* facebook/react-native#36194

## Test plan

<!-- Provide a minimal but complete code snippet that can be used to
test out this change along with instructions how to run it and a
description of the expected behavior. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants