I try to step by step recommend in stackoverflow for me
go into the ios folder
delete the Podfile.lock file
rm -rf Pods
pod cache clean --all
pod deintegrate
pod setup
pod install
but don't working for me
Problem screen 1
Problem screen 2
Related
I can't load all the requested pods apparently there is a problem with these two project dependencies ... "pod upgrade" terminal command results are:
Updating local specs repositories
Analyzing dependencies
firebase_auth: Using Firebase SDK version '10.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.3.0' defined in 'firebase_core'
firebase_database: Using Firebase SDK version '10.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
In Podfile:
firebase_database (from `.symlinks/plugins/firebase_database/ios`) was resolved to 10.0.7, which depends on
Firebase/Database (= 10.3.0)
flutter_geofire (from `.symlinks/plugins/flutter_geofire/ios`) was resolved to 0.0.1, which depends on
GeoFire (~> 4.0) was resolved to 4.1.0, which depends on
Firebase/Database (~> 6.0)
Inside /ios directory, remove the Podfile.lock file.
Then, on terminal, run to this directory:
cd ./ios
Then run the following command:
pod deintegrate && pod repo update && pod install
The command is composed of three parts:
"pod deintegrate" - This command will deintegrate CocoaPods from the project, removing any references to Pods and the Podfile.lock file
"pod repo update" - This command updates the local copy of the CocoaPods spec repo, which is the source of information about available pods.
"pod install" - This command installs the pods specified in the Podfile, and creates an Xcode workspace if one does not already exist.
This command is useful when you want to update your project's dependencies and integrate the new version of the Pod without having any conflicts.
Delete the pod file inside the ios folder.
go to the terminal in path ios ios folder and run command "pod init"
manage signin procedure in xcode
noy try to run
I have created my own Cocoapod. When I released a new version, then it should be available for the users. I have pushed the latest changes to git Cocoapods repository. Then I ran the command:
pod update
It showing the message for latest version update. But I am not getting the changes in my pod.
1: Run this command in terminal to update pod repo in your system
pod repo update
2: Then run
pod deintegrate
pod clean
pod install
I am unable to run my Xcode project because of such cocoa pods errors:
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Inside my Podfile :
source 'https://github.com/CocoaPods/specs.git'
workspace 'LongPathToMyProject/..../.../MyProject.xcworkspace'
I tried 'pod install' a lot of times, also i tried
rm -rf MyProject.xcworkspace
pod install
But it is not helping me.
Your file .xcodeproj and your podfile must be in the same folder. You don't have to manually create your .workspace. Then, in the same folder run:
pod install
If it doesn't work, then install pod deintegrate:
gem install cocoapods-deintegrate
and try to deintegrate existing pods:
pod deintegrate
before running pod install again
Hi I want to install new pod in my existing project, and in that there are some old pod files which we are using, So I don't want to disturb them (don't want update of old pods), I want to install only the required pod. So in stack overflow I got some results. And I tried but no use is there any other way to do this ?
I tried 3 different ways but no use :
a. Added required pod in the pod file then in terminal, $pod install
a. Added required pod in the pod file then in terminal, $pod install --no --repo-update
a. I opened podfile.lock in textfield. I checked my old pod versions.
b. Modified pod file pods as
Old Pod => pod ‘AFNetworking’, ‘~> 3.0’ to pod ‘AFNetworking’, ‘3.0.0’
c. Added new pod then did $pod install or $pod install --no --repo-update in terminal.
So please help me how to do this ?
In AppCode, via CocoaPods, I am trying to install the pod QuickDialog
In the Podfile, I have:
pod "QuickDialog"
When I go to install, I get an error saying Unknown pod name
The Message window shows:
/usr/bin/ruby /Applications/AppCode.app/Contents/bin/pod install --no-ansi
Updating local specs repositories
Failed with exit code: -1
What do I need to do?
Edit: Also tried suggestion by I'L'I:
pod 'QuickDialog', '~1.0'
Try on a new project:
Xcode > New > Project > Single View App > Obj-C > SO-32098667 > Next > Create
Terminal > cd ../SO-32098667/
pod init
Use the Podfile below
pod install
Podfile
platform :ios, '8.0'
target 'SO-32098667' do
pod 'QuickDialog'
end
pod install
Downloading dependencies
Installing QuickDialog (1.0)
Generating Pods project
Integrating client project
Tested minutes ago with pod version 0.37.1 Xcode version 6.4.