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
0
votes
2 answers

How to integrate React with cocoapods to my podspec

I want do some basic operation with react native on iOS , and upload to cocoapods , when i edit xxx.podspec , I cant Specified version number of react and source link. ** this is my podspec : ** s.ios.deployment_target = '8.0' s.source_files…
0
votes
1 answer

Pod Versioning depth

I have a pod of which the latest version is 1.0.23. Now I want some changes in 1.0.17 version only and not in later versions. Can it be possible to release 1.0.17.1? Is this for level Versioning pattern possible?
Sanket Pandya
  • 1,095
  • 7
  • 21
0
votes
1 answer

How to pod Localized interface files(XIB, Storyboard) as xcode project structure and make internationalization work?

As the changes of cocoapods 1.0.0.beta.1 say "Localized interface files (XIB, Storyboard) using Base Internationalization - Base.lproj/Main.xib and en.lproj/Main.strings are represented as a variant group named Main.xib" and as far as cocoapods…
Peter Lin
  • 1
  • 3
0
votes
1 answer

Podspec does not validate without error

I'm trying to create private pod. What I've done: * Create and push repo at correct branch * Create podspec Now I'm struggling with podspec validation. BKit.podspec Pod::Spec.new do |s| s.name = 'BKit' s.version =…
Błażej
  • 3,617
  • 7
  • 35
  • 62
0
votes
1 answer

Cocoapods: Podfile conflicts by having two pods with the same name but different source

I have my own private specs repository with internal pods. I used to add prefixes to the pods, however now I'm migrating to Swift I'd like to get rid of them. However if I get rid of the prefixes (e.g. JAMNetworking to Networking) and I specify two…
jomafer
  • 2,655
  • 1
  • 32
  • 47
0
votes
2 answers

Unable to create pod

I am trying to create a pod of library. I am following this tutorial. Pod lint successfully validate the pod spec. However when i import it as module i get error Use of unknown type. Here is the project Update: I just created a new pod project…
Muhammad Zeeshan
  • 2,441
  • 22
  • 33
0
votes
1 answer

How to convert framework in a cocapod?

I have create new cocoa-pod with an example project which in original project used a framework (X.framework). So it was like: Original_Proj |- four Classes (A,B,C,D{.h,.m}) |-Main.m |- etc by default xcode project files |-X.framework Now those four…
djay
  • 375
  • 2
  • 18
0
votes
3 answers

podspec JSQMessagesViewController non-modular header

I want to use JSQMessagesViewController as a dependency to my swift pod. When I build my example app I get the old non-modular header error related to the JSQSystemSoundPlayer but I don't know how to get around it with XCode 7. Podspec: s.dependency…
Marc Nunes
  • 238
  • 3
  • 13
0
votes
1 answer

Can we create a Pod which in turn uses many pods?

I am going to build a pod which will be using multiple pods with in it, Can we achieve this? what are the things I should keep in mind while building this?
Ravi Kiran
  • 219
  • 3
  • 14
0
votes
3 answers

swift dependency in objc podspec project

I'm creating my first CocoaPod project (ObjC) which requires a Swift dependency. When I try to lint the project I get the error: Pods written in Swift can only be integrated as frameworks; add use_frameworks! to your Podfile or target to opt into…
Warblr
  • 1,188
  • 1
  • 13
  • 27
0
votes
1 answer

CocoaPods localization files getting over written

In my own Pod, I provide some Localization String files that the users can alter according to their needs. But when they run 'pod update', the files get overwritten and the changes are lost. I don't want to force the user to backup the files. Is…
Suvrat Apte
  • 161
  • 10
0
votes
1 answer

podspec lint failing with latest Xcode beta

I'm running pod spec lint --verbose and get the following output: - Creating Pods project - Adding source files to Pods project - Adding frameworks to Pods project - Adding libraries to Pods project - Adding resources to Pods project -…
Ashley Mills
  • 50,474
  • 16
  • 129
  • 160
0
votes
1 answer

make swift class be available to my objc class for same project during setuping podspec for my repo

I setup a podspec for my repo (framework). In my repo, there are some swift classes, I would like these swift classes be availble to some objC classes in the same repo. I know xcode will automatically generate a header file: product-Swift.h file, so…
Ronnie
  • 23
  • 4
0
votes
0 answers

Creating a private pod with a dependency on RestKit

Trying to add a podspec to my private repo that includes RestKit as a dependency, the validation always fails with many errors and warnings. The errors occur when the validation process tries to run xcodebuild. I used the command: pod repo push…
SalvoC
  • 201
  • 1
  • 4
0
votes
1 answer

FormatterKit in PodSec error: couldn't remove 'ca.lproj' after command failed: No such file or directory

I have a strange issue when I try to use FormatterKit in PodSec:pod lib lint generate the following error: - NOTE | [ARNUHelpersVer2/FormatterKit] error: make directory…
Mike.R
  • 2,824
  • 2
  • 26
  • 34
1 2 3
24
25