wrobins / cordova-plugin-msal

Use the newest Microsoft MSAL library in your Cordova-based project!
Apache License 2.0
23 stars 66 forks source link

Cannot find MSAL/Msal.H #49

Open alcantaramark opened 4 years ago

alcantaramark commented 4 years ago

Hello, having some issues when used this plugin. I cannot run on Xcode saying that MSAL/Msal.h is not found on the import. Thanks!

fatbone008 commented 4 years ago

the same problem

jeffortdev commented 3 years ago

I used cordova 10 and cordova-ios 5.1.1 to resolve that error.

fchamieh commented 3 years ago

I used cordova 10 and cordova-ios 5.1.1 to resolve that error.

same here, resolved with cordova 10, cordova ios ^6

keshavvvv19 commented 3 years ago

Could you please help am getting msal.h file not found. Is it mandatory to use cordova10 or is there any other way to resolve it

jeffortdev commented 3 years ago

Could you please help am getting msal.h file not found. Is it mandatory to use cordova10 or is there any other way to resolve it

I don't think there is another way, I've tried this using cordova 9 and got the same error.

KiranSuresha commented 3 years ago

Resolved by removing and adding cordova to the project, cordova 10.0.0 and cordova-ios 6.2.0

Digital-Chen commented 3 years ago

I upgraded an existing Ionic project to cordova 10 and cordova-ios 6.2 but I still don't find MSAL.h. Any suggestion?

jeffortdev commented 3 years ago

I upgraded an existing Ionic project to cordova 10 and cordova-ios 6.2 but I still don't find MSAL.h. Any suggestion?

remove the platform, then add again.

Aston13 commented 3 years ago

I upgraded an existing Ionic project to cordova 10 and cordova-ios 6.2 but I still don't find MSAL.h. Any suggestion?

I am having the same issue, anyone found a solution?

Have updated to Cordova@latest and cordova-ios@latest, removed/added the platform, cordova prepare etc. and the issue persists

Aston13 commented 3 years ago

image

Does anyone else have this output from CocoaPods after install? possibly could be related

Digital-Chen commented 3 years ago

image

Does anyone else have this output from CocoaPods after install? possibly could be related

In my case, I had ms-adal in the project and apparently it caused conflict. I couldn't remove it by uninstall command so I manually deleted it from node modules, and then reinstall cordova-ios. The error suddenly went away. There were a couple of other steps I took in the generated project but I am sure you can figure those out easily.

Aston13 commented 3 years ago

The issue is fixed for me now, it was because I was opening the .xcodeproj and not the .xcworkspace! took me too long to figure that out :'D

exlmobility commented 3 years ago

The issue is fixed for me now, it was because I was opening the .xcodeproj and not the .xcworkspace! took me too long to figure that out :'D

hi can you please tell me which version of ios and cordova you are using

exlmobility commented 3 years ago

The issue is fixed for me now, it was because I was opening the .xcodeproj and not the .xcworkspace! took me too long to figure that out :'D

hi can you please tell me which version of ios and cordova you are using