I have a Swift project that depends on a Obj-C project (**InAppSettingsKit**)
Main Project builds in both release and debug mode (*Product|Scheme|Edit Scheme*).
When I try *Product|Archive* it fails:
error: 'InAppSettingsKit/IASKViewController.h' file not found
#import "InAppSettingsKit/IASKViewController.h"
^
<unknown>:0: error: failed to import bridging header '/Users/jlongo/Desktop/SSK/Screen Saver Killer/InAppSettingsKit-Bridging-Header.h'
This is the header file:
#ifndef Screen_Saver_Killer_InAppSettingsKit_Bridging_Header_h
#define Screen_Saver_Killer_InAppSettingsKit_Bridging_Header_h
#endif
#include <UIKit/UIKit.h>
#import "InAppSettingsKit/IASKViewController.h"
#import "InAppSettingsKit/IASKAppSettingsViewController.h"
#import "InAppSettingsKit/IASKSpecifierValuesViewController.h"
#import "InAppSettingsKit/IASKSpecifier.h"
#import "InAppSettingsKit/IASKSettingsReader.h"
#import <iAd/iAd.h>
Questions:
The h files are at the **UninstalledProducts** folder:
.../Build/Intermediates/ArchiveIntermediates/Screen Saver Killer/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/include/InAppSettingsKit
Questions:
- Is the problem in the InAppSettingsKit dependency project (I think
unlikely because release build works) ?
- Is Xcode looking for IASKViewController.h or IASKViewController.hmap
?
- If this is a path problem do I add the **Headers Search Path** to the
main "Targets" or "Project" ?
- How can I tell xcode to build this thing and tell me the path it is
using to look for the header files ?
- What macro do I use to specify the path ?