Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Swift 6 Concurrency issue #2474

Open
hammas1993 opened this issue Jan 7, 2025 · 3 comments
Open

Swift 6 Concurrency issue #2474

hammas1993 opened this issue Jan 7, 2025 · 3 comments
Assignees

Comments

@hammas1993
Copy link

After switching to swift 6 app crashes on msalApplication.acquireTokenSilent(with: parameters)....!

@kaisong1990 kaisong1990 self-assigned this Jan 10, 2025
@kaisong1990
Copy link
Contributor

Hi @hammas1993 can you please share some sample code and crash logs? Thanks

@hammas1993
Copy link
Author

msalApplication.acquireTokenSilent(with: parameters)
{ (result, error) in
}
using this func in swift 6 creates this crash and if i remove the func the error doesn't occur

Screenshot 2025-01-12 at 6 46 10 PM

@djohnson-obdev
Copy link

I'm having the same issue. Is there a workaround? If I use the async version of that method, the compiler is complaining that MSALResult doesn't conform to Sendable.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants