Skip to content

iOS Production build not allow .dylib :: Invalid Swift Support #28

@jaykukadiya99

Description

@jaykukadiya99

@BrutalCoding

I'm encountering an issue when submitting an iOS app that uses the aub_ai Flutter package to the App Store. The submission fails with the following error:

ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

Upon inspection, it appears that this may be caused by the inclusion of a .dylib file in the app bundle. Apple does not allow .dylib files in App Store submissions. These must be replaced with static libraries or included via .xcframework.

Expected behavior
The package should not include .dylib files and should be compatible with App Store distribution rules.

Suggested fix Please consider:

  • Replacing .dylib usage with .xcframework.
  • Or exposing the native library as a static framework.
  • Ensuring the project is compatible with Apple’s app store guidelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions