AppAuth-iOS icon indicating copy to clipboard operation
AppAuth-iOS copied to clipboard

More details for the build error for tag 1.6.2

Open lisafly2014 opened this issue 2 years ago • 2 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.

lisafly2014 avatar Oct 05 '23 19:10 lisafly2014

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

mdmathias avatar Oct 16 '23 21:10 mdmathias

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.

https://github.com/openid/AppAuth-iOS/compare/1.6.1...1.6.2

mdmathias avatar Oct 16 '23 22:10 mdmathias