-
Notifications
You must be signed in to change notification settings - Fork 147
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
feat(shorebird_cli): add shorebird build ipa
#534
Conversation
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.
LGTM, although we'll need to figure out validators at some point
return ExitCode.noUser.code; | ||
} | ||
|
||
final validationIssues = await runValidators(); |
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.
This is a fun wrinkle – the default validators list only contains AndroidInternetPermissionValidator
, which doesn't apply here. I think we might need to have something similar in the app's entitlements file and/or its Info.plist.
String get name => 'ipa'; | ||
|
||
@override | ||
Future<int> run() async { |
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.
Do we want to verify that the current OS can build ipas? I'm sure flutter build ipa
will spit up appropriately so maybe we don't really need to.
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.
Yeah I was planning to leverage the error handling built into the flutter tool but happy to adjust this
|
||
buildProgress.complete(); | ||
|
||
const xcarchivePath = './build/ios/archive/Runner.xcarchive'; |
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.
Would probably be good to do a p.join
here, even though this should work anywhere you can build an ipa
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.
Sounds good, will adjust in the next PR 👍
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.
LGTM, although we'll need to figure out validators at some point
Description
shorebird build ipa
(part of cli / server support for iOS #518)Type of Change