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

How to update cocoapods for flutter on Mac without getting an error?

I use Flutter with Android Studio on a Mac. One day (today), I ran "flutter doctor" from the command line. It stated that my "cocoapods" was not good enough. Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable,…
Nerdy Bunz
  • 6,040
  • 10
  • 41
  • 100
4
votes
3 answers

Getting warning from security analysis "Remove the compiler option -rpath to remove @rpath"

I have done a Quality scan analysis for my IOS app. I got the below warning: The binary has Runpath Search Path (@rpath) set. In certain cases an attacker can abuse this feature to run arbitrary executable for code execution and privilege…
Mihir Oza
  • 2,768
  • 3
  • 35
  • 61
4
votes
1 answer

Error adding CocoaPods dependency in Kotlin Multiplatform

I'm trying to setup a KMM module with Couchbase Lite as a platform dependency for both Android and iOS. I'm running into errors getting this to work with CocoaPods for iOS: Exception in thread "main" java.lang.Error:…
Jeff Lockhart
  • 5,379
  • 4
  • 36
  • 51
4
votes
0 answers

manually manage/remove pods that are being autolinked per target

I am developing an AppClip for my main app but I am using a lot of heavy cocoapods in the main project that are not necessary for the clip and in fact push the size of my app clip above the 10mb limit, If I manually remove these from the project the…
drbarber
  • 41
  • 2
4
votes
1 answer

Not able to add Firebase cocoapod to kotlin multiplatform shared module

I'm migrating an android/iOS app to the Kotlin Multiplatform framework. The process goes more or less well, but all related with the import from iOS frameworks/pods to use them in the shared code module is not easy at all. This time I'm having…
R. Campos
  • 947
  • 1
  • 10
  • 26
4
votes
1 answer

No such module 'FirebaseAnalytics' if `:binary => false` with cocoapods-binary

I'm maintaining a project that uses last cocoapods 1.10.0, with Firebase and Admob installed. It uses cocoapods-binary 0.4.4 to pre-compile some pods and increase build speed. As you can see below in the podfile.lock it's using the last versions of…
NullPointerException
  • 36,107
  • 79
  • 222
  • 382
4
votes
2 answers

Flutter -ios - pod install gRPC-C++ sed ssl issue

I have been running through this issue when I do pod install in my flutter project. (I'm going to answer this myself as I reached the solution after couple of hours - I hope it's helpful to anybody reading this in the future Installing…
Jay Shenawy
  • 953
  • 1
  • 12
  • 22
4
votes
3 answers

react-native integration with existing native project getting error Cannot find module 'react-native/cli'

I am trying to integrate latest RN project into native project. Both project are in separate directories that means my native project does not exist in predefined ios folder. versions: RN Native: 0.63.3 @react-native-community/cli: 4.13.0 installed…
Anil Sharma
  • 275
  • 1
  • 6
  • 16
4
votes
3 answers

Getting error while installing library from pod

I am getting undefined method squish' for # (NoMethodError) while installing pod using pod install`. Attaching screenshot for this. Please help me.
Ved Rauniyar
  • 1,539
  • 14
  • 21
4
votes
1 answer

XCTest: running tests fails with Cycle inside X; building could produce unreliable results in project with CocoaPods and Carthage

After upgrading my project to Xcode 12, the test suite stopped working. The tests target doesn't compile, fails with: Cycle inside Tests; building could produce unreliable results. This usually can be resolved by moving the shell script…
ricardopereira
  • 11,118
  • 5
  • 63
  • 81
4
votes
1 answer

Failed to build module 'Razorpay' from its module interface

Build failed with the following errors: failed to build module 'Razorpay' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)', may have used features that aren't supported…
akshay bhange
  • 2,320
  • 2
  • 28
  • 46
4
votes
0 answers

Cocoapod Library: Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3 compiler

I am using ProximiioMapbox cocoapod library, and it says i can not import it on XCode 12. It compiles well after pod install, but when i add import ProximiioMapbox in a swift file, it shows error like the title of this question. Here are the ways i…
Li Jin
  • 1,879
  • 2
  • 16
  • 23
4
votes
0 answers

CocoaPods pod install is removing some build phases

I have inherited a project which uses CocoaPods for its dependencies. This is the first time I have used CocoaPods. Based on Podfile.lock it looks like the CocoaPods version used the last time the project was built was 1.8.4; I am using 1.9.3. The…
Rudedog
  • 4,323
  • 1
  • 23
  • 34
4
votes
1 answer

Xcode 12 HaishinKit lib build error: Undefined symbols for architecture x86_64

Can't build the project after installing a pod: (it was ok on Xcode 11 [https://github.com/shogo4405/HaishinKit.swift][1] "__swift_FORCE_LOAD_$_swiftUniformTypeIdentifiers", referenced from: …
Chris
  • 1,829
  • 1
  • 15
  • 22
4
votes
3 answers

Exception: CocoaPods not installed or not in valid state

I cannot resolve the following error launching Flutter app from Visual Studio Code in debug mode. The error: Launching lib/app/main_dev.dart on Austris iPhone in debug mode... Automatically signing iOS for device deployment using specified…
Austris Cirulnieks
  • 1,099
  • 11
  • 18
1 2 3
99
100