Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

podspec name and Flutter iOS project name differ #24

Description

@TheOneWithTheBraid

This repository contains both a Flutter plugin as well as the original podspec of OLM for macOS.

The Flutter iOS plugin symlinks to the original podspec without correcting the Pod name. In particular, this results in an incorrect USER_HEADER_SEARCH_PATHS Xcode variable.

On a clean macOS installation, this causes the following error:

flutter build ipa --no-codesign --debug
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Archiving business.braid.polycule...
Upgrading Runner.xcscheme
Running pod install...                                             71.2s
Running Xcode build...                                          
Xcode archive done.                                         222.4s
Failed to build iOS app
Lexical or Preprocessor Issue (Xcode): 'olm/olm_export.h' file not found
/path/to/project/.pub-cache/hosted/pub.dev/flutter_olm-2.0.0/ios/include/olm/error.h:17:9

ios/.symlinks/plugins/flutter_olm/ios/flutter_olm.podspec should present a podspec naming the project flutter_olm, whereas it in fact presents as OLMKit.

I'd suggest to separate the flutter_olm podspec from the upstream podspec and instead of a symlink provide a correct podspec.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions