Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Provide support for waldo add and waldo build for Xcode #20

Closed
edelans opened this issue May 12, 2023 · 2 comments
Closed

Provide support for waldo add and waldo build for Xcode #20

edelans opened this issue May 12, 2023 · 2 comments
Assignees
Milestone

Comments

@edelans
Copy link
Collaborator

edelans commented May 12, 2023

waldo add

Adds (or updates) a recipe describing how to build and upload a specific variant of the app.

USAGE: waldo add [--upload_token <t>] [--verbose] <recipe-name>

ARGUMENTS:
  <recipe-name>           The name of the recipe to add.

OPTIONS:
  --upload_token <t>      The upload token associated with your app.
  --verbose               Display extra verbiage.

Actions

  • If an upload token is specified:
    • Queries the backend for metadata associated with the upload token (viz., name and platform for the associated application).
  • Otherwise:
    • Launches a special request on the user’s default web browser via open <url>.
    • Once the user has authenticated with Waldo, a web socket connection returns a list of all Waldo applications the user has access to. This list includes the name, platform, and upload token for each application.
    • If there is more than one application returned, the user is prompted to choose one.
  • If the app project can generate more than one build variant, the user is prompted to choose one. (Depending on the build tool, this may require multiple prompts. Build variants already handled by defined recipes should be filtered out.)
  • The shared data (i.e., .waldo/config.yml) is updated to reflect the new (or updated) recipe.
@edelans
Copy link
Collaborator Author

edelans commented May 12, 2023

note: John successfully built the wikipedia app with xcode with the command

xcodebuild -project Wikipedia.xcodeproj -scheme Wikipedia -configuration Debug -destination 'generic/platform=iOS Simulator' clean build

@edelans
Copy link
Collaborator Author

edelans commented May 17, 2023

note from wed demo : path should be relative, not absolute (bc you shoudl not commit user specific data)

@eBardX eBardX closed this as completed Jun 14, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants