Skip to content

iOS build broken since 5.0.10: #import "MappIntelligence.h" not found (vendored xcframework headers are nested) #19

Description

@arinela

Since 5.0.10 (unchanged in 5.0.11), the iOS build of a consuming Flutter app fails.
The podspec switched from s.dependency 'MappIntelligence' to vendoring
MappIntelligenceiOS.xcframework, but PluginMappintelligencePlugin.m still uses quoted
imports (#import "MappIntelligence.h" etc.). Those headers now sit in nested folders
inside the xcframework (e.g. Headers/MappIntelligenceSDK/MappIntelligence.h), and
Xcode's recursive header search does not descend into .xcframework bundles — so the
recursive HEADER_SEARCH_PATHS in the podspec don't help, and compilation fails with
"file not found". Last working version: 5.0.9.

Reproduce

  1. flutter create repro and add plugin_mappintelligence: 5.0.11
  2. cd ios && pod install
  3. flutter build ios --no-codesign → fails compiling PluginMappintelligencePlugin.m

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions