openid / AppAuth-iOS

iOS and macOS SDK for communicating with OAuth 2.0 and OpenID Connect providers.

Home Page:https://openid.github.io/AppAuth-iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More details for the build error for tag 1.6.2

lisafly2014 opened this issue · comments

Describe the bug
The usage for the AppAuth tag 1.6.2 is as below:

pod 'AppAuth', '= 1.6.2', :binary => true

After using "Pod install" and build my project I can see the build error
"OIDTVAuthorizationRequest.h" file not found in AppAuthTV.h

Other module of my project using "@import AppAuth;" will show " Could not build module 'AppAuth' "

Please refer to the screenshots I attached.

After changing the version to "1.6.1" for the above bold line, there's no build error.

To Reproduce

  1. Go to Podfile in my project file and then update the version 1.6.2, with the exact usage "pod 'AppAuth', '= 1.6.2', :binary => true"
  2. run "pod install"
  3. build
  4. See error I described above

Expected behavior
No build error for 1.6.2

Screenshots
Screen Shot 2023-10-06 at 7 35 42 AM

Screen Shot 2023-10-06 at 7 36 08 AM

Environment

  • Device: [ MacBook Pro, XCode]
  • OS: [macOS 12.5 Monterey , XCode 14.2 ]

Additional context
When I saw the build error with 1.6.2 on my own macbook XCode, i also build the same branch on my company remote Azure Jenkins build environment, which produces the same build error.

After changing to 1.6.1 for AppAuth, both my local XCode build and remote Jenkins build could both build successfully.

Out of curiosity, does removing :binary => true succeed?

Also, fWIW, this is the diff between 1.6.1 and 1.6.2. I can't see anything there that would be the cause of this on AppAuth's side.

1.6.1...1.6.2