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

ld: Invalid value (Producer: 'LLVM13.0.0-rust-1.57.0-nightly' Reader: 'LLVM APPLE_1_1300.0.29.3_0') for architecture arm64

Trying to install and work with zkgroup. Build, run for specific iOS device working fine. But generic archiving is not working. Error text: ld: Invalid value (Producer: 'LLVM13.0.0-rust-1.57.0-nightly' Reader: 'LLVM APPLE_1_1300.0.29.3_0') for…
tanmoy
  • 1,276
  • 1
  • 10
  • 28
4
votes
3 answers

An error occurred while processing the post-install hook of the Podfile. Not able to run flutter project on iOS simulator getting pod error

I have setup a firebase project for my flutter project but while running the project I'm getting the below error. I have tried to install the pod properly but still, there is an error while executing. Please if you have any idea let me know. I have…
Pranjali Wagh
  • 338
  • 1
  • 3
  • 14
4
votes
1 answer

Flutter CocoaPods could not find compatible version: Cache and BetterPlayer

I tried to install the pod for Flutter on iOS with CocoaPods but got following error when I started: [!] CocoaPods could not find compatible version for pod "Cache": In Podfile: better_player (from ´.symlinks/plugins/better_player/ios´) was…
Luca_54
  • 529
  • 4
  • 16
4
votes
1 answer

Flutter IOS Cocoapods 'Error output from Cocoapods:'

I was running my iOS app on emulator without problem. After I tried to implement facebook login, my Flutter project started to require Cocoapods installed. After Cocoapod Installed I tried to flutter run on iOS emulator, but I'm getting this…
Denis Ken
  • 226
  • 4
  • 13
4
votes
4 answers

CocoaPods could not find compatible versions for pod "FirebaseFirestore":

I have a problem that I cannot seem to resolve. I have tried all of the solutions listed here previously, but nothing is resolving the error. I am building an app using Flutterflow.io, which is a low-code platform. Everything has worked great for a…
Dennis Ashford
  • 872
  • 2
  • 7
  • 21
4
votes
1 answer

Target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting warning in Xcode 12.5 and Swift 5

[!] The `SampleUITests [Prod]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-Sample-SampleUITests/Pods-Sample-SampleUITests.prod.xcconfig'. This can lead to problems with the…
Kalyan
  • 612
  • 6
  • 20
4
votes
1 answer

XCode Build fails with rsync error: "rsync error: received SIGINT, SIGTERM, or SIGHUP"

When i try to run clean build with xcode 12.5 build fails with rsync error as below rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/rsync.c(244)…
nswamy
  • 1,041
  • 9
  • 16
4
votes
0 answers

Cocoapods Generated duplicate UUIDs

Just reinstalled pod file "pod install" And error appears [!] [Xcodeproj] Generated duplicate UUIDs: PBXAggregateTarget -- 072CEA044D2EF26F03496D5996BBF59F PBXAggregateTarget -- 8D7F5D5DD528D21A72DC87ADA5B12E2D What is it? And how to fix…
brain
  • 75
  • 6
4
votes
0 answers

Publish Swift Package with CocoaPod dependencies

I'm trying to distribute a Swift Package that depends on some libraries from CocoaPods. The end goal is to be able to import a feature written in React Native into a Native iOS app using Swift Package Manager. I'm starting out with a simple example…
Wiingaard
  • 4,150
  • 4
  • 35
  • 67
4
votes
3 answers

Missing required module 'MLKit' error while using a framework that uses MLKit

Recently I created a iOS Framework called "MLKit Framework" that uses MLKit Face Detection library. In order to achieve that, I just imported the library in Podfile according to documentation. As expected, that created a xcworkspace called MLKit…
4
votes
2 answers

Problem with Cocoa Pods: undefined method `map' for nil:NilClass

I'm running Cocoa Pods on a MacBook Air with M1, with the lastest Mac OS Version. My Problem: When I run pod install I get following Output (I delete a bit, because other ways it would be to long): undefined method `map' for nil:NilClass Full…
Boothosh81
  • 387
  • 1
  • 5
  • 24
4
votes
8 answers

CocoaPods could not find compatible versions for pod "FBSDKCoreKit"

I am having trouble using this library, I followed the instructions with the facebook guide that appears on the readMe and did all the steps. Before this, I used the react-native-fbsdk library which is now deprecated due to facebook releasing a…
Carlos Yanes
  • 335
  • 5
  • 15
4
votes
1 answer

How to access the bundle when using Swift Package Manager

I have a framework that supports CocaPods. I have now added support for Swift Package Manager but experiencing a crash when trying to access the framework's bundle. static func debuggerBundle(from target: AnyClass) -> Bundle { let…
Tal Zion
  • 6,308
  • 3
  • 50
  • 73
4
votes
1 answer

Flutter 2 upgrade: CocoaPods not installed or not in valid state

After updating Flutter 2, I can no longer deploy my application on IOS: Warning: CocoaPods minimum required version 1.9.0 or greater not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code …
Lab
  • 1,237
  • 2
  • 13
  • 30
4
votes
0 answers

pod spec lint validation fail : Unable to find matching .xcframework slice for the current build architectures (x86_64 i386)

I already have my framework in cocoapod, using xcframework with several framework inside : ios-arm64 ios-arm64_x86_64-maccatalyst ios-arm64_x86_64-simulator tvos-arm64 tvos-arm64_x86_64-simulator On my first push, I only put s.ios.deployment_target…
gamerounet
  • 279
  • 4
  • 22
1 2 3
99
100