Skip to content

Commit

Permalink
Update Podfile in template (#35931)
Browse files Browse the repository at this point in the history
Summary:
Added comment on Podfile under template directory.
I'm working with monorepo and didn't realize it easily to specify the path for react_native_post_install, so I thought it would be better to add this comment.

## Changelog

[IOS] [ADDED] - add comments for specifying the path to React Native

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

Pull Request resolved: #35931

Reviewed By: cipolleschi

Differential Revision: D42673707

Pulled By: jacdebug

fbshipit-source-id: 39e424a051d238f6dad42cb0b7748d4f4c400787
  • Loading branch information
sottar authored and facebook-github-bot committed Jan 24, 2023
1 parent c195487 commit 3876368
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions template/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ target 'HelloWorld' do
end

post_install do |installer|
# https://github.com/facebook/react-native/blob/main/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
# Set `mac_catalyst_enabled` to `true` in order to apply patches
# necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
Expand Down

0 comments on commit 3876368

Please sign in to comment.