-
Notifications
You must be signed in to change notification settings - Fork 17
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
Error when trying to import Expression in Playground #3
Comments
I've experienced the same issue, and I'm afraid the Playground name isn't the bug. The other related bug is "Can't find Expression_Sources" (#4). I searched for a long time to find a real solution for these without success, but I can offer a temporary solution:
I'll be continuing to look for the cause of these problems, but I'm afraid for the time being we'll have to make do with this workaround. |
Did you encounter the issue even after renaming the playground ? Renaming the playground fixed it for me but Xcode is indeed quite buggy : the playground was sometimes working and sometimes not before I renamed it...
Trevör
… Le 30 déc. 2017 à 18:08, Michael Pangburn ***@***.***> a écrit :
I've experienced the same issue, and I'm afraid [https://i.imgur.com/2ZlLzcN.png](the Playground name isn't the bug). The other related bug is "Can't find Expression_Sources" (#4). I searched for a long time to find a real solution for these without success, but I can offer a temporary solution:
In AnimationEvaluation.swift (located in the Sources folder of Expression.xcplayground), comment out the import Expression line.
Return to a Playground page and allow compilation of the Sources to fail. You may not get any error message in the console, but you should see the little red Xcode failure icon at the top of the screen (likely with the number 3 on it).
Return to AnimateEvaluation.swift and uncomment the import Expression line.
Return to the Playground pages--they should now function.
I'll be continuing to look for the cause of these problems, but I'm afraid for the time being we'll have to make do with this workaround.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes, the issue persists for me even when renaming the Playground--can you consistently open the .xcworkspace file and run the Playground pages without errors after renaming? |
I hadn't relaunched Xcode, now that I did the issue is back ! 😕
Hope that Apple will fix this soon...
… Le 30 déc. 2017 à 21:25, Michael Pangburn ***@***.***> a écrit :
Yes, the issue persists for me even when renaming the Playground--can you consistently open the .xcworkspace file and run the Playground pages without errors after renaming?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AH7odzrzFz2O_7zk-FvCftgcEEvFzNyqks5tFpw3gaJpZM4RPlgd>.
|
Unfortunately even following your temporary workaround the issue is persisting on my machine. If I have time I shall see if I can fix it. Otherwise, I'll keep checking. A wonderful looking project though. |
Amazing project it's beautiful !
I just had a little issue where Xcode (9.2) wasn't able to run the playground due to an error when trying to
import Expression
, changing the name of the playground solves the issue apparently (other people on SO have similar issues).The text was updated successfully, but these errors were encountered: