openid / openid/AppAuth-iOS

More details for the build error for tag 1.6.2

Open
#792 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug triage
Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure from the Podfile configuration pod 'AppAuth', '= 1.6.2', :binary => true with pod install, then build the iOS project. Inspect the references to AppAuthTV.h and the missing OIDTVAuthorizationRequest.h, comparing the 1.6.2 and 1.6.1 package contents. Done means the 1.6.2 binary installs and builds successfully in both the described import and project build paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.