Azure-Samples / ms-identity-mobile-apple-swift-objc

An iOS sample in Swift that authenticates Microsoft Account and Azure AD users and calls the Graph API using OAuth 2.0
https://aka.ms/aaddev
74 stars 37 forks source link

Problem Building the Clone #94

Closed fgfreeman5 closed 3 days ago

fgfreeman5 commented 3 months ago

Hello, I have had some problems trying to set up my xcode environment after importing MSAL. Raheem Chisman recommended cloning the entire GitHub and working from there. I have done and tried to debug some of the beginning things such as assigning a team in Signing & Capabilities, but I run into to some warnings and errors when trying to build it. I have attached a screen shot of those. The errors seem to all correlate as one says there are multiple commands to create a file, but then it could not be found later. The other says there are duplicate files. The error message then says it cannot open said file. I have not adjusted the contents of the clone, so I am not sure where these errors are coming from. Let me know the next steps.

Screenshot 2024-07-30 at 10 44 43 AM
mipetriu commented 3 months ago

Hi @fgfreeman5 - to start, do you mind double-checking that you completed the initial setup steps for the MSAL iOS sample?

  1. After cloning, run pod install in the directory that holds the podfile
  2. Open the project using the .xcworkspace file
fgfreeman5 commented 3 months ago

Hi @mipetriu , I deintegrated and reinstalled with the pod command but still have an issue the MSAL.framework file. It is currently the only error I have which is an improvement, but it still has a few warnings. Is there any chance we can hop on a call to do this together? Here is the error screenshot again.

Screenshot 2024-08-06 at 1 05 28 PM
mipetriu commented 3 days ago

Hello @fgfreeman5, apologies for the extremely late follow up here. I will close this issue for now due to its inactivity, but feel free to re-open if you are still seeing issues.