1

I am making an app using the ResearchKit framework of Apple.

I have followed the installation guide of ResearchKit on GitHub and added the files to my project. Now when I am trying to import the header files of this framework, I get an error:

File not found

What I did:

I created a new project named CreatingTasks.xcodeproj.

Then I added ResearchKit files by dragging the researchKit.xcodeproj in my navigation controller, and embedding the ResearchKit framework in embedded binaries.

Now I want to create a simple task in my existing view controller but I am unable to import the header files.

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
  • 1
    Can you provide some parts of code for better understanding. Thanks – farhangdon Jun 02 '15 at 17:17
  • the problem is very tiny. I created a new project named CreatingTasks.xcodeproj . Then I added researchKit files by dragging the researchKit.xcodeproj in my navigation controller and embedding the researchkit framework in embedded binaries. Now I want to create a simple task in my existing view controller but I am unable to import the header files. here is the link of researchKit github, https://github.com/ResearchKit/ResearchKit i used to add this framework – Ankit Gupta Jun 02 '15 at 17:26

1 Answers1

2

You need to build the ResearchKit target once first. Then you should be able to import ResearchKit. If that doesn't help, please post a project on GitHub and give us a link.

jwe
  • 436
  • 2
  • 4