-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot build the project on macOS 11.0 Big Sur #89
Comments
Hey Tim, Also, have you tried building any other Stack projects lately? I am wondering if this is an issue for other Stack projects as well. |
This is my stack version: I've tried creating a new project with stack and run it, worked just fine. I guess the problem can be in repo's code or one of its dependencies which can use Cocoa directly or indirectly. Also, I'm not sure if Cococa.framework can be installed, I tried once but it didn't work out. Maybe I did something wrong tho |
Yes, that's what I figured. From the error message seems like the Lib (which is majority of the code) built successfully, but when building executable (which is Wasp cli) it failed. I guess you have XCode already installed? With it comes a lot of dev dependencies, but I guess they dropped Cocoa from it as you mentioned? |
Yep, seems so @matijaSos If you could give me a hint (I'm still new to Haskell and its ecosystem) how to find what depends on |
So, @matijaSos, most likely the problem is related to |
This looks right, great find @tmphey. I see that hfsevents depends on OS X FSEvents API which is part of CoreServices. I guess that is included in Cocoa? Also, have you tried downloading and running the prebuilt binary as explained here? Although I would expect it not to work as well if this is the cause since it is built dynamically. |
Actually the binary works. I'm able to create a new project, build & run without an issue |
That's great! Although it would still be great to figure out how to fix this problem so you and others using Big Sur can contribute as well. We will investigate this further and any ideas you might have are of course welcome. |
Hello folks!
I'm trying to build the project on my machine with steps described in readme but with no success:
I guess this may be because Apple got rid of system
Cocoa.framework
which affects a lot of software. There are no release notes describing the change but I've seen that before.The text was updated successfully, but these errors were encountered: