hap-in-avfoundation icon indicating copy to clipboard operation
hap-in-avfoundation copied to clipboard

Default Xcode Project Does Not Compile under Xcode 9.4.1

Open TroikaTronix opened this issue 4 years ago • 0 comments

Attempting to compile Xcode project in Xcode 9.4.1 fails, as it does not find the header files for squish and snappy because the include files for squish and snappy are not copied to the $(BUILT_PRODUCTS_DIR).

#include <squish.h> (in squish-c.cpp) -- FAIL #include <snappy-c.h> (in hap.c)) -- FAIL

The following changes to the include path allows the project to compile.

change "$(BUILT_PRODUCTS_DIR)/include/snappy" to $(PROJECT_DIR)/external/snappy/snappy-mac/build/$(CONFIGURATION)/include/snappy

change "$(BUILT_PRODUCTS_DIR)/include/squish" to $(PROJECT_DIR)/external/squish/build/$(CONFIGURATION)/include/squish

Am I missing something? Does this project require a new version of Xcode?

TroikaTronix avatar Jul 11 '20 07:07 TroikaTronix