<html><head><meta http-equiv="content-type" content="text/html; charset=big5"></head><body dir="auto"><div><img src="cid:61BA633F-A245-48B5-930B-D8806ECD9B92" alt="image1.PNG" id="61BA633F-A245-48B5-930B-D8806ECD9B92"><br></div><div>Thanks for you info.</div><div><br></div><div>No matter I put the framework under Sources or Resouces, it can't import in playground<br><div><br></div>Zhao Xin <<a href="mailto:owenzx@gmail.com">owenzx@gmail.com</a>> 於 14 Jul 2016 3:50 PM 寫道:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">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.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif"><屏幕快照 2016-07-14 下午3.49.47.png><br></div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Zhaoxin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 14, 2016 at 3:36 PM, TUNG CK via swift-users <span dir="ltr"><<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found out I could use<br>
swift -F build/Debug<br>
if the module is build as a target framework<br>
But how to put this framework to use in swift playground ?<br>
<div class="HOEnZb"><div class="h5"><br>
> TUNG CK via swift-users <<a href="mailto:swift-users@swift.org">swift-users@swift.org</a>> 於 14 Jul 2016 1:33 PM 寫道:<br>
><br>
> How can I use a compiled swift module to be use in swift REPL or playground ?<br>
><br>
> such as in swift REPL<br>
> import MyModule<br>
><br>
> P.S. I could use it in swift package manager by adding it as a dependency in the Package.swift<br>
><br>
> _______________________________________________<br>
> swift-users mailing list<br>
> <a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
> <a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-users</a><br>
_______________________________________________<br>
swift-users mailing list<br>
<a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-users</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote></body></html>