What worked for me was benjohnde 's solution in his comment below the gist. I am using Carthage to add the Fuzi html parser framework to a project. Adding these commands to the Carthage build script (manually copying the the libswiftCore files to the project) is what worked for me.
As linking to gists doesn't seem to be allowed, I'm copy/ pasting the comment:
You can also use the copy-frameworks cmd by Carthage and just run before the Carthage script the following:
$TOOLCHAIN_DIR/usr/bin/swift-stdlib-tool \ --copy --verbose --sign ${EXPANDED_CODE_SIGN_IDENTITY} \ --scan-executable ${TARGET_BUILD_DIR}/${EXECUTABLE_PATH} \ --scan-folder ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH} \ --scan-folder ${TARGET_BUILD_DIR}/${PLUGINS_FOLDER_PATH} \ --platform ${PLATFORM_NAME} \ --toolchain $TOOLCHAIN_DIR \ --destination ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH} \ --strip-bitcode --resource-destination ${TARGET_BUILD_DIR}/${FULL_PRODUCT_NAME} \ --resource-library libswiftRemoteMirror.dylib
This then copies only the missing swift framework files needed to actually run the app. For me, this works perfectly!