react-native/scripts
Riccardo Cipolleschi 40ad31eacf Set C++ version for libs (#35160)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35160

With the simplified migration to the new arch, we are offering a function in cocoapods that takes care of configuring all the dependencies for libraries.

That function was not setting the proper version of C++ for the library. This could lead to build problems.

This Diff make sure that the libraries that are created with this function call have the proper C++ version.

NOTE: we already have a post install hook that was setting the the proper C++ version, but that was only working for the project. Plus, we can't read that version from the React-Core podspec because at the podspec definition time, cocoapods has not read that yet. Therefore, I just hardcoded the C++ version on top of the file, so it will be easier to update if we decide to change it.

## Changelog
[iOS][Fixed] - Make sure that libraries created with `install_modules_dependencies` has the right C++ version.

Reviewed By: dmytrorykun

Differential Revision: D40894561

fbshipit-source-id: a5187be2d85888a335d4c033f16fdacaf2c945f9
2022-11-01 07:47:23 -07:00
..
__tests__ Hermes scripts: rename tarball methods to distinguish between source code and prebuilt artifacts (#35156) 2022-10-31 15:30:02 -07:00
circleci Circle CI: Upload both tarballs to releases, dry-run the release workflow on every commit (#35015) 2022-10-19 17:54:22 -07:00
cocoapods Set C++ version for libs (#35160) 2022-11-01 07:47:23 -07:00
codegen Restore Filtering platform in codegen (#35028) 2022-10-31 12:31:00 -07:00
hermes Hermes scripts: rename tarball methods to distinguish between source code and prebuilt artifacts (#35156) 2022-10-31 15:30:02 -07:00
react_native_pods_utils infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
versiontemplates
xcode
.npmignore Move TypeScript declarations into react-native (#34614) 2022-09-19 12:26:00 -07:00
.packager.env
.tests.env Bump Circle CI macOS container to Xcode 14.0.1, Ruby to 2.7.6, CocoaPods 1.11.3 (#34884) 2022-10-11 18:27:25 -07:00
android-e2e-test.js
android-setup.sh RN: Make retry3 Portable in CI Scripts 2022-09-28 10:57:07 -07:00
bump-oss-version.js Build the React Native NPM package when git is not available (#34694) 2022-09-16 02:58:36 -07:00
compose-source-maps.js
download-kotlin-compiler-with-buck.sh
find-node-for-xcode.sh
generate-api-docs.js
generate-codegen-artifacts.js infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
generate-provider-cli.js
generate-specs-cli.js
ios-configure-glog.sh
launchPackager.bat
launchPackager.command
lint-java.js
native_modules.rb Move cocoapods cli native_modules require from template to rn scripts (#34215) 2022-07-19 09:11:08 -07:00
node-binary.sh
objc-test.sh
packager-reporter.js
packager.sh Use readlink instead of realpath in packager.sh (#34145) 2022-07-20 07:06:18 -07:00
prepare-package-for-release.js Circle CI: Upload both tarballs to releases, dry-run the release workflow on every commit (#35015) 2022-10-19 17:54:22 -07:00
process-podspecs.sh
publish-npm.js Gate the Maven Central publishing to 0.x version. (#35109) 2022-10-27 20:47:44 -07:00
react_native_pods.rb Revert D40613108: 4/n Display a RedBox with the JS stack (instead of native stack) when an unhandled JS exceptions occurs - Try 2 2022-10-24 08:56:55 -07:00
react-native-xcode.sh introduce SKIP_BUNDLING_METRO_IP to skip ip.txt generation (#31829) 2022-10-10 01:26:29 -07:00
release-utils.js Gate the Maven Central publishing to 0.x version. (#35109) 2022-10-27 20:47:44 -07:00
retry3 RN: Make retry3 Portable in CI Scripts 2022-09-28 10:57:07 -07:00
run_ruby_tests.sh
run-android-ci-instrumentation-tests.js
run-android-emulator.sh
run-android-local-integration-tests.sh
run-android-local-unit-tests.sh
run-ci-e2e-tests.js Use verdaccio for the template e2e test (#34577) 2022-09-22 05:02:37 -07:00
run-ci-javascript-tests.js
run-instrumentation-tests-via-adb-shell.sh
scm-utils.js Do not depend on an ENV variable when publishing and setting the RN version (#34746) 2022-09-22 07:34:50 -07:00
set-rn-template-version.js
set-rn-version.js Do not depend on an ENV variable when publishing and setting the RN version (#34746) 2022-09-22 07:34:50 -07:00
setup-verdaccio.js Use verdaccio for the template e2e test (#34577) 2022-09-22 05:02:37 -07:00
sync-css-layout.sh
test-e2e-local-clean.js infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
test-e2e-local.js infra(e2e): fix enabling new arch for RNTester iOS in the E2E script (#34882) 2022-10-07 06:24:27 -07:00
test-manual-e2e.sh Fix test-manual-e2e on Android/Hermes for New App Template (#34294) 2022-07-28 06:23:11 -07:00
testing-utils.js infra(e2e): rework local E2E script (#34513) 2022-10-04 04:56:44 -07:00
try-n-times.js
update_podfile_lock.sh
update-ruby.sh Build the React Native NPM package when git is not available (#34694) 2022-09-16 02:58:36 -07:00
validate-android-device-env.sh
validate-android-sdk.sh
validate-android-test-env.sh
validate-ios-test-env.sh
version-utils.js Build the React Native NPM package when git is not available (#34694) 2022-09-16 02:58:36 -07:00