Andrew Fletcher published: 16 February 2021 1 minute read
I attempted the run command and the response I had was succeeded, but then nothing else happened!
I usually have this problem when a dependency is not updated.
The following steps usually works for me... note in bold are the Terminal commands such as (rm -rf Podfile.lock):
- Delete your Podfile.lock - using Terminal use the command rm -rf Podfile.lock
- Delete your Pods folder - rm -rf Pods
- Delete your .xcworkspace - rm -f .xcworkspace
- Pod install
- Clear your project - shift + command + k or XCode > Product > Clean Build Folder
Related articles
Andrew Fletcher
•
17 Dec 2023
Ignoring ffi-1.16.3 because its extensions are not built. Try: gem pristine ffi --version 1.16.3
The error you're encountering indicates an issue with the ffi gem during the CocoaPods update. The error message suggests trying to run the gem pristine command to fix it.Using terminal - run the following command:gem pristine ffi --version 1.16.3This command will attempt to restore the ffi gem to...
Andrew Fletcher
•
16 Apr 2023
Xcode: Non-constant range: argument must be an integer literal error
Creating a foreach loop such as
var maxDigits: Int = 5
private var pinDots: some View {
HStack {
ForEach(0..<maxDigits) { index in
ZStack {
Image(systemName: self.getImageName(at: index))
.font(.system(size: 50.0, weight: .thin,...
Andrew Fletcher
•
12 Aug 2022
Using SwiftUI URLComponent to change a URL's scheme
The challenge I was facing, I had written a script to scan barcodes and use Google book API to view the contents. However, a snippet of the JSON response
{
"contentVersion": "0.2.0.0.preview.0",
"panelizationSummary": {
"containsEpubBubbles": false,
...