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
266
votes
20 answers

Running pod setup gives me "bad interpreter: No such file or directory" error

Recently I tried to do pod setup and I get this error: -bash: /usr/local/bin/pod: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directory I followed Ray Wenderlich's guide to install CocoaPods and I get this issue so I have no idea…
user3670235
  • 3,125
  • 3
  • 13
  • 17
177
votes
32 answers

CocoaPods could not find compatible versions for pod "Firebase/CoreOnly"

I've update my flutter package to the last versions and now IOS doesn't work anymore. When I try to update the pods it shows this error: [!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly": In Podfile: …
Luca Panteghini
  • 2,657
  • 3
  • 21
  • 27
45
votes
2 answers

CocoaPods: point to a branch in pod spec

I'm trying to install code from a repository's branch on a pod spec, and based on the documentation, this should work: s.dependency 'repository_name', :git => 'https://github.com/account_name/repository_name.git', :branch =>…
DZenBot
  • 4,806
  • 2
  • 25
  • 27
30
votes
2 answers

Cocoa podspec and path for dependency

how can I specify in podspec a local path for an dependency ? like : s.dependency 'MyLibrary', :path => '../MyLibrary' thanks
Danilo
  • 631
  • 1
  • 9
  • 24
24
votes
0 answers

How to use modular headers configuration for pod dependency of my pod framework?

My podspec looks like this: Pod::Spec.new do |s| s.name = 'flutter_vlc_player' s.version = '0.0.3' s.summary = 'A new Flutter project.' s.description = <<-DESC A new Flutter project. …
19
votes
0 answers

Why does my Podspec throws multiple: "Execution policy exception registration failed and was skipped" notes?

Podspec is: Pod::Spec.new do |s| s.name = 'MyPod' s.version = '0.1.0' s.summary = 'my summary.' s.platform = :ios, '13.0' s.description = <<-DESC My description. …
Joseph Beuys' Mum
  • 2,395
  • 2
  • 24
  • 50
19
votes
3 answers

Removing Versions from CocoaPods Specs Repo

I've just published a Beta version of a Pod in the Specs Repo, using pod trunk push. I would like to know if is there any way of removing this version Spec from the Spec Repo. I didn't find any way of doing this via the pod command.
Rafael Veronezi
  • 468
  • 1
  • 4
  • 12
16
votes
1 answer

How to add bridging header to Flutter Plugin

I'm trying to create Flutter plugin, which uses Swift and has one pod dependency (NearbyMessages) First of all, I've added it to .podspec # # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| …
Dmytro Rostopira
  • 10,588
  • 4
  • 64
  • 86
16
votes
3 answers

I'm getting a "No podspec found" message when doing "pod install" against a private gitlab pod/project container

I'm in the middle of some CocoaPods project trying to build my own private Pod, reachable via "pod install" from my main project. It's a Swift project, and everything seemed to be working, reading the appropriate tutorials, etc... I have to say I've…
Isaac
  • 1,794
  • 4
  • 21
  • 41
16
votes
2 answers

Difference between podspec dependency and Podfile pod declaration

I have a project for a cocoapod (let's call it "Main") which has a dependency with another cocoapod (let's call this one "Util"). I can add the Util in Main's Podfile via "pod 'Util'" and specify it as a dependency in the podspec via "s.dependency…
Godfather
  • 1,089
  • 9
  • 21
15
votes
3 answers

How to manually add a .xcframework to a Flutter iOS Plugin?

I'm trying to create a Flutter Plugin to use a native library. This library I'm trying to use is stored in a private repository and can be used with Swift Dependency Manager. This is causing me a headache, cause I can't add a private repository…
siega
  • 2,508
  • 1
  • 19
  • 22
14
votes
1 answer

Pod from github not working

I forked CBZSplashView and I'd like to use it in my own project. To be sure that the problem doesn't come from me, I create a Xcode project from scratch. My project Podfile contains one line : pod 'CBZSplashView', :git=>…
Rémy Virin
  • 3,379
  • 23
  • 42
12
votes
4 answers

Add Pod dependency with source to .podspec

I am trying to add the following dependency to my Podspec s.dependency 'Apollo/WebSocket', :git => 'https://github.com/apollographql/apollo-ios' Here's what I get in my Terminal whenever I try to run pod lib lint MyPodName.podspec: - ERROR | spec:…
EBDOKUM
  • 1,696
  • 3
  • 15
  • 33
11
votes
2 answers

How to publish new official pod version?

Updating pod version fails I am using Xcode 8.2.1 and CocoaPods v1.1.1 and my code is Swift 3 My issue is with publishing new version of my pod or updating existing version, which fails on pod spec lint. I've created a PlaybuzzSDK pod and I would…
Luda
  • 7,282
  • 12
  • 79
  • 139
11
votes
6 answers

podspec specification does not validate

I'm trying to create a cocoa pod following this tutorial. I'm stuck at the moment where I'm doing the following command: pod repo push RWPodSpecs RWPickFlavor.podspec the problem is that I've got the following error: Validating spec [!] The…
Andrey Chernukha
  • 21,488
  • 17
  • 97
  • 161
1
2 3
24 25