GithubHelp home page GithubHelp logo

Comments (5)

PhilJay avatar PhilJay commented on June 30, 2024

I tried applying a quick fix.
I think it has something to do with using the ? instead of the !.

In case it doesn't work now, try avoiding the ? whenever possible.
As far as I know Daniel will not be available until next week, so this issue will have to wait until then since I am not 100% familiar with his code and do not want to make any greater changes :-)

This is what I found on the web: http://stackoverflow.com/questions/24222644/swift-compiler-segmentation-fault-when-building

from charts.

 avatar commented on June 30, 2024

Thank you PhilJay. I'll try the suggestions.

from charts.

danielgindi avatar danielgindi commented on June 30, 2024

Well actually sometimes the ? is necessary if you want to avoid a nil check, as ! unwraps and assumes there's a value, but the ? is an optional.

For me of course it compiled well, but Xcode currently crashes sometimes during compilation of Swift, which is what you are experiencing.
It is expected to be fixed when Swift 1.2 is final...
I hope so at least.

from charts.

danielgindi avatar danielgindi commented on June 30, 2024

I'm training currently but will try to reproduce the crash when I come back. The iPhone can't run Xcode... yet

from charts.

danielgindi avatar danielgindi commented on June 30, 2024

Compilations seem to pass through fine in latest Xcode with Phil's fix

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.