feat: integrate react-native-brownfield#271
Conversation
|
@atlj is attempting to deploy a commit to the Callstack team on Vercel, but is not a member of this team. To resolve this issue, you can:
To read more about collaboration on Vercel, click here. |
ca40d5f to
f1210ae
Compare
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
| export const PLUGINS: TemplateInfo[] = [ | ||
| { | ||
| type: 'npm', | ||
| name: 'brownfield-ios', |
There was a problem hiding this comment.
Perhaps we should have unified browfield (iOS + Android) template?
There was a problem hiding this comment.
we should have both specified as optional plugins, that's it
| installer.pods_project.targets.each do |target| | ||
| target.build_configurations.each do |config| | ||
| config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' | ||
| config.build_settings['SKIP_INSTALL'] = 'NO' |
There was a problem hiding this comment.
What about other flags from https://www.rnef.dev/docs/brownfield/ios ?
There was a problem hiding this comment.
I tried removing this code block, and it looks like it's working well. Not sure what this exactly solved but removing it as a whole for now.
cc: @okwasniewski
There was a problem hiding this comment.
I tried to solve the need to build ReactBrownfield.xcframework (the library) separately. So as it turned out it's not needed if we package it separately.
7fd9745 to
f40153a
Compare
|
I tried it but it unfortunately didn't work, can you do a rebase? 🙏 Something was wrong with linking the plugin (not with the implementation of brownfield itself) |
4f58305 to
ac2b0ae
Compare
8fb0c6e to
db85dea
Compare
d4a5b49 to
7655fcb
Compare
| path.join( | ||
| destinationDir, 'hermes.xcframework' | ||
| ), |
There was a problem hiding this comment.
| path.join( | |
| destinationDir, 'hermes.xcframework' | |
| ), | |
| hermesDestination, |
5d3c9d6 to
51f24b6
Compare
d1bdb32 to
0d23f24
Compare
Podfile.Summary
This integrates react-native-brownfield to the brownfield template for iOS.
Test plan
package:iosscript.