I recently refactored a bunch of code. I split the original ios app into a couple of frameworks so that I could reuse them. I am able to build and run in the simulator and on my test devices. I can not build an achive
My build dependecies are
iOSApp -> CommonFramework -> Static lib
When I build iOSApp for archive I noticed that the publis static lib header files get copied
CpHeader STW.h ~/Library/Developer/Xcode/DerivedData/iOSApp-fzfjswokuxdnzucfawrmvgtbhuep/Build/Intermediates.noindex/ArchiveIntermediates/iOSApp/
InstallationBuildProductsLocation/usr/local/include/STW.h
When CommonFramework builds I get an error can not find STW.h
In the static library
build setting -> build locations -> configuration_build_dir for the release configuration is
$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
build setting -> build locations -> configuration_temp_dir for the release configuration is
$(PROJECT_TEMP_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
build setting -> packaging ->PUBLIC_HEADER_FOLDER_PATH for the release configuration is
/usr/loca/include
The search paths at compile time for the common Framework project
-I~/Library/Developer/Xcode/DerivedData/iOSApp-fzfjswokuxdnzucfawrmvgtbhuep/Build/Intermediates.noindex/ArchiveIntermediates/iOSApp/IntermediateBuildFilesPath/
CommonFramework.build/Release-iphoneos/CommonFramework.build/CommonFramework-own-target-headers.hmap
-I~/Library/Developer/Xcode/DerivedData/iOSApp-fzfjswokuxdnzucfawrmvgtbhuep/Build/Intermediates.noindex/ArchiveIntermediates/iOSApp/IntermediateBuildFilesPath/
CommonFramework.build/Release-iphoneos/CommonFramework.build/CommonFramework-all-non-framework-target-headers.hmap
-I~/Library/Developer/Xcode/DerivedData/iOSApp-fzfjswokuxdnzucfawrmvgtbhuep/Build/Intermediates.noindex/ArchiveIntermediates/iOSApp/BuildProductsPath/Release-iphoneos/include
-I~/Library/Developer/Xcode/DerivedData/iOSApp-fzfjswokuxdnzucfawrmvgtbhuep/Build/Intermediates.noindex/ArchiveIntermediates/iOSApp/BuildProductsPath/Release-iphoneos/usr/local/include
-I~/Library/Developer/Xcode/DerivedData/iOSApp-fzfjswokuxdnzucfawrmvgtbhuep/Build/Intermediates.noindex/ArchiveIntermediates/iOSApp/IntermediateBuildFilesPath/
CommonFramework.build/Release-iphoneos/CommonFramework.build/DerivedSources/armv7
-I~/Library/Developer/Xcode/DerivedData/iOSApp-fzfjswokuxdnzucfawrmvgtbhuep/Build/Intermediates.noindex/ArchiveIntermediates/iOSApp/IntermediateBuildFilesPath/
CommonFramework.build/Release-iphoneos/CommonFramework.build/DerivedSources
Do these values get over ridden by the iOS App setting?
Any idea where/what my configuration issue might be or how to debug this?
Where does "InstallationBuildProductsLocation" come from?
thanks
Andy