MaikuB / MaikuB/flutter_appauth
Failed to build iOS app ARC Semantic Issue (Xcode)
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 308
- Forks
- 301
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 5
Description
I face the following error on running the app on iPhone simulator
Failed to build iOS app
ARC Semantic Issue (Xcode): No known class method for selector 'ASWebAuthenticationSession'
/Users/aia/.pub-cache/hosted/pub.dev/flutter_appauth-6.0.2/ios/Classes/OIDExternalUserAgentIOSNoSSO.m:115:34
Uncategorized (Xcode): Command SwiftEmitModule failed with a nonzero exit code
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with flutter_appauth-6.0.2/ios/Classes/OIDExternalUserAgentIOSNoSSO.m at line 115 and reproduce the build on the iPhone 15 Pro simulator. Investigate the reported missing ASWebAuthenticationSession selector and verify that the Flutter app builds and launches successfully without the ARC or Swift module errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, ios, objective-c
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100