Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is there any particular reason on why FirebaseAI package minimum deployment is iOS 15.0? #15388

Answered by andrewheard
psbpd21 asked this question in Q&A
Discussion options

Hi, Im currently building an app with a minimum deployment target of iOS 13.0. I wanted to try and implement AI in my app using FirebaseAI. However, it seems that the minimum deployment of the package is iOS 15.0. Is there any particular reason on why the minimum deployment target is iOS 15.0?

You must be logged in to vote

Hi @psbpd21, we chose iOS 15 as the minimum deployment target for a few reasons:

  • As @paulb777 said, the streaming API implementations use iOS 15+ APIs (e.g., URLSession.AsyncBytes).
    • Note: I haven't audited the implementations to verify but the non-streaming implementations may not rely on any iOS 15+ features (most are 13+).
  • Xcode 16 and 26 only officially support iOS 15, though lower deployment targets continue to build.
  • All iOS devices that can run iOS 13 or iOS 14 can be upgraded to iOS 15.
    • For this reason, Apple has not released security updates for iOS 13 or iOS 14 since 2020年09月01日 and 2021年10月26日, respectively.
    • It would be difficult for us to diagnose iOS 13 or 14-specific issue...

Replies: 1 comment 2 replies

Comment options

@psbpd21 Thanks for the question. Many of the Firebase AI Logic streaming APIs require iOS 15+ APIs for their implementation. cc: @andrewheard

You must be logged in to vote
2 replies
Comment options

Hi @psbpd21, we chose iOS 15 as the minimum deployment target for a few reasons:

  • As @paulb777 said, the streaming API implementations use iOS 15+ APIs (e.g., URLSession.AsyncBytes).
    • Note: I haven't audited the implementations to verify but the non-streaming implementations may not rely on any iOS 15+ features (most are 13+).
  • Xcode 16 and 26 only officially support iOS 15, though lower deployment targets continue to build.
  • All iOS devices that can run iOS 13 or iOS 14 can be upgraded to iOS 15.
    • For this reason, Apple has not released security updates for iOS 13 or iOS 14 since 2020年09月01日 and 2021年10月26日, respectively.
    • It would be difficult for us to diagnose iOS 13 or 14-specific issues since devices cannot be downgraded from iOS 15.
    • Our own metrics show that iOS 13 and 14 usage is very low.

Hopefully this explains our reasoning process for choosing iOS 15+ as the minimum deployment target. I'd be curious to know if your metrics show higher iOS 13/14 usage in case it differs from our own.

Answer selected by psbpd21
Comment options

Thanks @paulb777 @andrewheard for the answers. I agree that the non-streaming implementations may not rely on any iOS 15+ features that is why i raised this question in the first place. But, I do agree that targeting iOS 15 makes sense since most of the implementations requires iOS15+ API.

After i checked my metrics, i realized that the oldest device that uses my app is an iPhone X and it does support iOS 15. So I think is safe to say that i can update my minimum deployment target to iOS 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /