Commit f3d0cf2
fix(ios): Fix podspec compiler flags being overridden by install_modules_dependencies
`s.compiler_flags` was silently overridden by `install_modules_dependencies()`,
so `-DSENTRY_PROFILING_SUPPORTED`, `-DNEW_HERMES_RUNTIME`, and
`-DRCT_NEW_ARCH_ENABLED` were never applied. Add flags to
`pod_target_xcconfig['OTHER_CFLAGS']` which takes effect correctly.
Also set `REACT_NATIVE_NODE_MODULES_DIR` in the sample app's Podfile
and pod-install script so the podspec detects the app's RN version
instead of the SDK's devDependency version in the monorepo.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4157b02 commit f3d0cf2
File tree
3 files changed
+10
-1
lines changed- packages/core
- samples/react-native
- ios
- scripts
3 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
0 commit comments