菜鸟教程小白 发表于 2022-12-12 15:51:39

ios - 从 Xcode.app 包中添加 IOKit


                                            <p><p>我正在关注 <a href="https://github.com/kif-framework/KIF" rel="noreferrer noopener nofollow">instructions</a>从 Github 安装 KIF,它提供了一个非常详细的分步导览,以使其工作。也就是说,直到它到达这一点。</p>

<blockquote>
<p>KIF requires the IOKit.framework. Unfortunately as of Xcode 6.3 you
need to manually add IOKit from the Xcode.app bundle. After doing so
remove
<code>$(DEVELOPER_DIR)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks</code>
from the Framework Search Path setting (Xcode automatically adds it
after manually importing).</p>
</blockquote>

<p><em>从包中添加一些东西是什么意思</em>?是否有可用的分步说明我应该怎么做才能做到这一点?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>这意味着您必须在项目设置的 Build Phases 中手动拖放 <strong>IOKit.framework</strong>,因为当您点击加号按钮时它不在选择器中。</p>

<p>您可以在这里找到框架,例如:</p>

<blockquote>
<p>Macintosh HD/Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk/System/Library/Frameworks</p>
</blockquote></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 从 Xcode.app 包中添加 IOKit,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/31478951/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/31478951/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 从 Xcode.app 包中添加 IOKit