apollographql / apollo-ios

📱  A strongly-typed, caching GraphQL client for iOS, written in Swift.
https://www.apollographql.com/docs/ios/
MIT License
3.87k stars 714 forks source link

Swift Scriptings Pauses Automatic Previews #2256

Closed asbhat closed 3 months ago

asbhat commented 2 years ago

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:

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
calvincestari commented 2 years ago

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

github-actions[bot] commented 3 months ago

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.