Questions tagged [cocoapods]

CocoaPods is the dependency manager for objective-C and swift Cocoa projects.

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has almost ten thousand libraries and can help you scale your projects elegantly. Get on with building your app, not duplicating code.

You specify the dependencies for your project in one text file named Podfile. CocoaPods resolves dependencies between libraries, fetches source code for the dependencies, and creates and maintains an Xcode workspace to build your project.

Ultimately, the goal is to improve discoverability of, and engagement in, third party open-source libraries, by creating a more centralized ecosystem.

Resources

Related Tags

9372 questions
5
votes
2 answers

AFHTTPClient.h File Not Found

I have no idea why this is happening. I've installed AFNetworking in my project via a Podfile. Here's the current entry: pod 'AFNetworking', '~> 1.2' However when I call: #import "AFHTTPClient.h" at the top of one of my files, it says…
Nick ONeill
  • 7,341
  • 10
  • 47
  • 61
5
votes
2 answers

use cocoapods with xamarin

is this really to use cocoacontrols with xamarin? For example this one: http://www.cocoacontrols.com/platforms/ios/controls/kycirclemenu I know that I can create something like circle menu with UICollectionView…
Yaroslav Bigus
  • 678
  • 7
  • 24
5
votes
3 answers

Is there a podspec for Opencv?

I have recently used Cocoapods - library dependency management tool in objective C. It has podspec for commonly used libraries like ZXing, AFNetworking etc. Have anyone come across Opencv podspec?
Skanda
  • 872
  • 13
  • 21
5
votes
2 answers

Cocoapods Testflight

Anybody have cocoapods working with an Ad Hoc configuration for Testflight? I have the same problem as: library not found for -lPods but that answer does not make any sense and the documentation is absurdly sparse.
Alper
  • 3,424
  • 4
  • 39
  • 45
4
votes
3 answers

upgrading to new react-native version and doing pod install throws an error CocoaPods could not find compatible versions for pod "SocketRocket"

i tried to update react-native version to latest 0.72.3 and run pod install which resulted in next error [!] CocoaPods could not find compatible versions for pod "SocketRocket": In snapshot (Podfile.lock): SocketRocket (= 0.6.0, ~> 0.6.0) …
Victor Orlyk
  • 1,454
  • 2
  • 15
  • 27
4
votes
2 answers

"FirebaseCore" version not compatible in react native project

In my react native project I started getting an error after I have tried to install the module firebase/crashlytics. I get the error [!] CocoaPods could not find compatible versions for pod "FirebaseCore": In Podfile: FirebaseCore …
user567
  • 3,712
  • 9
  • 47
  • 80
4
votes
3 answers

Expo SDK 46 iOS build failed in pod installation step

I am trying to build iOS app from expo managed project. The build fails At Pod installation step. In Expo SDK 44, 45 everything was okay. But when I upgrade to SDK 46, I am facing the issue. Here is my package.json { "name": "App1234", …
Habibur Rahman
  • 424
  • 7
  • 19
4
votes
1 answer

pod install error>>> [!] Unable to determine the platform for the `AdewoleFarmApp` target

I downloaded github amplify.swift, created Podfile per installation instruction, but Cocoapods "pod install" gets the error. Podfile is: # Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target…
Wilson Agene
  • 73
  • 1
  • 5
4
votes
1 answer

How do I resolve "Could not locate Gemfile" when trying to initialise a react native project?

When running the command npx react-native init myProject --version 0.63.0 it gives back the error: ✖ Installing Bundler error Could not locate Gemfile I am using react-native 0.63 as I am on Mac OS 10.13.6. Xcode 12 is required for react-native…
jfog
  • 81
  • 6
4
votes
2 answers

Fastlane with XCode 14: ARCHIVE FAILED

My current version of Fastlane 2.173.0 works OK with XCode 13 and builds and publishes my iOS RN/Native project to TestFlight. But after moving to XCode 14 I have got next error on start building (gym). [16:56:49]: $ set -o pipefail && xcodebuild…
iUrii
  • 11,742
  • 1
  • 33
  • 48
4
votes
1 answer

Error: Redefinition of module 'fmt' & 'folly'

Im trying build my react native app with cli and this error log appear. Xcode builds are solid and no error occurs. Here is part of log: 2 errors generated. While building module 'Foundation' imported from /Users/omerkocer/tekvetek/ios/Pods/Target…
omkocer
  • 153
  • 1
  • 9
4
votes
2 answers

React Native: what to set minimum deployment target to?

I'm trying to add react-native-vision-camera to my React Native app, and it gave me the following error: Specs satisfying the VisionCamera (from ../node_modules/react-native-vision-camera) dependency were found, but they required a higher minimum…
4
votes
4 answers

CocoaPods could not find compatible versions for pod "FirebaseCoreExtension"

I am trying to do pod install but it says error like: No podspec found for RNFBAnalytics in ../node_modules/@react-native-firebase/analytics I found a solution that says yarn add @react-native-firebase/analytics && cd ios && pod install…
VecopWall
  • 549
  • 1
  • 7
  • 23
4
votes
0 answers

React Native builds work in simulators but not on ios device?

I have my build working fine on ios simulators, but when I plug in my iphone and run react-native run-ios --device "Max’s Iphone 12 Mini", the build fails. Error Below from rn cli below. The following build commands failed: Ld…
max
  • 391
  • 1
  • 3
  • 8
4
votes
5 answers

Invalid `Podfile` file: 767: unexpected token at ''

I am trying to run my IOS app with react native, but I need to update my Pods. so I run on terminal: cd iOS && pod install But I get this error on the title internal/modules/cjs/loader.js:888 throw err; ^ Error: Cannot find module…
Germano
  • 358
  • 1
  • 2
  • 13