-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[iOS] Remove outdated artifacts codegen early return #53690
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
[iOS] Remove outdated artifacts codegen early return #53690
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
When no libraries are detected, artifacts codegen bails early, which breaks the build, since required podspecs aren't created.
e6a5d05 to
605869b
Compare
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D82103491. |
|
@cipolleschi merged this pull request in f6f5ea0. |
|
This pull request was successfully merged by @kitten in f6f5ea0 When will my fix make it into a release? | How to file a pick request? |
Summary: Follow-up to #53503 for a regression When no React Native module is present this bail condition stops us from generating the artifacts podspec that's needed to complete build. ## Changelog: [IOS] [FIXED] - Fix regression that skips artifacts code generation Pull Request resolved: #53690 Test Plan: - Create an app **without** any React Native modules, run `pod install`; without this fix the podspec will be missing and the build will fail - With expo this can be reproduced using `create-expo-app --template blank-typescript@next` on `[email protected]` - With the community CLI this can be reproduced using `npx react-native-community/cli@latest init test --skip-install --version 0.81.2` and uninstalling `react-native-safe-area-context` Reviewed By: javache Differential Revision: D82103491 Pulled By: cipolleschi fbshipit-source-id: 3d9619b5a935ca920220824b3963a9a107f926ca
|
This pull request was successfully merged by @kitten in c3149f2 When will my fix make it into a release? | How to file a pick request? |
Summary: Follow-up to #53503 for a regression When no React Native module is present this bail condition stops us from generating the artifacts podspec that's needed to complete build. ## Changelog: [IOS] [FIXED] - Fix regression that skips artifacts code generation Pull Request resolved: #53690 Test Plan: - Create an app **without** any React Native modules, run `pod install`; without this fix the podspec will be missing and the build will fail - With expo this can be reproduced using `create-expo-app --template blank-typescript@next` on `[email protected]` - With the community CLI this can be reproduced using `npx react-native-community/cli@latest init test --skip-install --version 0.81.2` and uninstalling `react-native-safe-area-context` Reviewed By: javache Differential Revision: D82103491 Pulled By: cipolleschi fbshipit-source-id: 3d9619b5a935ca920220824b3963a9a107f926ca
|
This pull request was successfully merged by @kitten in 7754c05 When will my fix make it into a release? | How to file a pick request? |
Summary:
Follow-up to #53503 for a regression
When no React Native module is present this bail condition stops us from generating the artifacts podspec that's needed to complete build.
Changelog:
[IOS] [FIXED] - Fix regression that skips artifacts code generation
Test Plan:
pod install; without this fix the podspec will be missing and the build will failcreate-expo-app --template blank-typescript@nexton[email protected]npx @react-native-community/cli@latest init test --skip-install --version 0.81.2and uninstallingreact-native-safe-area-context