Skip to content
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

Swift Scriptings Pauses Automatic Previews #2256

Closed
asbhat opened this issue Apr 23, 2022 · 2 comments
Closed

Swift Scriptings Pauses Automatic Previews #2256

asbhat opened this issue Apr 23, 2022 · 2 comments
Labels
bug Generally incorrect behavior

Comments

@asbhat
Copy link
Contributor

asbhat commented Apr 23, 2022

Bug report

When using swift scripting to generate code, after adding it to the build phase of the target, SwiftUI previews will continuously be paused.

auto-preview-paused

Versions

Please fill in the versions you're currently using:

  • apollo-ios SDK version: v0.51.2
  • Xcode version: v13.3.1
  • Swift version: v5.6
  • Package manager: SPM

Steps to reproduce

  1. Install and setup Swift scripting
  2. Make sure $ swift run ApolloCodegen generate runs successfully
  3. Add a run script to the build phase, as detailed here
  4. Notice SwiftUI previews will continue to pause themselves
asbhat added a commit to asbhat/apollo-ios that referenced this issue Apr 23, 2022
@calvincestari
Copy link
Member

Thanks for raising the issue @asbhat, let's keep the conversation in the PR for now - #2257

@calvincestari calvincestari self-assigned this May 23, 2022
@calvincestari calvincestari removed their assignment Jun 21, 2022
@jpvajda jpvajda added the bug Generally incorrect behavior label Jun 28, 2022
Copy link
Contributor

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Generally incorrect behavior
Projects
None yet
Development

No branches or pull requests

4 participants