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+)

        Embedding a framework within a framework (iOS 8+)(在框架中嵌入框架(iOS 8+))
        <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 6 rotations: supportedInterfaceOrientations doesn#180;t work?(iOS 6 旋转:supportedInterfaceOrientations 不起作用?)
                  CABasicAnimation rotate returns to original position(CABasicAnimation 旋转返回原始位置)
                  UITabBarController Rotation Issues in ios 6(ios 6 中的 UITabBarController 旋转问题)
                  iOS: How to run a function after Device has Rotated (Swift)(iOS:设备旋转后如何运行函数(Swift))
                  How to rotate an image 90 degrees on iOS?(如何在 iOS 上将图像旋转 90 度?)
                  iOS 8 Rotation Methods Deprecation - Backwards Compatibility(iOS 8 旋转方法弃用 - 向后兼容性)
                      <tbody id='lyfEZ'></tbody>
                    <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'>

                          • <legend id='lyfEZ'><style id='lyfEZ'><dir id='lyfEZ'><q id='lyfEZ'></q></dir></style></legend>