Questions tagged [podspec]

This is the file extension for CocoaPods, which is distributed as a ruby gem

Cocoapods (http://cocoapods.org/) is a dependency management framework for XCode. It allows you to declaratively define project dependencies and have them included in the build of your project. It's like Apache Maven or Ruby Gems for XCode.

370 questions
2
votes
1 answer

Set environment variable for all deployments or pods in cluster

I created EKS cluster and now i need to add http_proxy/http_proxies and no_proxy as environment variable to all 300 deployments. I created a config map with the variables. Is there a way to update all pods simultaneously without doing it one by one?…
user3450687
  • 329
  • 4
  • 17
2
votes
0 answers

XCode12: Receiving error "Include of non-modular header inside framework module"

I am trying to build a private CocoaPods framework 'APod' with other my custom private CocoaPods framework 'BPod'. I added 'BPod' as a dependency in the podspec file: **APod.podspec** s.dependency 'BPod' But when trying to run the APod Example…
jiaoxiaker
  • 23
  • 3
2
votes
1 answer

Podspec debug/release `vendored_framework` variants

I have a flutter plugin (let's say it's named plugin) that needs to have a separate debug build (say debug/foo.framework) and a release build (release/foo.framework) and they should be used in the respective app builds. Is there a way to do…
vaind
  • 1,642
  • 10
  • 19
2
votes
1 answer

What is `Pods/Local Podspecs` folder for?

I have one curious beginner question. I have an react native project for ios and getting through the folders, but I don't understand what is folder Pods/Local Podspecs for? What is it purpose? how it is created (is it generated or I have to do it)
Babu
  • 4,324
  • 6
  • 41
  • 60
2
votes
0 answers

pod trunk push - error: Unexpected duplicate tasks

I'm trying to create a new cocoapod which I built. I've tried everything I know, playing with the build settings, playing with build phases and even starting a fresh new empty project - nothing helped, and I keep getting the following errors: error:…
Idanis
  • 1,918
  • 6
  • 38
  • 69
2
votes
1 answer

CococaPods: pod install crashes the machine

In my react-native project, I did remove Podfile.lock and Pods folder to re-install them due to some version conflict. Installing the pods for with two floowing approaches pod install with or without --repo-update flag at ios folder bundle exec pod…
Amir-Mousavi
  • 4,273
  • 12
  • 70
  • 123
2
votes
0 answers

How to solve an error - No such module 'Framework' for private framework that is used in main project and internal pod?

We have internal framework (let’s call it Testable) as a target of Application Project. Testable is used in several targets of Application project and we don’t want to extract it to separate repo for a series of reasons. So our setup is…
2
votes
1 answer

iOS: How to make a pod from my existing project? XCode

I have a project (framework) including pods, frameworks, bridging headers and many other files with various types. I want to make it accessible using cocoapods and can be easily add to other projects. I read many tutorials but non of them mentioned…
Ali Samaiee
  • 301
  • 6
  • 14
2
votes
0 answers

"Could not load NIB in bundle" when accessing .bundle content from framework embedded in pod

I have the following situation: I need to integrate a third party framework into my own (local) cocoapod. The framework consist out of a .framework and a .bundle file. My .podspec file looks like this: Pod::Spec.new do |s| s.name =…
gasparuff
  • 2,295
  • 29
  • 48
2
votes
0 answers

Target has transitive dependencies that include statically linked binaries in podspec

I have a problem when I try to update google-cast-sdk pod in the podspec file my Pod library project. In this podspec file I have: s.dependency 'google-cast-sdk', '= 4.2.0' This version works fine, but I need update the library to the last version…
jframosg
  • 129
  • 1
  • 5
2
votes
0 answers

Upgrading React Native plugin to support autolinking and React Native versions 0.6>=

I am fairly new to React Native but am helping manage a React Native plugin and would like some guidance for upgrading it so that it is compatible with auto linking and React Native versions 0.60 and up in iOS. Our plugin currently only works with…
2
votes
0 answers

Unable to find a specification for a local (private) pod

I created two local pods: MainPods & ChildPod like this: Create Framework (in Xcode) pod init & pod install for MainPod & ChildPod pod spec create MainPod & pod spec create MainPod (in their folders) modify it Then I inited pod in root folder of…
ocbnishi
  • 21
  • 3
2
votes
1 answer

How to configure build setting of Xcode project through podspec

I have project developed by using plugins. So to add any new feature we create new plugin add it to main project after develop and tested. Every plugin has its own podfile and podspec. So I want to add quantumgraph pod to one of my plugin that named…
iMash
  • 1,178
  • 1
  • 12
  • 33
2
votes
1 answer

Create a podspec for a C++ library

I'm having a few problems creating a podspec file to extract a C++ library from an iOS application. Actually my main problem are headers, my C++ library depends on rapidjson that is included inside the library repository in an ext_inc directory (…
gabry
  • 1,370
  • 11
  • 26
2
votes
2 answers

On Mac, Unable to install the oneSignal plugin on Ionic

I am working on an Ionic application which uses the oneSignal plugin. My project is developed under Windows and the plugin works very well. But when I recover my project on mac, the plugin refuses to install 1) I get my project with the git…