Skip to content

iOS App rejected by apple for violating Guideline 2.5.1 - Performance - Software Requirements | Flutter 3.35.x seems to use non-public or deprecated APIs #2754

@Abhiraj3112000

Description

@Abhiraj3112000

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Recently our iOS app built using Flutter versions 3.35.1 and 3.35.7 were rejected by Apple upon review. Apple states the following reason:

Guideline 2.5.1 - Performance - Software Requirements

The app uses or references the following non-public or deprecated APIs:

Frameworks/flutter_inappwebview_ios.framework/flutter_inappwebview_ios
Classes:
• PGHostedWindow

Runner
Classes:
• __SwiftValue

The use of non-public or deprecated APIs is not permitted, as they can lead to a poor user experience should these APIs change and are otherwise not supported on Apple platforms.

Next Steps

It would be appropriate to revise your binary and remove any references to the non-public or deprecated APIs identified above.

If you are using third-party libraries, update to the most recent version of those libraries. If you do not have access to the libraries' source, the following command line tools can help you identify the location of problematic code:

  • The "strings" tool can output a list of the methods the library calls.
  • The "otool -ov" tool will output the Objective-C class structures and their defined methods.

Note:
Earlier iOS app with Flutter version 3.27.3 was approved and never faced this issue.
XCode Version used: 26.2.0

Expected Behavior

The submitted build should get accepted in AppStoreConnect.

Steps with code example to reproduce

General usage of FlutterInAppWebview.

Stacktrace/Logs

NA

Flutter version

v3.35.7

Operating System, Device-specific and/or Tool

iPad Air 11-inch (M3) - tested by apple team.

Plugin version

v6.1.5

Additional information

NA

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions