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
3
votes
1 answer

Podspec failing on podfile pod imports

I've created a podspec file for my project, which itself has a podfile. Podfile looks something like this: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_frameworks! pod 'FLAnimatedImage', '~> 1.0' Podspec file is also a…
Andrew
  • 7,693
  • 11
  • 43
  • 81
3
votes
1 answer

Add custom module to Target build settings in Podspec

I try to add a custom module into my Podspec, but setting: module_map : 'module/module.modulemap' and in the build settings: xcconfig = { 'MODULEMAP_FILE' => '$(SRCROOT)/module', 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2…
Loegic
  • 3,390
  • 20
  • 33
3
votes
1 answer

Pod install warning : is a member of multiple groups

Motive : Create a library with localised xibs. What I changed my Podspec to : s.name = "MyLibrary" s.version = "0.0.1" s.summary = "A short description of MyLibrary." s.license = "MIT (example)" s.author …
Mayur Deshmukh
  • 1,169
  • 10
  • 25
3
votes
2 answers

Cocoapod "error: could not build module 'UIKit'"

I'm trying to fit MuPDF into a podspec. That's not going as good as I want it to though... error: could not build module 'UIKit' This is the error I get every time I try to pod lib lint. I get it in two flavours though, depending on the exact…
aspyct
  • 3,625
  • 7
  • 36
  • 61
3
votes
1 answer

cocoapods not updating a repository correctly

While updating my project, which contains this line in the Podfile: pod 'UIView-Autolayout', :git => 'https://github.com/dkk/UIView-Autolayout.git' with the command pod update I want to update the pod in this github repository, which has following…
Daniel
  • 20,420
  • 10
  • 92
  • 149
3
votes
1 answer

Podspec with dependencies to Google-Analytics Cocoapods 0.36

I'm have a great issue with our private podspec, all worked fine until we updated to cocoapods 0.35. The spec is not very complex, but is depended on the GoogleAnalytics-iOS-SDK This is our pod spec: { "name": "RKTagManager", "version":…
rckoenes
  • 69,092
  • 8
  • 134
  • 166
3
votes
0 answers

Podspec correct search paths organization

I have a project that I want to be a part of cocoapods or just have an easy installation via cocoapods. Ok, let's see in it. It has directories in root: Tools/ #directory where all items of project stored ExternalLibraries/ # directory where all…
gaussblurinc
  • 3,642
  • 9
  • 35
  • 64
3
votes
1 answer

podspec source :http unpacks to where?

A podspec I'm creating is downloading a zip archive through a :http source: s.source = { :http => 'https://developer.spotify.com/download/libspotify/libspotify-12.1.45-Darwin-universal.zip' } I'm referring to files within the zip archive like…
Niklas Berglund
  • 3,563
  • 4
  • 32
  • 32
3
votes
1 answer

how can I add dylib and static library in podspec file

For example, I have project A, and it need project B, so I use pod "Project B". But project B need some dylib and static library. So, I write project B podspec such as: Pod::Spec.new do |s| s.name = 'ProjectB' s.version = '3.0.0' …
riven
  • 1,476
  • 2
  • 12
  • 15
3
votes
0 answers

Can you make a Podspec with conditional dependencies?

I want to know if you can define dependencies on an static lib in a podspec depending on the type of the Target that the Pods project is going to be linked to. I need to be able to NOT add a dependency to an static lib if the target project is…
Ricardo Amores
  • 4,597
  • 1
  • 31
  • 45
3
votes
1 answer

CocoaPods setup taking forever

Trying to set up the pod, but it seems to be taking forever. Steps $ sudo gem install cocoapods 1 gem installed $ pod setup /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212: warning:…
Sandeep
  • 346
  • 5
  • 8
2
votes
1 answer

Podman: how to resolve the hostname of a pod deployed using Kubernetes YAML

I'm using podman 4.5-dev I have two pods deployed using: podman kube play foo.yaml podman kube play bar.yaml I specified the pods' hostnames in the files, but they won't get resolved inside the containers. I verified that the pods are in the same…
2
votes
0 answers

Create CocoaPod framework with Kotlin shared.framework

I've created a SDK framework and added all files (Swift, Objective C and c++). Also added shared.framework which is written in Kotlin(KMM). I linked SDK framework into dummy project and working correctly. Now I've to deliver SDK framework to…
2
votes
1 answer

react native app working on android but issues on iOS, details shared in description

I am working on an app that was written 2 years ago, so now I'm trying to build that code on android and ios. When i do pod install from vscode in ios folder and then i am building that iOS code in xcode, then i face 'React/RCTBridgeModule.h' file…
Ramanjeet
  • 526
  • 1
  • 5
  • 15
2
votes
0 answers

Flutter 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.4.99

In the last 3 years. Ive probably spent 2 weeks on this issue, it comes up often if you are cloning and working on other peoples projects but doesn't usually occur on your own. There are a tonne of answers on the stackoverflow and sometimes you use…
Nicholas Muir
  • 2,897
  • 8
  • 39
  • 89