Questions tagged [cocoapods]
CocoaPods is the dependency manager for Cocoa projects.
8,850
questions
0votes
0answers
6views
pod install error - "Unable to find a specification for `React-RCTActionSheet` depended upon by `RNReanimated`"
I am building this app for Android and Apple TV .The app is working in android but in IOS it gives this strange error.
sanjaydas@Sanjays-Mac-mini ios % arch -x86_64 pod install
Auto-linking React ...
0votes
0answers
14views
How to automatically add multiple pods for a single target in ionic project
I want to generate the following Podfile on running ionic cordova add platform ios
platform :ios, '10.0'
target 'Sunorbit' do
project 'Sunorbit.xcodeproj'
pod 'Alamofire', '~> 3.0'
pod '...
2votes
1answer
17views
mac M1 cocoapods correct architecture? flutter run won't install pods properly
I am having some issues with cocoapods and architecture i think on my mac M1. Here is what I get when I do flutter run
I think it is a problem with architecture. when i run arch in my terminal it ...
0votes
0answers
6views
How do I archive all my schemes in 1 xcarchive in Cocoapods
I have a XCode project that has multiple projects I want to archive into 1 xcarchive. If I run
xcodebuild -project UIComponents.xcodeproj -alltargets archive
It creates the frameworks as expected
./...
0votes
0answers
15views
iOS localization not working with swift cocoapod
I have a react-native app consuming https://www.npmjs.com/package/@homee/react-native-mapbox-navigation. Its podspec is declaring and using MapboxNavigation but I am seeing native elements that use ...
0votes
0answers
16views
What is the meaning of this target inside a Pod project?
I recently realized that I have a weird target inside of my Pod project and it is causing my RC to crash.
As you can see, is like my UIComponentes framework dependency is being duplicated, but with a ...
0votes
0answers
19views
CocoaPods could not find compatible versions for pod "Sentry"
[!] CocoaPods could not find compatible versions for pod "Sentry":
In Podfile:
sentry_flutter (from .symlinks/plugins/sentry_flutter/ios) was resolved to 0.0.1, which depends on
Sentry (~>...
0votes
0answers
15views
How to resolve 'React Pod deprecated' issue when Pod Outdated command is run?
I am using react-native 0.67.0 and react 17.0.2 versions in the project. As a part of security review, we use 'Pod Outdated' command to check for any deprecated Pods. We are constantly getting a ...
0votes
1answer
32views
Build failed for IOS when rebuilding React Native project
I am rebuilding my React Native 0.67.4 project by yarn add module one by one with Xcode 13/cocoapods 1.15. After a few modules added, run pod install and npx react-native run-ins to test with IOS 15 ...
0votes
1answer
16views
Flutter can't compile for iOS Error with pods
Compiling for iOS was working for a awhile, I added some dependencies and switched to my android emu for a bit, now it won't compile for iOS.
I've tried making a fresh project and running that on iOS ...
0votes
2answers
29views
cannot run the flutter app after firebase connection
After i added the GoogleService-Info.plist file to Runner on xcode, I get this error.
(I work on an M1 Chip MacBook Air)
I uninstalled each cocoapods version, and installed again using the ARM ...
-1votes
2answers
33views
CocoaPods Natively For M1? V. 1.11.3
I was looking into the web for some updated answer about my problem but I couldn't find it!
I install Cocoapods using the terminal with the command below:
Sudo gem install cocoapods
Which installed ...
0votes
1answer
45views
Permission denied for gem install
No matter what I do, flutter doctor always returns:
[!] Xcode - develop for iOS and macOS (Xcode 13.3)
• Xcode at /Volumes/ssd/Applications/Xcode.app/Contents/Developer
✗ CocoaPods not installed.
...
0votes
1answer
26views
XCode C++, how to use boost dependency from cocoapods?
I'm creating a C++ library for iOS and React-Native. I need to access some helper code from the boost framework, which React-Native itself already has as a dependency.
However, when I try to include ...
-2votes
0answers
21views
Pod Init not working due to only system ruby being installed? | Xcode/Cocoapods [duplicate]
I'm trying to use Cocoapods to create a podfile by which I can use plugins. When "cd" to the folder and type
pod init
It fails with the following message:
pod init
Ignoring ffi-1.13.1 ...
0votes
0answers
27views
Is there any benefit of using SPM instead of Cocoapods in terms of build time?
I'd like to know if there's any significant build time savings if we use SPM instead of Cocoapods to integrate frameworks.
0votes
0answers
22views
download the pod dependency based on input iOS
How to control the dependency POD install in programmatically, for example we are developing one pod that pod has more than one dependency pod, we no need to download or install all dependency pod, we ...
1vote
0answers
39views
Strange Flutter Error : platform `iOS` with version `9.0` on target `Runner`
I created a clean new project with Flutter 2.10.3.
Flutter doctor: everything is green, no issue.
I successfully build and run the project with this ios device. Then, I try to run on MacOS once. now ...
1vote
1answer
23views
Get list of dependencies and their versions programmatically in iOS application
I need to get all the libraries and their dependencies versions inside an iOS application and send the information to the Server for an automated process we do later on.
For CocoaPods -
Is there a way ...
0votes
0answers
16views
GitLab CI can't get Pods or SPM packages
I'm using GitLab self-hosted at work and I am using the CI/CD they offer with a custom macOS runner for iOS projects. I can't change that, this is company policy and we've got our runners in our own ...
2votes
1answer
23views
pod init cause RuntimeError - [Xcodeproj] Unknown object version
When I run pod init, I got the following error.
RuntimeError - [Xcodeproj] Unknown object version.
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.19.0/lib/xcodeproj/project.rb:227:in `initialize_from_file'
...
3votes
1answer
159views
Flutter for iOS run, build but not archive
My app archive perfectly two weeks age (was the latest update I made).
After some minor changes in the flutter code (I did not add any packages or something), I am trying to archive again and I am ...
0votes
0answers
17views
Error installing SinchRTC in termninal while trying to install pod
pod install
Analyzing dependencies
Adding spec repo trunk with CDN https://cdn.cocoapods.org/
CocoaPods 1.11.3 is available.
To update use: sudo gem install cocoapods
For more information, see https://...
0votes
0answers
36views
Mac pro (M1)macOS Monterey12.3 flutter run
Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without ...
0votes
0answers
29views
throw PlatformException(code: errorCode, message: errorMessage as String?, details: errorDetails, stacktrace: errorStacktrace);
I am getting this error while trying to implement google signIn in my flutter project
I have fully installed cocapods and added all dependencies as well adding the URL Scheme in the Xcode project
but ...
0votes
0answers
14views
Podfile install failed - Can't find node modules
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file: cannot load such file -- ./scripts/autolinking.
# from /Users/developer/Documents/Project1/ios/Podfile:1
---------------------------...
1vote
1answer
19views
Having issue in installing the cocopods on mac
When I try to install cocoapods on my mac using sudo cmd, i.e "sudo gem install cocoapods".
It shows Failed to build gem native extension.
How to install cocoapods on mac,
xxx-MacMini1 ~ ...
0votes
0answers
18views
Cannot run flutter application on ios simulator after adding any package
I just created a default project in Android studio and opened xworkspace from xcode. I successfully installed it on ios simulator. But after adding any package xcode gives the following error Parse ...
0votes
0answers
23views
Automatically run pod install command on "The sandbox is not in sync with the Podfile.lock" error
I was wandering if there is a way to make Xcode run the command "pod install" automatically, when the "The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your ...
0votes
1answer
26views
Xcode error .zprofile:1 and The sandbox is not in sync with the Podfile.lock MacBook m1 flutter
When I want to start an exist flutter project in Xcode I get this error with an error in my terminal. I use MacBook M1:
Showing Recent Messages
The sandbox is not in sync with the Podfile.lock. Run '...
0votes
0answers
8views
Setting Variabile Podspec file
Good morning everyone,
Within a project developed with Xcode, I imported a local library that is managed directly through the podfile.spec.
However, the pointing of this folder is done in the ...
0votes
0answers
36views
M1 Mac, XCode 13.2.1 and banked-ios-sdk - throws "DYLD 1 Library missing" / Sentry error
When trying to install the 'banked' ios SDK (using these instructions:
https://developer.banked.com/docs/banked-ios-sdk )
I am getting an app crash.
Information suggests i need to install Sentry - ...
0votes
1answer
42views
iOS - The easiest way to integrate library that does not support SPM
I use SPM in my project and want to integrate Texture. My project is divided into different modules using SPM. I want to use Texture only in one.
The problem is that Texture does not support SPM. What'...
3votes
0answers
33views
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, ...
0votes
0answers
11views
Firebase - iOS SDK from Cocoapods to Swift - GA UA Data Stopped
Our app team recently moved SDK from Cocoapods to Swift between app versions.
With this the analytics data via GTM is no longer populating the Universal Analytics account.
I can see data in Firebase ...
0votes
2answers
38views
@react-native-firebase pod version conflict for Firebase/CoreOnly
I have a react-native project with these dependencies (all are the latest available):
"@react-native-firebase/analytics": "^14.5.1",
"@react-native-firebase/app": ...
0votes
0answers
7views
PyTorch live is having issues with models/pods
I am receiving this error /
Blockquote
ERROR: Could not find a version that satisfies the requirement torch==1.1…
ERROR: No matching distribution found for torch==1.10.0
please ...
0votes
0answers
17views
Redefinition of 'MBProgressHUDMode' using Cocoapods
I'm getting a lot of errors like 'Redefinition of' in my Cocoapods, like shown in the picture below. It's an Objective-C project. Any ideas on how to solve this issue? Thanks in advance.
1vote
1answer
25views
Can't Access Pods(Swift + Objc) inside framework target
I am using a ProjectB inside ProjectA, which means I have dragged and Dropped projectB inside ProjectA, I have installed Pods for both Project In ProjectA and I can access them in ProjectB also, Now ...
1vote
0answers
23views
Flutter: Error "The 'Pods-Runner' target has frameworks with conflicting names: appinvokesdk.xcframework."While installing app in IOS Simulator
I am trying to install my app in debug mode into IOS Simulator i got Following error:
-> Installing webview_flutter_wkwebview (0.0.1)
- Running pre install hooks
[!] The 'Pods-Runner' ...
0votes
1answer
92views
Xcode 13 Build failed Command COmpileSwiftSources failed
I was using Xcode 12.5.1 for my iOS App which has iOS Deployment Target iOS12 it was working fine
After I tried to open this project in Xcode 13 I got multiple errors in some libraries like "...
0votes
0answers
11views
Pods not working properly on test flight versions
I am facing an issue when i release my application and upload it to test flight.
Some of the pods are not loading their assets, others are not working properly.
When I install the application through ...
-4votes
0answers
50views
Is there a way to get Mac's Camera Hardware information using Swift?
I am trying to get hardware system information and software information such as hardware unique id, OS version, PCI, camera hardware CPU usage etc like the screenshot given bellow:
I have got the ...
0votes
0answers
115views
TestFlight build with error: One or more dynamic libraries that are referenced by your app are not present in the dylib search path
I've been recently trying to overcome the problem mentioned in the email I receive when I upload a build to TestFlight:
ITMS-90562: Invalid Bundle - One or more dynamic libraries that are referenced ...
0votes
0answers
20views
Facing issue while trying to init the pods on project
I hope you all are doing well.
I'm facing issue while trying to init the pod in the project. Cocoapods is already installed in the system. XCode Dev intstall is also there, In XCode in command line ...
0votes
0answers
10views
Xcode Cocoa Pod is not generating framework directory in Derived Data folder
I have created brand new project with ObjC, Storyboard.I executed pod init. write below lines in podfile.
target 'wwwww' do
pod 'AFNetworking'
end
Project target name is 'wwwww'. I executed pod ...
0votes
0answers
33views
Unable to find a specification for `UMConstantsInterface` depended upon by `EXLocalAuthentication`
I'm trying to update my react native version to 0.66.4. I tried to follow the helper tool (https://react-native-community.github.io/upgrade-helper/?from=0.61.5&to=0.66.4) but it didn't worked.
...
0votes
1answer
9views
Access private pod with git token
How to install a private pod from git using username and token?
Here is what I have tried so far:
included the source into the pod
source 'https://cdn.cocoapods.org/‘
source 'https:github.com/...
0votes
0answers
22views
Cocoapods with @IBDesignable
I am trying to run @IBDesignable from xib to storyboard. In a project without the pods i could manage to run it and everything was fine. The problem is that something with the pods mess it all up.
The ...
0votes
0answers
20views
Xcode Server Bot with cocoapods on m1
So I currently am building my project and running tests fine when using xcode 13.2.1 run with rosetta.
However, when I successfully add an xcode server bot and added a preintegration script as below, ...