developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
21
results
Andrew Fletcher
•
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 its pristine state, resolving any issues with its extensions. After running this command, try running pod update again
pod updateIf you encounter any permission issues, you might need to use...
Andrew Fletcher
•
Logging into the server, and there are packages to be updated. You know...
Andrew Fletcher
•
Working on a decoupled React / Drupal 9 site.
Aim: Adjust the output of curated...
Andrew Fletcher
•
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
•
This code is from Drupal 9 back-end for a React front-end via REST API.
Working...
Andrew Fletcher
•
Getting Started with Cocoapods
Installation
Built with Ruby, Cocopods is installable with the default Ruby available on macOS. Using the default Ruby install will require you to use sudo when installing gems.
sudo gem install cocoapodsHowever, if you attempt to install or update Cocopods without Sudo you will hit a permission issue.
gem install cocoapods
Fetching cocoapods-1.11.2.gem
Fetching cocoapods-core-1.11.2.gem
Fetching rexml-3.2.5.gem
Fetching xcodeproj-1.21.0.gem
Fetching...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
•
The purple warning notification of annoyance recently came my way! I...
Andrew Fletcher
•
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is surprisingly painless in iOS. For most of us the base version of the app will be written in English. Then you will localize the app to other languages. The process of localization in this article is based on the latest Xcode which is 12.1. One of the most challenging aspects to localization is ensuring that the app's text is translated by respective languages native...
Andrew Fletcher
•
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...
Andrew Fletcher
•
After creating a new view with a @Binding string as follows
struct EditRival:...
Andrew Fletcher
•
What to do when you want to filter a Realm object, using NSPredicate in...
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this...