2

For example I need to import OneDrive SDK.

But I can't use cocoapods due to some reasons.

How to import this library as source files instead? The problem I have is all the import macro are surrounded with <>. For example this doesn't work:

#import <ADALiOS/ADUserInformation.h>

And this works:

#import "ADUserInformation.h"

But if it is possible to import them without of editing the source code?

Vyachaslav Gerchicov
  • 2,317
  • 3
  • 23
  • 49

1 Answers1

2

For your header files, if you want to import with angle brackets, you should pass relative or the absolute path for your header directory to the compiler. Check this answer for more details.

Community
  • 1
  • 1
Apurv
  • 17,116
  • 8
  • 51
  • 67
  • Thanks. It works even better than described in that answer. To make `USER_HEADER_SEARCH_PATHS` workable he should enable option `Always Search User Paths` – Vyachaslav Gerchicov Jan 17 '17 at 14:19