How to use a custom framework in an iOS project?
<p>I've searched various websites for a solution to this problem, and haven't found one which actually works for me.</p>

<p>What I have is a custom framework, which shows up as follows in Xcode's <code>Derived Data</code> folder:</p>

<p><a href="https://i.stack.imgur.com/QYZcr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QYZcr.png" alt="Framework Folder"></a></p>

<p>As you can see, it's a <code>universal</code> framework. From my understanding, this means, that it can be used for actual <em>iOS Devices</em> <strong>and</strong> <em>Simulator</em> alike.  </p>

<p>In order to generate the <code>universal</code> framework, I got the following run script from some tutorial, which I can't recall:</p>

<pre><code>#CONFIG=${CONFIGURATION}
CONFIG=Release

# Step 1.
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIG}-universal
mkdir -p "${UNIVERSAL_OUTPUTFOLDER}"

# Step 2.
xcodebuild -target "${PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIG} -sdk iphoneos  BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="$BUILD_ROOT" clean build

xcodebuild -target "${PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIG} -sdk iphonesimulator -arch x86_64 -arch i386  BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="$BUILD_ROOT" clean build

# Step 3.
cp -R "${BUILD_DIR}/${CONFIG}-iphoneos/${PROJECT_NAME}.framework" "${UNIVERSAL_OUTPUTFOLDER}/"

cp -R "${BUILD_DIR}/${CONFIG}-iphonesimulator/${PROJECT_NAME}.framework/Modules/${PROJECT_NAME}.swiftmodule/}" "${UNIVERSAL_OUTPUTFOLDER}/${PROJECT_NAME}.framework/Modules/${PROJECT_NAME}.swiftmodule"

# Step 4.
lipo -create -output  "${UNIVERSAL_OUTPUTFOLDER}/${PROJECT_NAME}.framework/${PROJECT_NAME}" "${BUILD_DIR}/${CONFIG}-iphonesimulator/${PROJECT_NAME}.framework/${PROJECT_NAME}" "${BUILD_DIR}/${CONFIG}-iphoneos/${PROJECT_NAME}.framework/${PROJECT_NAME}"
</code></pre>

<hr>

<p>So now I have <code>LanguageKit.framework</code>.<br>
I want to use this framework in a single view application.  </p>

<p>How would I go about including the framework in the project?</p>