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

iOS - Podfile Configuration Conflicts #1833

Open
zfir opened this issue Feb 9, 2022 · 1 comment
Open

iOS - Podfile Configuration Conflicts #1833

zfir opened this issue Feb 9, 2022 · 1 comment

Comments

@zfir
Copy link

zfir commented Feb 9, 2022

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

@rahulvyas
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants