ios - Import ResearchKit breaks my build for UnitTests -
i trying use research kit in ios app (xcode 8 , swift 3), installed using cocoapods. before that, had unit , ui tests.
i'm able use research kit modules, when try run of tests, build fails. noticed happens unit tests, not ui tests.
some of errors are:
- include of non-modular header inside framework 'researchkit.orkvideoinstructionstep'
- include of non-modular header inside framework 'researchkit.orkvideocapturestep'
- duplicate interface definition
- property has previous declaration
this happens if use import researchkit. if comment import, test builds successfully.
i tried other solutions checking files public , putting script @ bottom of podfile doesn't fix problem.
edit: removed researchkit , imported again directly xcode folder repo, , time unit tests build successfully.
maybe it's problem cocoapods? did research still can't solve this. maybe have use researchkit "embedded binaries" approach.
Comments
Post a Comment