react-native/scripts
Riccardo Cipolleschi f249bee171 Automatically detect when use frameworks is used (#35636)
Summary:
This PR introduce an automatic way to detect whether the user sets its podfile to use frameworks.
In this way, users don't have to install pods with a specific environment flag but they can rely on the standard Cocoapods usage

## Changelog

[IOS][ADDED] - Automatically detect whether use_frameworks! is used

Pull Request resolved: https://github.com/facebook/react-native/pull/35636

Test Plan:
- CircleCI is Green
- Added unit tests
- Tested locally with an app

Reviewed By: dmytrorykun

Differential Revision: D42029355

Pulled By: cipolleschi

fbshipit-source-id: 76c92133deabbda59603b043a4d542737f10f044
2022-12-16 04:36:29 -08:00
..
__tests__ feat(react-native-github): automate publishing bumped packages via circleci (#35621) 2022-12-14 02:17:16 -08:00
circleci fix(release scripts): backport fixes from 0.71 into main (#35258) 2022-11-08 10:03:29 -08:00
cocoapods Automatically detect when use frameworks is used (#35636) 2022-12-16 04:36:29 -08:00
codegen chore: renamed react-native-codegen to @react-native/codegen (#34804) 2022-11-28 08:28:51 -08:00
hermes Remove version from the tarball (#35285) 2022-11-14 08:31:30 -08:00
monorepo feat(react-native-github): automate publishing bumped packages via circleci (#35621) 2022-12-14 02:17:16 -08:00
react_native_pods_utils fix: script phases warning (#35594) 2022-12-08 09:05:56 -08:00
template refactor(scripts): use forEachPackage instead of yarn workspaces info (#35633) 2022-12-14 03:04:06 -08:00
versiontemplates
xcode Export REACT_NATIVE_PATH and fix find-node-for-xcode.sh fallback behavior (#33674) 2022-04-21 06:59:17 -07:00
.npmignore Move TypeScript declarations into react-native (#34614) 2022-09-19 12:26:00 -07:00
.packager.env
.tests.env Bump OSS Android build to SDK 33 (#35196) 2022-11-08 19:12:02 -08: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 Bypass tag check in dry run (#35428) (#35470) 2022-11-25 10:53:14 -08:00
compose-source-maps.js
download-kotlin-compiler-with-buck.sh Download kotlin compiler JARs for Buck instead of checking them in (#33209) 2022-03-02 13:04:49 -08:00
find-node-for-xcode.sh Reintroduce find-node.sh as mitigation measure (#33538) 2022-04-04 02:43:07 -07:00
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 chore: renamed react-native-codegen to @react-native/codegen (#34804) 2022-11-28 08:28:51 -08:00
generate-specs-cli.js Update CodeGen to leverage the outputDir as suggested in diff review (#33729) 2022-05-04 04:04:10 -07:00
ios-configure-glog.sh fix (glog script): remove invalid param from sed (#33967) 2022-06-17 11:58:08 -07:00
launchPackager.bat
launchPackager.command Use NODE_BINARY from .xcode.env when running packager from Xcode (#34121) 2022-07-12 05:52:22 -07:00
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 fix: Make WebSocketTests work in CI (#33721) 2022-04-28 08:53:24 -07:00
packager-reporter.js
packager.sh build: allow packager override for PROJECT_ROOT (#35354) 2022-11-17 14:18:09 -08:00
prepare-package-for-release.js Bypass tag check in dry run (#35428) (#35470) 2022-11-25 10:53:14 -08:00
process-podspecs.sh
publish-npm.js fix(scripts): remove leftover code for tmpPublishingFolder (#35528) 2022-12-01 16:38:42 -08:00
react_native_pods.rb Automatically detect when use frameworks is used (#35636) 2022-12-16 04:36:29 -08: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 fix(scripts): remove leftover code for tmpPublishingFolder (#35528) 2022-12-01 16:38:42 -08:00
retry3 RN: Make retry3 Portable in CI Scripts 2022-09-28 10:57:07 -07:00
run_ruby_tests.sh Run script phases tests in CI and Sandcastle (#33802) 2022-05-11 10:00:28 -07:00
run-android-ci-instrumentation-tests.js
run-android-emulator.sh Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
run-android-local-integration-tests.sh
run-android-local-unit-tests.sh
run-ci-e2e-tests.js refactor(scripts): use forEachPackage instead of yarn workspaces info (#35633) 2022-12-14 03:04:06 -08:00
run-ci-javascript-tests.js Fix Errors with TypeScript Tests 2022-12-15 19:17:58 -08:00
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 chore: renamed react-native-codegen to @react-native/codegen (#34804) 2022-11-28 08:28:51 -08:00
setup-verdaccio.js feat(react-native/template): use verdaccio to publish local packages before testing template app (#35444) 2022-11-23 13:20:00 -08:00
sync-css-layout.sh
test-e2e-local-clean.js fix(e2e script): backport from 71 fixes to the E2E script (#35477) 2022-11-25 03:26:20 -08:00
test-e2e-local.js fix(scripts): remove leftover code for tmpPublishingFolder (#35528) 2022-12-01 16:38:42 -08:00
test-manual-e2e.sh Void the Maven coordinates for react-native and hermes-engine (#35379) 2022-11-18 04:46:16 -08: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 Use realpath instead of readlink 2022-02-22 02:23:02 -08:00
update-ruby.sh Read .ruby-version file in Gemfile (#35410) 2022-11-21 05:59:19 -08:00
validate-android-device-env.sh Update CONTRIBUTING.md, replace wiki links (#34035) 2022-06-21 19:30:23 -07:00
validate-android-sdk.sh
validate-android-test-env.sh
validate-ios-test-env.sh bump Node references from 12/14 to 14/16 (#32980) 2022-01-28 05:07:18 -08:00
version-utils.js Fix version validation for nightlies 2022-11-25 13:46:45 -08:00