[swift-users] Compiled swift module to be used in swift REPL

Zhao Xin owenzx at gmail.com
Thu Jul 14 02:50:42 CDT 2016


You can create a folder named Sources in your .playground file package and
put your frameworks there. I guess you didn't use Xcode. Or you will find
it yourself.

[image: Inline image 1]

Zhaoxin

On Thu, Jul 14, 2016 at 3:36 PM, TUNG CK via swift-users <
swift-users at swift.org> wrote:

> I found out I could use
> swift -F build/Debug
> if the module is build as a target framework
> But how to put this framework to use in swift playground ?
>
> > TUNG CK via swift-users <swift-users at swift.org> 於 14 Jul 2016 1:33 PM
> 寫道:
> >
> > How can I use a compiled swift module to be use in swift REPL or
> playground ?
> >
> > such as in swift REPL
> > import MyModule
> >
> > P.S. I could use it in swift package manager by adding it as a
> dependency in  the Package.swift
> >
> > _______________________________________________
> > swift-users mailing list
> > swift-users at swift.org
> > https://lists.swift.org/mailman/listinfo/swift-users
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160714/9c0b1396/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 屏幕快照 2016-07-14 下午3.49.47.png
Type: image/png
Size: 39760 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160714/9c0b1396/attachment.png>


More information about the swift-users mailing list