Skip to content

Can't get swift to find the haskell function #3

@Verneri

Description

@Verneri

I have now checked multiple times that i should have done all the correct steps. After several Clean build folder build try outs it also built itself.

Now while running it seems that Haskell is nicely calling Swift as the window opens and i see a nice start of hello world in the console. but then it runs into problems:

hello world
dyld: lazy symbol binding failed: Symbol not found: _square
  Referenced from: /Users/verneri/Library/Developer/Xcode/DerivedData/SwiftHaskell-gboogzegqjkzygasdvpdhasnglaw/Build/Products/Debug/SwiftAppLibrary.framework/Versions/A/SwiftAppLibrary
  Expected in: flat namespace

dyld: Symbol not found: _square
  Referenced from: /Users/verneri/Library/Developer/Xcode/DerivedData/SwiftHaskell-gboogzegqjkzygasdvpdhasnglaw/Build/Products/Debug/SwiftAppLibrary.framework/Versions/A/SwiftAppLibrary
  Expected in: flat namespace

What could be the problem here?

all in all i like the tutorial and am very interested in seeing tooling that let's us develop better UI apps with languages like haskell very much. Would it be possible to actually do an xcode project template for this? i mean one that would have all the pieces together already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions