Can't run Research and Care App (WWDC Code Along)

Hello everyone, I just started watching the WWDC21 Code Along "Build a Research and Care App, Part 1" and wanted to run the project in Xcode. However, when I clone the Repo with the recommended git clone --recurse-submodule https://github.com/carekit-apple/WWDC21-RecoverApp.git command and open the project, I get the following error:

/WWDC21-RecoverApp/Recover Part 1/Recover.xcodeproj This Copy Files build phase contains a reference to a missing file 'ResearchKit.framework'.

/WWDC21-RecoverApp/ResearchKit only contains 2 files (CONTRIBUTING.md and LFS-Files).

I was wondering how I could get the project up and running and if there are additional steps to take, that I didn't see in the presentation / Github Readme.

Thanks!

  • Hello, MxFx... I suggest deleting your first attempt then doing a fresh clone using the same "recommended" code snippet as in your original post. I just did a fresh clone using that command and then successfully built the Recover scheme and the app is now running on a iPhone 12 Simulator as I type this.... Good Luck!

Add a Comment

Replies

Same here. When downloading from git via the command line:

git clone --recurse-submodule https://github.com/carekit-apple/WWDC21-RecoverApp.git

I do receive the following error message in the output:

git-lfs filter-process: git-lfs: command not found

fatal: the remote end hung up unexpectedly

Unable to checkout '0ad96d505c031cf2fc19eacd712dff7c46c71785' in submodule path 'ResearchKit'

I am new to ResearchKit and have met the same problem. Then I figured it out.

Install git-lfs first, then when cloning the project, it will automatically download all the files in ResearchKit.

brew install git-lfs
git lfs install
git lfs install --system