Darling: Some GUI APIs issues

Created on 22 Oct 2018  Â·  2Comments  Â·  Source: darlinghq/darling

Darling [/Volumes/SystemRoot/home/laptop2/test/hellococoa]$ swift test.swift
objc[297]: Class CIContext is implemented in both /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore (0x7fffed42a590) and /System/Library/Frameworks/CoreImage.framework/CoreImage (0x7fffe6d84330). One of the two will be used. Which one is undefined.
Assertion failed: (isRealized()), function isMetaClass, file /root/rpmbuild/BUILD/darling/src/external/objc4/runtime/objc-runtime-new.h, line 1221.
Stack dump:

  1. Program arguments: /Library/Developer/CommandLineTools/usr/bin/swift -frontend -interpret test.swift -enable-objc-interop -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -color-diagnostics -module-name test
    Abort trap: 6
    with the AppKit example at https://www.objc.io/blog/2018/10/02/using-appkit-from-the-command-line/.

I didn't expect it to work, but not to do this too...

Bug GUI

All 2 comments

Cocoa is absolutely not yet officially supported — but thanks, I'll look into it, the program is simple enough it might actually work with what we have now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xlmnxp picture xlmnxp  Â·  7Comments

LubosD picture LubosD  Â·  5Comments

wusikijeronii picture wusikijeronii  Â·  4Comments

pmannle picture pmannle  Â·  7Comments

Arucard1983 picture Arucard1983  Â·  3Comments