Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions examples/sdk/reactNative/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ target 'reactNative' do
# :ccache_enabled => true
)

installer.target_installation_results.pod_target_installation_results.each_value do |result|
result.resource_bundle_targets.each do |bundle_target|
bundle_target.build_configurations.each do |config|
current = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] || min_ios_version_supported
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = [min_ios_version_supported.to_f, current.to_f].max.to_s
end
end
end

# Workaround: RN 0.81 bundles fmt 11.0.2 (RN 0.77 used fmt 9.1.0, which did
# not need this). fmt 11's consteval FMT_STRING path fails to compile under
# Apple clang from Xcode 26+. fmt's base.h already disables consteval for
Expand Down
2 changes: 1 addition & 1 deletion examples/sdk/reactNative/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2590,6 +2590,6 @@ SPEC CHECKSUMS:
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Yoga: 3196a843cc5f4bc433f1a41cf17cdf804a01a529

PODFILE CHECKSUM: 9be63e3a4da2386882f0c19a6f7f86f34d152f92
PODFILE CHECKSUM: 8614e71f7a466fb7fed3c5d05722f34fe9172005

COCOAPODS: 1.17.0
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
"$(inherited)",
);
INFOPLIST_FILE = reactNativeTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -448,7 +448,7 @@
BUNDLE_LOADER = "$(TEST_HOST)";
COPY_PHASE_STRIP = NO;
INFOPLIST_FILE = reactNativeTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -568,7 +568,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
LD = "";
LDPLUSPLUS = "";
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -645,7 +645,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
LD = "";
LDPLUSPLUS = "";
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
15 changes: 15 additions & 0 deletions packages/react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ application to Backtrace. This README covers setup and configuration. Symbolicat
## Supported Versions

- React Native 0.72+, verified up to 0.87
- React Native 0.76+ when building with Xcode 27
- React 18+
- Hermes JavaScript engine (JavaScriptCore is not supported)
- New Architecture and Legacy Architecture (React Native 0.82 and later are New Architecture only)
Expand All @@ -62,6 +63,20 @@ $ cd ios
$ pod install
```

Xcode 27 requires a minimum deployment target of iOS 15.0. Add the following inside the existing `post_install` block
of `ios/Podfile`, then run `pod install` again:

```ruby
installer.target_installation_results.pod_target_installation_results.each_value do |result|
result.resource_bundle_targets.each do |bundle_target|
bundle_target.build_configurations.each do |config|
current = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] || min_ios_version_supported
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = [min_ios_version_supported.to_f, current.to_f].max.to_s
end
end
end
```

### Integrate the SDK

Add the following code at the top of `index.js`, before `AppRegistry.registerComponent`. The SDK starts before other
Expand Down
Loading