There is no such module "Armchair"

This problem is driving me crazy. No matter what I do, I have the problem β€œThere is no such Chair module when I archive. It works when I build, but when I archive Xcode sockets with me. I see Xcode archiving / compiling the chair.

  • I added $(PROJECT_DIR)/AppName/External/Armchair/build/Release-iphoneos in Framework Search Paths .
  • I added the framework to the embedded binaries
  • I added structure to Linked Frameworks and Libraries.
  • I also tried adding a framework for copying frameworks in Build Phases
  • I tried to add the Armchair structure to my workspace instead, and just added and dealt with the framework.

I think I even tried exposing it, just to be sure. He continues to refuse to work when archiving, but works for the normal construction and work on the device.

I read and tried the following related questions:

  • There is no such module "PFFacebookUtils"
  • "no such module" on Xcode 7 beta 2
  • Unable to install Alamofire in a new Xcode project. "There is no such Alamofire module"
  • Getting "No such module" error using Xcode, but structure exists

Launch Xcode 7.1. Any suggestions on how to solve it?

+7
ios compilation xcode swift armchair
source share
1 answer

Ok, I figured it out. It was too simple and stupid if you ask me.

There are three configurations in my main application:

  • Debug
  • Release
  • Pre-release

The structure that I added to my application, in this case the "Armchair", has only the Debug and Release configuration. When I archive my application, a preview version is used that does not exist for the included Armchair.xcodeproj . Added Pre-Release configuration in Armchair.xcodeproj solved my problem.

+6
source share

All Articles