Embedded Frameworks

When embedding frameworks to your Mac app there might be problems of finding a header file. There are three things to check for:

  • The framework needs to haveĀ @executable_path/../Frameworks as Installation Directory in it’s build settings.
  • The app should include the following in its framework search path: “$(CONFIGURATION_BUILD_DIR)/$(CONTENTS_FOLDER_PATH)/Frameworks” (including the quotes!)
  • Also make sure to have a Copy Frameworks build phase and that your famework is added to it.