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

iOS CocoaPod that uses a separately distributed framework

My project involves creating a CocoaPod for public distribution that wraps functionality of a separate framework. The end-user project implements our wrapper and we deal with the complex system underneath. This means that our Pod references that…
MechEngineer
  • 1,399
  • 3
  • 16
  • 27
0
votes
0 answers

Why is Cocoapods pod spec lint (FAILING while) trying to build code when my podspec is only there to package a vendored_framework?

So I forked this repo to here because the original didn't push its podspec anywhere. And now I know why that developer didn't push it... it doesn't pass pod spec lint ... And why doesn't it pass pod spec lint... ? The .podspec is aiming to wrap a…
horseshoe7
  • 2,745
  • 2
  • 35
  • 49
0
votes
1 answer

Different result on CocoaPod install with identical Podspecs for EarlGrey 2.0 app

I am trying to figure out why I get two different results after running pod install on what should be identical podspec files. The component is called EarlGreyApp, which had a 2.0.0 release this year. The podspec for the 2.0.0 release is here in the…
Richard Guion
  • 427
  • 5
  • 14
0
votes
1 answer

Podspec dependency installation

I want to add SwiftLint to my framework. In my framework's .podspec file, I have added: s.dependency `SwiftLint` What is the next step to see the dependency at work? Is there some sort of command I need to run in the command line to "install" the…
Caleb Rudnicki
  • 345
  • 8
  • 17
0
votes
1 answer

getting error: use of undeclared type when I push pod to private cocoapods repo

I can successfully build, run my tests schemes. I tried pushing changes to my pod's repo by doing: pod repo push my-private-cocoapods Device.podspec --allow-warnings --verbose Yet I get the following error: - ERROR | [Device/Phone] xcodebuild: …
mfaani
  • 33,269
  • 19
  • 164
  • 293
0
votes
1 answer

When I execute git push origin master, why is error: failed to push some refs to 'git@github.com:sshallow/FirstPod.git'

I am learning to create public cocoapods, I have always encountered this problem, This is the step I tried. pod lib create FirstPod (Some files are automatically generated,eg,_Pods,FirstPod.podspec,Example) Add my files to FirstPd/Classes (a…
ink
  • 519
  • 6
  • 19
0
votes
0 answers

Xcode: use old build system from command line

I need access to the xcodebuild tools because I need it in podspec, because the lint to uses the command line but I get multiple errors about Swift-compatibility headers.
Karsten
  • 1,869
  • 22
  • 38
0
votes
0 answers

How to fix ''required' initializer must be accessible wherever class 'BeAlertController' can be subclassed'

I'm trying to open my sub-class, so that it can be accessible outside of module. Its being compiled successfully in xCode but failed when i run pod spec lint mypodname.podspec Previous version of my class is public and its working fine, now i want…
Shahbaz Saleem
  • 317
  • 2
  • 14
0
votes
1 answer

Cocoapods architectures for .framework bundles

I have a .framework which I want to distribute through Cocoapods. I want to distribute only the binary so the implementation is hidden from users. Now I am facing an issue where when I try to upload an app using my .framework I get an error "ERROR:…
gop
  • 2,150
  • 5
  • 26
  • 54
0
votes
2 answers

pod spec lint command fails

I am trying to create a podspec file for the framework which I have created. I have added all the necessary details into the podspec file and tried to run pod spec lint command to check whether the specification written in the podspec file is…
0
votes
1 answer

Pod spec lint not updating

I got the following error after running pod spec lint: Calebs-MacBook-Pro:JacquardToolkit calebrudnicki$ pod spec lint -> JacquardToolkit (1.1.4) - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for…
Caleb Rudnicki
  • 345
  • 8
  • 17
0
votes
0 answers

Cannot import a local CocoaPod after install

I am trying to import a development pod. I have created my CocoaPod using XCode by selecting New > Cocoa Touch Framework. I have then generated .podspec and verified it is correct via pod lint. That has been added to my project Podfile and on…
Harry Blue
  • 4,202
  • 10
  • 39
  • 78
0
votes
0 answers

"Use of unresolved identifier 'sqlite3_key'"

I've been working in a module that i want to distribute as a Pod, this module depends on an external library 'SQLCipher'. In the module i have defined the podspec with the corresponding dependency, of SQLCipher like this: s.dependency…
niendo
  • 59
  • 8
0
votes
1 answer

Will pod update command update dependency of pod when it's dependency has new version?

I will explain by example. I have two pods in cocoapods trunk called PodA and PodB. PodA has PodB as its dependency. Both are in same version 0.0.1 pod 'PodA' So above podfile will install PodA and PodB of version 0.0.1. Now I have changed the PodB…
Vigneshkumar G
  • 328
  • 1
  • 2
  • 9
0
votes
0 answers

Conflicts between framework and app because using the same 3rd party sdk

If framework is built with a 3rd party sdk with a low version. in app side. I want to import the same 3rd party sdk with a high version. Creating a framework with a low version is no problem. but because the framework included a 3rd party sdk. when…
Ericji
  • 1
  • 1