<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Possibly a mismatch in the import of the CoreGraphics swift runtime overlay?<div class=""><br class=""></div><div class="">Please open a bug with package-manager as the component. <a href="https://bugs.swift.org" class="">https://bugs.swift.org</a></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 26, 2016, at 4:37 AM, Swift Studies via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class=""></div><div class="">I have often wanted to quickly test a module I have built in the REPL after building... I can get so far, but then bump up against a problem where it can't seem to find the right symbols. I'm sure I'm doing something simple wrong but the flow is:&nbsp;</div><div class=""><br data-mce-bogus="1" class=""></div><div class="">swift build</div><div class=""><br data-mce-bogus="1" class=""></div><div class="">This correctly builds the module, and I can see .build/debug/PipMath.swiftmodule afterwards</div><div class=""><br class=""></div><div class="">So I try to run the REPL with the new module available for import</div><div class=""><br data-mce-bogus="1" class=""></div><div class="">swift -I .build/debug</div><div class=""><br data-mce-bogus="1" class=""></div><div class="">Which works and I can....</div><div class=""><br data-mce-bogus="1" class=""></div><div class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #747474;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #747474;" class="">&nbsp;&nbsp;1&gt; </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class="">import CoreGraphics</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #747474;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #747474;" class="">&nbsp; 2&gt; </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class="">import PipMath</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #747474;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #747474;" class="">&nbsp; 3&gt; </span><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class="">print(random(from:1.0, to:2.0))</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class="">error: Couldn't lookup symbols:</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class="">&nbsp; __TF7PipMath6randomFT4fromV12CoreGraphics7CGFloat2toS1__S1_</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class="">So it very nearly works, but can't seem to find the symbol. Any ideas what I need to do in addition? It would be very useful for iterative development!</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class=""><br data-mce-bogus="1" class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" data-mce-style="font-variant-ligatures: no-common-ligatures;" class="">-sstudies</span></div></div></div>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>