Unable to build module AppAuth
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 2k
- Forks
- 867
- Avg merge
- 4d 48m
- Merged PRs (30d)
- 1
Description
We are trying to make use of AppAuth in our iOS project. Using Xcode 11.5, Swift 5.
Adding the framework through Cocoapods works fine. But when importing the module in any class the build will fail.
There are 2 error messages
- Could not build module 'AppAuth'
-.../Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.h:37:1: Conflicting nullability specifier on return types, 'nullable' conflicts with existing specifier 'nonnull'
Whatever we try, we just can't seem to get around this error.
Any suggestions about a possible solution?
Thank you
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 the reported failure in Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.h at line 37, using the Xcode 11.5 and Swift 5 setup described. Reproduce the CocoaPods integration and inspect the conflicting nullability diagnostics when importing AppAuth. Done means the module builds successfully and can be imported in an iOS class.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c, swift
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100