Skip to main content

iOS localization to your app

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.

RealmSwift 10.1 framework not found realm-sync

Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following error 

RealmSwift 10.1: framework not found realm-sync

The greatest clue I came across to solving this issue was on the Realm GitHub issues page for realm-sync error.  However, updating Cocopods wasn't the only step required to correct this issue.  The steps I took were:

clearing cache

At times while developing in October CMS, you will perform a step that kills the site.  Recently, I had transferred the site to production and I was working through our steps to cross check deployment.  This included reviewing the error logger plugin.  The error logger has four tabs Mailer, Slack, Syslog and Relic.

Deployment error iPhoneOS

Post the recent update to Xcode 12.x (12A7300), I found opening an app returned the following deployment error

migrating OctoberCMS plugins

Using October CMS to migrate your site and update the tables with the plugins run 

php artisan october:up

 

npm error config/core.js missing

I started out with a simple task... install Tailwindcss.  What unfolded is something that many of us have experienced time and time again.

For anyone that has completed this task before knows that through shell the command is

shell command to know who is the current user

For what reason would you need to find the identity of the current user? You are the current user!  However, if you are like me and run multiple user accounts for different domains, then having the ability to quickly check is important.

who

The output from who gives you the name of the current user (denoted below as {username}), the terminal they are logged in at, the date and time when they logged in and the IP address:

yum command for clearing cache and make

Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I hit a few walls and as a matter of process found some commands that are handy to run before doing a deep dive in Google.

 

Cleaning the cache

sudo yum clean all
rm -rf /var/cache/yum/*

To make the cache

sudo yum clean all; sudo yum makecache

If you want to run several commands use semi-colon as noted above.

 

Changing the author name from username to a first and last name

A bug bear that I have had for a while with Drupal content is how come the author of an article is actually their username.  I have an array of reasons to vent my dislike for this strategy... however, instead I will show you how to change it.  Albeit, programmatically!  Don't stress there actually isn't a huge amount of code to add.  In time I'll create a module so no coding is required.

 

Cannot show Automatic Strong Passwords - iCloud Keychain is disabled

[AutoFill] Cannot show Automatic Strong Passwords for app bundleID: your.bundle.id due to error: iCloud Keychain is disabled

This error occurs when the system's user doesn't have iCloud Keychain enabled.  This will often be the case on the Simulator.  Try it on one of your devices and see what happens.  I received this message on one of my devices where iCloud Keychain is enabled:

Subscribe to