Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

iOS - Podfile Configuration Conflicts #1833

@zfir

Description

@zfir

Hello

I have an issue when using use-frameworks!. I am using a cordova project and I have different pods configuration for different plugins. Some of the them uses use-frameworks! and some of them don't as you see below:

Example Configuration 1

<podspec>
    <config>
      <source url="https://cdn.cocoapods.org/"/>
    </config>
    <pods use-frameworks="true">
          <pod name="BugfenderSDK" spec="~> 1.9.2" />
      </pods>
  </podspec>

Example Configuration 2

<podspec>
    <config>
      <source url="https://cdn.cocoapods.org/"/>
    </config>
    <pods>
        <pod name="AFNetworking" spec="~> 4.0.1" />
    </pods>
</podspec>

Spectrum Configutation on Plugin(https://github.com/spoonconsulting/cordova-plugin-spectrum)

<podspec>
    <config>
        <source url="https://cdn.cocoapods.org/"/>
    </config>
    <pods>
        <pod name="SpectrumKit/Base" spec="~> 1.2.0" />
        <pod name="SpectrumKit/Plugins/Jpeg" spec="~> 1.2.0" />
        <pod name="SpectrumKit/Plugins/Png" spec="~> 1.2.0" />
    </pods>
</podspec>

When XCode is compiling the project, it is compiling it as a single Podfile and there is conflicts between these configurations.

As per your documentation, we can see that Spectrum does not support use-frameworks!. We are using version 1.2.0 of this library. Can you please suggest how we can fix that?

Thanks.

Regards,
Zafir

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