Questions tagged [cocoapods]
CocoaPods is the dependency manager for objective-C and swift Cocoa projects.
9,390
questions
0
votes
1
answer
15
views
Podfile.lock modified during installation of pods on build server
My React Native app is being built on several macOS machines. Recently I faced an issue on one of them as the build started to fail during pods installation.
pod install --deployment
On all the ...
0
votes
0
answers
14
views
CocoaPods Installation for pods
I am trying to install the CocoaPods but I am receiving the below error:
ERROR: Error installing cocoapods:
The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems ...
1
vote
0
answers
30
views
Xcode 15 - issue with POD copy resources
based on this answer:
Link
I tried to remove the input and output file in order to solve this issue
That command depends on command in Target 'MyTarget' (project 'MyProject'): script phase "[CP] ...
0
votes
0
answers
17
views
Unable to install cocoapods on Mac m1
I'm unable to uninstall the Cocoapods from my system which is MacBook Air M1 2020
When I run the command "sudo gem uninstall cocoapods" I get this response "Gem 'cocoapods' is not ...
-1
votes
1
answer
23
views
I tried to install Cocoapods on my mac but got an 'No write permissions' error. Suggestions?
Here is the command I entered:
Mdn@Macbook ~ % gem install activesupport -v 6.1.7.6
And here is the response I got:
Fetching zeitwerk-2.6.11.gem
Fetching activesupport-6.1.7.6.gem
ERROR: While ...
-1
votes
1
answer
40
views
Cocoapods (AFNetworking) issue when archiving project
I am trying to build a legacy Obj-C project, it's getting around 80% of progress and fails with the following error. I tried to reinstall pods, clean Derived Data, restart Xcode/computer.
`mkdir -p /...
-1
votes
0
answers
69
views
XCode 15 Build error: Stored properties cannot be marked potentially unavailable with '@available'
In my react native project I'm using https://github.com/5-stones/react-native-readium.
Because of the dependency R2Streamer i can not run for IOS with XCode 15.
Swift Compiler Error (Xcode): /Users/...
0
votes
0
answers
12
views
React Native project - Cannot find protocol declaration for 'NativeVibrationSpec' while running in XCode 14.3
I am facing this error "Cannot find protocol declaration for 'NativeVibrationSpec'" while running react-native project in XCode.
React native version: 0.72.4
Node Version: 18.12.1
XCode ...
0
votes
1
answer
16
views
Invalid `Podfile` file: [!] Unable to locate the executable `mkdir` in React Native
I'm using CocoaPods with Windows to build my React Native project with AppCenter.ms.
I should run pod install in ios folder. When it's ran, this error below is thrown:
Auto-linking React Native ...
0
votes
0
answers
15
views
Podfile platform :ios version relationship with Minimum Deployment in Xcode
In Podfile, I've set it to iOS 13
platform :ios, '13.0'
But if in Xcode my Minimum Deployment is set to 14.0, what's the implication of this?
-1
votes
1
answer
22
views
Xcode Build take too much time?
environment:
sdk: ">=3.1.2 <4.0.0"
dependencies:
cloud_firestore: ^4.9.2
cupertino_icons: ^1.0.2
firebase_auth: ^4.10.0
firebase_core: ^2.16.0
firebase_storage: ^11.2.7
flutter:
sdk: ...
0
votes
0
answers
21
views
Undefined symbol: _OBJC_CLASS_$_EZCameraInfo/EZDeviceInfo/EZHCNetDeviceSDK
Including six classes of EZOpenSDKFramWork, they cannot be undefined symbols.
I searched for relevant issues and found that they were able to add EZOpenSDKFramwork to Link Binary With Libraries in ...
3
votes
2
answers
1k
views
clang: error: SDK does not contain 'libarclite' at the path
After Updating to Xcode 15 I am getting the following error in my react-native app while it try to build it.
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/...
0
votes
0
answers
22
views
I can't install cocoapods
sudo gem install cocoapods
Password:
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/...
0
votes
0
answers
17
views
Thread 1: EXC_BAD_ACCESS (code=1, address=0x6c88000)
My app crashes on iOS 14.5, but works fine on iOS 15+
Does anyone have an idea how to solve it?
Error log:
`grpc_core::promise_detail::FreestandingActivity::Handle::DropActivity() (.cold.1):
...
0
votes
0
answers
20
views
The issue of CocoaAsyncSocket not being able to successfully pod
I just took over a new project, but during the pod process, other frameworks were able to successfully pod, except for CocoaAsyncSocket, which failed due to Failure when receiving data from the peer. ...
0
votes
0
answers
11
views
Pods: Xcode's Library Search Paths not getting updated for one target after running pod install, but it is for all other targets
I have an app with 5 extensions, and I'm adding pods to all 6 targets.
I had linking issues with one of the extensions and I discovered the Library Search Path section for its target was different ...
1
vote
1
answer
35
views
unable to spawn process '/bin/sh' (Argument list too long) (in target 'Runner' from project 'Runner')
I have integrated Firebase into my project to utilize Crashlytics. While the application runs smoothly using Visual Studio Code, I encountered issues when using Xcode.
**
Flutter Version: 3.13.4 **
...
0
votes
1
answer
54
views
Xcode 15: No such module 'FirebaseDatabase'
The same project compiles fine on my Intel MacBook pro, but on my M1 Pro running Sonoma and Xcode 15 RC, it gives No such module 'FirebaseDatabase' error.
Here is how my pod file looks like:
I made ...
-1
votes
1
answer
49
views
Flutter iOS is not running
I'm having trouble running my Flutter app on iOS (I'm using Mac M1). everything of mine seems to be installed. Though I don't know. This is my first time using Mac.
The problem is that whenever I try ...
0
votes
0
answers
31
views
Pod Install operation time out github
I tried to install using pod install but I experienced an error like in the picture below.
This happen after update the mac os to ventura
Can anyone help me? I cannot install any library.
Analyzing ...
0
votes
0
answers
21
views
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library
As the title says, I'm getting this error
rsync error: some files could not be transferred (code 23)
Every time i do archive, i tried all solutions out there like updating cocoapods and the work ...
0
votes
0
answers
16
views
Unity AR XCode Project Crashing on Install on iPhone
I am quite unsure how exactly how to solve this issue but i tihnk its not a hard one but due to my limited knowledge in iOS Development im not that set as in android and unity. Right now i am getting ...
0
votes
0
answers
55
views
Xcode project failed to archive: undefined symbol of firebase_app_csharp
I have a project developed by Unity which is using Firebase plug-in. I want to upload an ios build to Testflight on my ipad. While archiving it, it failed with Undefined symbol errors about ...
0
votes
0
answers
17
views
Creating a framework and using pods in it, and call this whole framework in a project Xcode
I have a query, i am converting my project into a framework..
All the pods are installed in my code already, i have created the framework by simply selecting Framework, then i just created a class to ...
0
votes
0
answers
26
views
FLUTTER I have problem 'openssl/ssl/h' file not found when add cloud_firestore
Lexical or preprocessor issue (xcode): 'openssl/ssl/h' file not found
/Users/zenx/FlutterProject/setup_firebase/ios/Pods/gRPC-Core/src/core/tsi/ssl/key_logging/ssl_key_logging.h:22:9
I use CLI or ...
0
votes
0
answers
9
views
How to set CLANG_ENABLE_MODULES for one CocoaPod?
I'm using an external CocoaPod.
To avoid build issues I need to set CLANG_ENABLE_MODULES to YES.
I know how to do this by changing the .podspec file: adding a setting to s.pod_target_xcconfig.
Is ...
0
votes
0
answers
50
views
How to use AppIcon from Assets.xcassets of the resource bundle of a private cocodpod
How do I use the AppIcon from Assets.xcassets of a resource bundle of a private cocodpod? I want to ignore whats in my apps project file for the AppIcon, and have this asset come from a private pod.
...
-1
votes
0
answers
29
views
How to resolve build error of my framework when validating its podspec
I have included skia library in my framework.When i tried validating podspec of this framework using pod repo push Skia SkiaLibrary.podspec --allow-warnings , I encountered some errors :
- ERROR | [...
0
votes
0
answers
23
views
OpenSSL is not available
I am trying to add cocoapos for my swift learning but I get the error OpenSSL is not available error message says exactly:ERROR: While executing gem ... (Gem::Exception)
OpenSSL is not available. ...
2
votes
1
answer
116
views
There is an Firebage Storage Plugin Error on my Flutter Project
In my flutter application, when I send an image to firebase on IOS emulator, I get an error which is: "The 'plugins.flutter.io/firebase_storage' channel sent a message from native to Flutter on a ...
0
votes
0
answers
10
views
Why does pod spec lint fail for zip file hosted on private GitHub repository?
I am trying to create a Podspec for a binary XCFramework of an iOS library that is hosted in a private repository on GitHub. I want CocoaPods pod install to be able to download the zip from a GitHub ...
0
votes
0
answers
16
views
React Native ios build: Unknown attribute 'ObjectDefinitionBuilder'
I am preparing a build for react native project and I am getting this error:
I was just running this project since weeks and everything was fine, I just installed an npm package, to be specific, I ...
0
votes
1
answer
29
views
Flutter "Unable to Find Target Name"
I've seen several threads that start to address this issue but none have solved mine. Having an error trying to compile on my 2023 M2 MacBook Pro.
Error: [!] Unable to find a target named RunnerTests ...
0
votes
0
answers
12
views
pods update dependency pod
I have a project that uses a pod, the pod using AlamoFire version 5.2:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'MyPodLibExample' do
# ...
0
votes
0
answers
15
views
"Could not find compatible versions" error on pod install in Github Action Workflow
As part of a Github Action workflow (that we are running on a self-hosted runner - a mac-mini) we have a cocoapod install step:
- name: Install CocoaPods
run: bundle exec pod install --deployment
...
1
vote
0
answers
39
views
'RCTAppDelegate.h' file not found React Native 0.71.5 Intel Macbook
I am working on a project with [email protected]. I have an Intel MacBook. After the pod was installed I got error above error.
My Podfile
require_relative '../node_modules/react-native/scripts/...
0
votes
1
answer
54
views
can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
I was trying to setup my React native project, everything seems fine, but when I am installing cd ios && pod install Its giving me the following error.
/Library/Ruby/Site/2.6.0/rubygems.rb:264:...
2
votes
2
answers
115
views
Installed latest ruby on mac but still showing old in terminal
Installed latest ruby but still showing old version
I have installed latest ruby version on mac ventura and getting success message
Successfully installed ruby 3.2.2 into /Users/myuser/.rubies/ruby-3....
0
votes
0
answers
14
views
How to add a Podfile to an existing xcode swift static lib project .xcodeproj?
I want to add the Podfile below to my Swift static lib project.
I built the Podfile by creating an empty project, and then did:
pod init
pod install
(added my lines into Podfile)
pod update
...
2
votes
0
answers
80
views
Xcode build fails in Azure Devops Pipeline
I am using an Azure Devops Build pipeline CI to build my Xcode workspace. It is working fine on local and runs well on physical device. But I wanted to use the pipeline to automate the build process ...
0
votes
0
answers
44
views
CocoaPods installation error: WARNING: CocoaPods is not installed or is not configured properly
I'm trying to do env setup for native script: https://docs.nativescript.org/environment-setup.html#macos-ios
After running sudo ns doctor ios, I'm getting below error:
✔ Getting environment ...
0
votes
1
answer
54
views
Macbook Air M2: Invalid RNGestureHandler.podspec Issue Persists Using Cocoapods
Upon running the command pod install inside the IOS folder I seem to be getting the error:
[!] Invalid `Podfile` file:
[!] Invalid `RNGestureHandler.podspec` file: undefined method `exists?' for File:...
0
votes
0
answers
16
views
When packaging 3rd-party xcframeworks as separate React Native Library, Embedded Framework is not being included
Apologies for long text. I need help so I am posting this and maybe someone better at me on iOS can help me.
Context:
We have 3rd party libraries(2 xcframeworks) in our app. They are proprietary ...
0
votes
0
answers
32
views
I'm having trouble with Pod installation on Mac M2 problem
I have problem with pods to install using MacBook air with M2 chip
I tried this code
pod install
also I tried
arch -x86_64 pod install
I got an error
Cloning into '/var/folders/l8/...
0
votes
0
answers
25
views
"No Such Module" for created cocoapod
I have created a pod successfully and uploaded on github and cocoapods (https://github.com/marwamelfeky/AmwalyPod) . Then created a project to use. The Pod installed successfully but when importing it ...
1
vote
0
answers
40
views
Getting errors 'Module not found' compiling Apple Vison Pro SDK with Xcode 15 beta
Using Xcode 15 beta 4/5/6 and Cocoapods for xcode workspace, when I was compiling the project with Apple Vision Pro SDK (not the one that designed for iPad, which was succeed though), get some errors, ...
0
votes
1
answer
149
views
my pod framework are missing after updating xcode to 14.3.1
my project worked perfectly before i update xcode to 14.3.1
now it looks like xcode can't find my frameworks
i drop images of parts of my project below.
after build my project this is console error
...
0
votes
1
answer
77
views
Error while switching from Windows to Mac OS flutter mobile app
I can't run my flutter project as pod install gives an error. While It's working fine on my windows laptop. I'm using GitHub repo to clone the project at a new MacBook to try the app using a real iOS ...
0
votes
0
answers
20
views
Expo: iOs build fails because of pod installation
I've built an expo app, which I would like to deploy. I am working on a Windows machine, and using eas to build the app. I've done that one time before a couple of days ago with no issues, but now it ...