Questions tagged [podfile-lock]

21 questions
358
votes
58 answers

Error: "The sandbox is not in sync with the Podfile.lock..." after installing RestKit with cocoapods

I've encountered an strange issue after installing RestKit with cocoapods. after resolving RestKit dependency for my project with cocoapods and trying to build it, I face this error: The sandbox is not in sync with the Podfile.lock. Run 'pod…
Hashem Aboonajmi
  • 13,077
  • 8
  • 66
  • 75
95
votes
4 answers

what is the usage of "~>" in cocoapods

I want to know what the "~>" is used for,cause I find they are the same below: pod 'AFNetworking','~> 2.0.3' pod 'AFNetworking','2.0.3'
Mil0R3
  • 3,876
  • 4
  • 33
  • 61
54
votes
7 answers

The version of CocoaPods used to generate the lockfile (1.5.3) is higher than the version of the current executable (1.5.2)

on $pod install it gives warning & fails The version of CocoaPods used to generate the lockfile (1.5.3) is higher than the version of the current executable (1.5.2) What is it trying to say ? macOs : 10.11.6 osx el capitan my pod version is :…
vijay
  • 10,276
  • 11
  • 64
  • 79
28
votes
6 answers

How to resolve an error: The sandbox is not in sync with the Podfile.lock

When I add new plugin in Flutter, I get this error in my runner xcode: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation and I have already install CocoaPods and updated. I tried to run pod…
Mebrouki Amine
  • 351
  • 1
  • 4
  • 6
26
votes
22 answers

The sandbox is not in sync with the Podfile.lock-ios

I have got the following errors after trying multiple answers from the google. PhaseScriptExecution Check\ Pods\ Manifest.lock /Users/apple/Library/Developer/Xcode/DerivedData/Build/Intermediates/FoodSpot.build/Debug- …
Abdul Nouzil
  • 373
  • 1
  • 3
  • 9
10
votes
3 answers

Error running pod install: How to solve this problem?

I've searched a lot but unfortunately I didn't find a solution. For my flutter project I added the Firebase plug in in the pubspec.yaml file and since then I wasn't able to run the project on my iPhone anymore. It says: Exception: Error running pod…
Berkin
  • 419
  • 1
  • 7
  • 15
9
votes
0 answers

Why does `Podfile.lock` change `SPEC CHECKSUMS` section on `pod install` when nothing has changed?

I don't check in my Pods dir into source control. If I run pod install, touch nothing, and then run pod install a few minutes later the SPEC CHECKSUMS section of my Podfile.lock changes. Why? pod --version 1.9.3 "react-native":…
rynop
  • 50,086
  • 26
  • 101
  • 112
9
votes
2 answers

Pod install not installing pods in flutter app

My flutter app runs fine on android simulator but on trying to launch on ios simulator, it runs the pod install command forever. So I opened Xcode and found this error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update…
Bright
  • 707
  • 2
  • 10
  • 22
7
votes
2 answers

How do you delete Podfile.lock?

Xcode recently updated and my code is giving this error in STPAPIClient.m: Incompatible block pointer types sending '__strong STPAPIResponseBlock _Nonnull' (aka 'void (^__strong)(__strong ResponseType, NSHTTPURLResponse *__strong, NSError…
Hiya
  • 73
  • 1
  • 1
  • 4
2
votes
2 answers

How to Change Existing Repository Url in Podfile , Update all pods into New Repository

While a updating pod file it's asking big-bucket password using existing repository, but i don't have password (vendor big-bucket repository) , i would like change repository url. can you please share how i can change url. platform :ios, '10.0' #…
user11211835
  • 164
  • 2
  • 16
1
vote
1 answer

How can I get a list of all packages with their license from a Podfile.lock?

Due to compliance reasons, I need to generate a list of all software packages we use with their licenses. Also for indirect (transitive) dependencies. I know how to do the same with Python using pkg.get_metadata_lines("PKG-INFO") or for JavaScript…
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
1
vote
2 answers

Podfile.lock hashed cache key changes after pod install even though pods are all up to date azure devops pipeline

I'm getting this error every time I run a build through my azure devops pipeline: The given cache key has changed in its resolved value between restore and save steps I am trying to cache the cocoapods used in my react native project. I am using the…
pivey
  • 21
  • 5
0
votes
0 answers

How can I resolve the camera_avfoundation not found error when building a Flutter camera app with Xcode?

When I build a camera app made with Flutter in Xcode, it keeps saying that camera_avfoundation cannot be found. So, as shown below, I installed the dependency in pubspec.yaml and performed flutter pub get, and when I applied the same dependency to…
kmsong
  • 1
  • 1
0
votes
1 answer

How to cache Podfiles in circleCI when ignoring development Pods

In our Podfile, we use CI environment variable to decide whether to install certain development-only Pods (mainly Flipper). e.g. if !ENV['CI'] use_flipper!() end post_install do |installer| if !ENV['CI'] …
MDalt
  • 1,681
  • 2
  • 24
  • 46
0
votes
3 answers

Flutter CocoaPods Build Issue

I am facing this issue while making a build in iOS. The app is getting built in android but I am facing an issue in iOS. My platform ios version is '10.0' in podfile because I am using firebase. Following error I am facing while making a iOS build …
Hammas Ali
  • 454
  • 1
  • 4
  • 13
1
2