没有这样的模块“扶手椅” [英] No such module "Armchair"

查看:156
本文介绍了没有这样的模块“扶手椅”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题让我疯了。无论我做什么,我得到的问题没有这样的模块扶手椅,当我归档。它工作时,我建立,但当我归档XCode messes与我。

This problem is driving me insane. Whatever I do, I get the problem "No such module 'Armchair'" when I archive. It works when I build but when I archive XCode messes with me. I see XCode archiving/compiling Armchair.


  • 我已添加 $(PROJECT_DIR)/ AppName / External / Armchair / build / Release-iphoneos 框架搜索路径

  • 我已将框架添加到嵌入式二进制文件中

  • 我已将框架添加到链接框架和库中

  • 我也尝试添加框架复制框架在我的构建阶段

  • 我已经尝试添加扶手椅框架工作区,只添加&

  • I have added $(PROJECT_DIR)/AppName/External/Armchair/build/Release-iphoneos to Framework Search Paths.
  • I have added the framework in Embedded binaries
  • I have added the framework in Linked Frameworks and Libraries
  • I have also tried with adding the framework to copy frameworks in my Build Phases
  • I have tried by adding the Armchair framework to my workspace instead and only added & coping the framework from there.

我想我甚至尝试了一个雨天,只是为了确保。

I think I have even tried a raindance, just to be sure. It keeps refusing to work when archiving, but works for normal building and running on device.

我已阅读并尝试过这些相关问题:

I have read and tried these related questions:

  • No such module 'PFFacebookUtils'
  • "no such module" on Xcode 7 beta 2
  • Cannot install Alamofire in new Xcode Project. "No Such module Alamofire"
  • Xcode : "No such module" error, but the framework is there

运行XCode 7.1。关于如何解决它的任何建议?

Running XCode 7.1. Any suggestions on how to solve it?

推荐答案

好吧,我想出来了。它太简单了,如果你问我一个愚蠢的理由。

Ok, I figured it out. Its was too simple and kind of a stupid reason if you ask me.

我的核心应用程式有三种配置:

My core app three configurations:


  • 调试

  • 发布

  • 预发布

,在这种情况下是Armchair,只有 Debug Release 配置。
当我归档我的应用程序时,使用预发布配置,其中不包括 Armchair.xcodeproj 。将预发布配置添加到 Armchair.xcodeproj 中解决了我的问题。

The framework I added into my app, in this case Armchair, has only the Debug and Release configuration. When I archive my app, the Pre-Release configuration is used, which doesn't exist for the included Armchair.xcodeproj. Added the Pre-Release configuration to the Armchair.xcodeproj solved my problem.

这篇关于没有这样的模块“扶手椅”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆