You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Hi I have installed the latest version of this pod and put together a bridging header and it is telling me that this header is not found, I have cleaned by project and tried multiple things no progress, can you check this out ?
The text was updated successfully, but these errors were encountered:
ArEnSc
changed the title
xcode 7.1 Swift Bridge Header cannot find #import <MSGraphSDK-NXOAuth2Adapter/MSGraphSDKNXOAuth2.h>
xcode 7.3.1 Swift Bridge Header cannot find #import <MSGraphSDK-NXOAuth2Adapter/MSGraphSDKNXOAuth2.h>
Sep 16, 2016
I had the same problem for you. I'm working on a Swift project with CocoaPods.
Initially, I was able to get things working by setting User Header Search Paths to Pods/**. I believe this tells the compiler to recursively search the "Pods" directory.
This worked, but ended up cause problems when I installed "Realm".
It seems that the problem is an incorrect import statement.
For me, I've pretty much removed the bridging header entirely and used this approach instead.
In this pod, find NXOAuth2AuthenticationProvider.h file and change
#import "MSAuthenticationProvider.h" to #import "MSGraphSDK/MSAuthenticationProvider.h"
This tells the compiler to look in MSGraphSDK module for MSAuthenticationProvider.
In Swift, use import MSGraphSDK_NXOAuth2Adapter to import the library directly into files where you need it.
Also, User Header Search Paths should ideally be empty
If I get an opportunity, I'll try to submit a PR to properly fix it. Right now, I just track my pods.
Hi I have installed the latest version of this pod and put together a bridging header and it is telling me that this header is not found, I have cleaned by project and tried multiple things no progress, can you check this out ?
The text was updated successfully, but these errors were encountered: