-
Notifications
You must be signed in to change notification settings - Fork 40
feat: integrate react-native-brownfield #271
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
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. |
packages/plugin-brownfield-ios/template/ios/HelloWorldReact/HelloWorldReact.swift
Show resolved
Hide resolved
packages/platform-apple-helpers/src/lib/commands/build/createBuild.ts
Outdated
Show resolved
Hide resolved
packages/plugin-brownfield-ios/template/ios/HelloWorldReact/HelloWorldReact.swift
Show resolved
Hide resolved
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we should have unified browfield (iOS + Android) template?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should have both specified as optional plugins, that's it
packages/plugin-brownfield-ios/template/ios/HelloWorldReact/HelloWorldReact.swift
Show resolved
Hide resolved
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about other flags from https://www.rnef.dev/docs/brownfield/ios ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| path.join( | |
| destinationDir, 'hermes.xcframework' | |
| ), | |
| hermesDestination, |
packages/plugin-brownfield-ios/template/ios/HelloWorldReact/HelloWorldReact.swift
Show resolved
Hide resolved
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.