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

PlatformException Error (channel-error, Unable to establish connection on channel., null, null) with Flutter on using firebase libraries for iOS

I am getting this error in flutter while building for iOS during debug build pointing to Firebase.initializeApp. Not able to understand the reason here. here is my pubspec.yaml for firebase libraries: (using flutter 2.10.2/ dart 2.16.1) …
Jai Thomso
  • 51
  • 1
  • 2
4
votes
2 answers

FBLPromises.framework does not contain bitcode - failing build

I get the following error, even after setting Bitcode to No in my Podfile. This occurs across different Xcode, up to 14.0 (at which I get a signing error, which also doesn't make sense since I have set up development teams on all targets): Error…
satchel
  • 405
  • 5
  • 16
4
votes
1 answer

Signing error for specific targets after Xcode 14 beta update in pods

As you can see in the picture below, there are three types of targets available in pods. What does each one of those types mean? Recently I upgraded to Xcode 14 Beta, and I had to use signing for blue-colored ones. Also, as I have bitcode enabled…
tanmoy
  • 1,276
  • 1
  • 10
  • 28
4
votes
2 answers

pod install in flutter iOS project gives base64: invalid input

After some downtime I'm trying to build my Flutter app for iOS without success. pod intall gives me the following output (even after cleaning the XCode workspace): $ pod install Analyzing dependencies cloud_firestore: Using Firebase SDK version…
tjarvstrand
  • 836
  • 9
  • 20
4
votes
1 answer

React native upgrade - pod install throws error for config = use_native_modules

I'm trying to upgrade my react native version to 0.68.2 from 0.66.3. I have followed this. If I try to run pod install, it throws: error Cannot read properties of undefined (reading 'configurations'). [!] Invalid `Podfile` file: 859: unexpected…
Gergő Horváth
  • 3,195
  • 4
  • 28
  • 64
4
votes
1 answer

Is it possible to have a cocoapod as a dependency in a swift package?

I want to migrate my teams and their modules to swift package manager. Some of my dependencies do not support it support SPM (missing a package.swift file) There are dependencies that also have other dependencies that may or may not already support…
Joshua Maza
  • 301
  • 2
  • 12
4
votes
2 answers

Swift cocoa pods issue: '/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture...'

Is there a way to implement Amazon Polly into Swift? I followed this iOS-Example, that is given by Amazon Polly: https://docs.aws.amazon.com/polly/latest/dg/examples-ios.html The problem is: I receive an error when trying to install the pod file. My…
Aurora1510
  • 446
  • 4
  • 10
4
votes
0 answers

Issues using Swift Package Manager and CocoaPods in single project

We've decided to use SPM for our new internal frameworks. Our app has many dependencies (for the moment) on some CocoaPods. So, I figured adding SPM would be easy enough. I created a local Swift Package and linked it against the project. All good,…
Robert J. Clegg
  • 7,231
  • 9
  • 47
  • 99
4
votes
0 answers

Problem in using both CocoaPods and Swift Package Manager

I'm using CocoaPod and SPM in the same iOS project Problem is Library A: in CocoaPod have a dependency on RxSwift Library B: in SPM have a dependency on RxSwift When I build with library AB, runtime error created like below. How can I solve…
bumseok park
  • 111
  • 6
4
votes
1 answer

Redefinition of module 'Firebase'

I'm trying to integrate Firebase into my app, but as soon as I'm building it after I thought I finished my install I get: Redefinition of module 'Firebase' as well as Could not build Objective-C module 'SwiftOverlayShims' which I have no idea what…
Jacob F
  • 135
  • 3
  • 13
4
votes
2 answers

Android Studio Bumblebee 'pod install' command failed with an exception error=2

Yesterday I updated my Mac with Android Studio Bumblebee 2021.1.1 hoping that it would solve multiplatform issues I encounter. Below some screenshots about my Mac and versions to be 100% clear: Android Studio Bumblee About macOs Monterey 12.2 iMac…
Bash
  • 125
  • 6
4
votes
1 answer

Android Studio KMM Application project - Build for ios platform failing

I am a first timer on KMM and have just created a new KMM application project on Macbook M1 Pro. No code changes, this is just the hello world app that I am using. I have been able to successfully build the project for android platform, and it runs…
4
votes
1 answer

React Native: RCT-Folly fatal error - 'fmt/compile.h' file not found

I want to enable Hermes for my iOS react native project but I have next error: In file included from ../ios/Pods/RCT-Folly/folly/Singleton.cpp:35: ../ios/Pods/RCT-Folly/folly/portability/FmtCompile.h:19:10: fatal error: 'fmt/compile.h' file not…
iUrii
  • 11,742
  • 1
  • 33
  • 48
4
votes
1 answer

How do I fix Ignoring ffi-1.15.3 because its extensions are not built

I'm using CocoaPods 1.10.2. And when I type pod --version in my terminal, I'm getting the following warning: Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3 How could I fix this?
김지인
  • 51
  • 1
  • 3
4
votes
2 answers

Flutter App not running in Android studio

I have simple flutter app with sqflite db. When I try to run via Android Studio , it gives error as follow: Launching lib/main.dart on iPhone 12 Pro in debug mode... Running pod install... CocoaPods' output: ↳ CDN: trunk Relative path:…