Swift. dyld: library not loaded

I added a custom library (attach project) to the project. If I use it in main.swift

, everything will be fine. But if I try to do it like this:

import ARISockets

class MyClass {
    var listenSocket : PassiveSocketIPv4?
}

      

then it gives error

dyld: library not loaded

PS: I am doing Command Line Tool for mac

PSS: Add Library https://github.com/AlwaysRightInstitute/SwiftSockets

+3


source to share





All Articles