openid / openid/AppAuth-iOS

Enable Bitcode supported Framework

Open
#584 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Are you filing an issue about iOS 12?
No

Describe the bug
I am using flutter and google sign in which inherently uses AppAuth pod. I am trying to enable bitcode for my project but during xcode build, my build fails with below error
AppAuth/AppAuth.framework/AppAuth' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
Do you support bitcode enabled library? how should i get it?

To Reproduce

Expected behavior
Bitcode enabled library.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

Start by reviewing the AppAuth.framework mentioned in the build error and reproduce the Xcode build through the Flutter and Google Sign-In setup described. Check whether the distributed framework supports ENABLE_BITCODE and identify the supported way to obtain or build a compatible library. Done means the reported project builds successfully with bitcode enabled.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.