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

Doesn't work on Xcode 11.4.1 #27

Closed
formacion-tyris opened this issue May 6, 2020 · 3 comments
Closed

Doesn't work on Xcode 11.4.1 #27

formacion-tyris opened this issue May 6, 2020 · 3 comments

Comments

@formacion-tyris
Copy link

I tried to use it, and if I build and run it all works, but SwiftUI previews are broken:

warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'ComposableArchitecture' from project 'swift-composable-architecture') warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'ComposableArchitecture' from project 'swift-composable-architecture') warning: Could not read serialized diagnostics file: Cannot Load File: Failed to open diagnostics file (in target 'ComposableArchitecture' from project 'swift-composable-architecture') <unknown>:0: error: unable to execute command: Abort trap: 6 <unknown>:0: error: compile command failed due to signal 6 (use -v to see invocation)

I'm not sure if it's not prepared for this version or if it's some local config.

@stephencelis
Copy link
Member

@formacion-tyris Can you attach a project that fails to build and provide more information for how to reproduce? Xcode previews are a bit finicky in general and sometimes you need to do some dance of build, clean, delete derived data, quit and reopen Xcode, etc., to get them working.

Also: have you cloned the repo and tried the example projects? They should all build and have working previews.

@stephencelis
Copy link
Member

(This may be related to #22.)

@stephencelis
Copy link
Member

@formacion-tyris Fixed this via #31! If you still encounter this issue with version 0.1.2 of the library, please let me know!

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

No branches or pull requests

2 participants