1. <tfoot id='UqRds'></tfoot>
      <i id='UqRds'><tr id='UqRds'><dt id='UqRds'><q id='UqRds'><span id='UqRds'><b id='UqRds'><form id='UqRds'><ins id='UqRds'></ins><ul id='UqRds'></ul><sub id='UqRds'></sub></form><legend id='UqRds'></legend><bdo id='UqRds'><pre id='UqRds'><center id='UqRds'></center></pre></bdo></b><th id='UqRds'></th></span></q></dt></tr></i><div id='UqRds'><tfoot id='UqRds'></tfoot><dl id='UqRds'><fieldset id='UqRds'></fieldset></dl></div>

        <bdo id='UqRds'></bdo><ul id='UqRds'></ul>

      <small id='UqRds'></small><noframes id='UqRds'>

        <legend id='UqRds'><style id='UqRds'><dir id='UqRds'><q id='UqRds'></q></dir></style></legend>

        在框架中嵌入框架(iOS 8+)

        时间:2023-05-19
        <i id='FFwdc'><tr id='FFwdc'><dt id='FFwdc'><q id='FFwdc'><span id='FFwdc'><b id='FFwdc'><form id='FFwdc'><ins id='FFwdc'></ins><ul id='FFwdc'></ul><sub id='FFwdc'></sub></form><legend id='FFwdc'></legend><bdo id='FFwdc'><pre id='FFwdc'><center id='FFwdc'></center></pre></bdo></b><th id='FFwdc'></th></span></q></dt></tr></i><div id='FFwdc'><tfoot id='FFwdc'></tfoot><dl id='FFwdc'><fieldset id='FFwdc'></fieldset></dl></div>

              <tfoot id='FFwdc'></tfoot>
            • <legend id='FFwdc'><style id='FFwdc'><dir id='FFwdc'><q id='FFwdc'></q></dir></style></legend>
                <bdo id='FFwdc'></bdo><ul id='FFwdc'></ul>
                  <tbody id='FFwdc'></tbody>

                  <small id='FFwdc'></small><noframes id='FFwdc'>

                • 本文介绍了在框架中嵌入框架(iOS 8+)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  使用 Xcode 6 或更高版本构建的 iOS 应用程序允许在其中嵌入动态 iOS 框架.我正在构建一个共享框架,并想嵌入一个子框架.我怎样才能做到这一点?

                  iOS applications built with Xcode 6 or higher allow embedding dynamic iOS frameworks within them. I am building a shared framework and would like to embed a sub-framework. How can I accomplish this?

                  注意:这可能的并且正在在生产中使用(例如,在 CocoaPods).

                  Note: This is possible and is being used in production (for e.g., with Swift frameworks in CocoaPods).

                  推荐答案

                  找到了答案.以下是它的完成方式:

                  Found the answer. Here's how it's done:

                  • 导航到目标 > 构建阶段
                  • 点击小+"图标并选择New Run Script Build Phase"
                  • 粘贴以下内容:

                  • Navigate to Target > Build Phases
                  • Click the small "+" icon and select "New Run Script Build Phase"
                  • Paste the following:

                  cd $BUILT_PRODUCTS_DIR
                  
                  mkdir $PROJECT_NAME.framework/Frameworks &>/dev/null
                  
                  for framework in *.framework; do
                      if [ $framework != $PROJECT_NAME.framework ]; then
                          cp -r $framework $PROJECT_NAME.framework/Frameworks/ &>/dev/null
                      fi
                  done
                  

                  这篇关于在框架中嵌入框架(iOS 8+)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:带有嵌套嵌入式框架的 iOS 8+ 框架 下一篇:在客户端获取 iOS 通用框架的版本号

                  相关文章

                    <i id='lyfEZ'><tr id='lyfEZ'><dt id='lyfEZ'><q id='lyfEZ'><span id='lyfEZ'><b id='lyfEZ'><form id='lyfEZ'><ins id='lyfEZ'></ins><ul id='lyfEZ'></ul><sub id='lyfEZ'></sub></form><legend id='lyfEZ'></legend><bdo id='lyfEZ'><pre id='lyfEZ'><center id='lyfEZ'></center></pre></bdo></b><th id='lyfEZ'></th></span></q></dt></tr></i><div id='lyfEZ'><tfoot id='lyfEZ'></tfoot><dl id='lyfEZ'><fieldset id='lyfEZ'></fieldset></dl></div>
                      <bdo id='lyfEZ'></bdo><ul id='lyfEZ'></ul>

                      <tfoot id='lyfEZ'></tfoot>

                      <small id='lyfEZ'></small><noframes id='lyfEZ'>

                    1. <legend id='lyfEZ'><style id='lyfEZ'><dir id='lyfEZ'><q id='lyfEZ'></q></dir></style></legend>