菜鸟教程小白 发表于 2022-12-11 19:24:16

ios - Swift Playgrounds 中的 JavaScriptCore


                                            <p><p>我目前正在开发一个应该在我的 iPad 上运行的 Swift Playground。它使用的是关于 Apple 的 JavaScriptCore:</p>

<p> <a href="https://developer.apple.com/library/content/documentation/Xcode/Conceptual/swift_playgrounds_doc_format/AvailableSDKs.html#//apple_ref/doc/uid/TP40017343-CH5-SW2" rel="noreferrer noopener nofollow">https://developer.apple.com/library/content/documentation/Xcode/Conceptual/swift_playgrounds_doc_format/AvailableSDKs.html#//apple_ref/doc/uid/TP40017343-CH5-SW2</a> </p>

<p>有人知道我如何导入和使用它吗?我的 iPad 总是说找不到模块。我使用的是最新的 iOS 版本 10.3。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>我认为某些库在 iPad 的 Playground 版本中不可用,您共享的链接显示了 XCode 的 swift Playground 的文档。和你一样,我尝试在 iPad 上使用 JavaScriptCore,但就像 HomeKit 和其他库一样,它不可用,最后记住 iPad 的 Playground 旨在以简单有趣的方式学习如何编程,而不是用于专业开发,希望这会很快改变,毕竟它有很大的潜力。</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - Swift Playgrounds 中的 JavaScriptCore,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/43161276/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/43161276/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - Swift Playgrounds 中的 JavaScriptCore