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

How to load a .gif file into a developing pod

I'm creating a framework where I want to do some animation with SwiftyGif. I have a gif file named "loading.gif" which I want to present. The problem I'm facing is to find the file within the framework. When my screen loads I initialise the image…
Fred Novack
  • 727
  • 9
  • 27
0
votes
0 answers

Support Different Vendored Frameworks for Simulator vs iOS Device

I am trying to write a PodSpec that allows us to use one framework JellyFrameworkForDefice.framework when installing to a device and another framework JellyFrameworkForSimulator.framework when installing to a simulator via Xcode. Does anyone have…
David M
  • 61
  • 4
0
votes
1 answer

How to install a pod from the repository with .podspec located in a directory?

I'm trying to install a Pod from the git repository with a branch. Something like this: pod 'ThePod', :git => 'https://gitlab.kz/company/mobile/ios-app.git', :branch => 'feature-branch' ✅ There is no problem if a .podspec file is located in the…
Almas Adilbek
  • 4,371
  • 10
  • 58
  • 97
0
votes
1 answer

How to publish pod to jfrog Artifactory?

I have a framework project written in Objective C that i want to publish on JFrog Artifactory. My .podspec file is like this Pod::Spec.new do |s| s.name = 'Name' s.version = '0.0.1' s.summary = 'summry' …
MadLeo
  • 458
  • 1
  • 6
  • 24
0
votes
0 answers

private repo installed, but empty in Xcode project

this is my podspec : Pod::Spec.new do |spec| spec.name = 'OoTracker' spec.version = '1.0.0' spec.license = 'Copyright Oodrive' spec.source = { :git => 'https://oogit.oodrive.net/mobile-common/OoTracker.git', :tag => spec.version.to_s } …
sandra oo
  • 91
  • 1
  • 14
0
votes
1 answer

None of your spec sources contain a spec satisfying the dependency

I am referencing the pod 'MatomoTracker' in my own pod I get this error while linting : with pod lint spec -> TrackerPod.v3 (0.0.1) - ERROR | [iOS] unknown: Encountered an unknown error (CocoaPods could not find compatible versions for pod…
sandra oo
  • 91
  • 1
  • 14
0
votes
0 answers

podspec source and source_files is not taking the local path

[!] Failed to load 'MyFramework' podspec: [!] Invalid MyFramework.podspec file: undefined method `scource_files=' for # Did you mean? source_files=. from…
0
votes
0 answers

CocoaPodspec unresolved identifier error

I am trying to create my own framework by CocoaPodspec. I need some help to resolve the issue. And I got an error after run command pod lib lint --no-clean --verbose interminal : error: use of unresolved identifier 'GlobalLoaderView' This is…
0
votes
1 answer

How to remove podspecs completely from Xcode and repo?

I've a project with huge codebase and it has 4 different target Apps. Now there are many of views, models and controllers are common for all 4 target apps. So those common files, classes and image assets are placed in central folder and that folder…
BARS
  • 629
  • 1
  • 6
  • 18
0
votes
0 answers

Documentation for Cocoapods

I'm writing pod for the first time. I need to add documentation but I didn't find way. I found Jazzy. Generated doc looks like small website. What I should do next ? Where I should put it ? P.S. This link where I should have doc
0
votes
0 answers

Unable to find a specification for private pod from specific branch

I have a problem with a private pod when I try to install it from a specific branch. When i include in the podfile: pod 'private_pod' everything works ok. But when I change it to: pod 'private_pod', :git => 'git_repo', :branch => 'develop' I get…
nick3389
  • 53
  • 1
  • 9
0
votes
0 answers

Inhibit warnings for subspec dependency

I'm developing a Pod that have a external dependency, which shows a lot of warnings in Xcode when using my Pod in an App. What I want to do is remove all those warnings since it could quite annoying to see for those who use my Pod. Is there a way to…
kikettas
  • 1,682
  • 1
  • 24
  • 31
0
votes
1 answer

Get podspec from server outside repo via http / Error

I want to get podspec via http outside repository: ex: pod 'MySdk', :podspec => 'https://example.com/MySdk.podspec' but i got this error: Any one have idea . thx Pod::Downloader::Http::UnsupportedFileTypeError - Unsupported file type:…
AliasCocoa
  • 209
  • 3
  • 6
0
votes
0 answers

there are error that 'xxx/xxx.h' file not found when pod lib lint

it is a simple spec that is # # Be sure to run `pod lib lint test.podspec' to ensure this is a # valid spec before submitting. # # Any lines starting with a # are optional, but their use is encouraged # To learn more about a Podspec see…
user9388951
0
votes
1 answer

Import Objective-C pod as a dependency into Swift pod

Both of them are Cocoapods private pods I need to use them as Development Pods
Artem Deviatov
  • 970
  • 12
  • 20