Very often a lots of iOS applications use your gps position to retrieve data or to lock / unlock contents positions based.
With Android you can use lots of apps called Fake GPS or similar that allow you to change your real gps position with a mocked one.
On Android development side this can be blocked checking via code the:
Continue reading “iOS – Fake GPS position: how to use and prevent”
Every time you upload a screenshot on the App Store for a new app submission, you receive from Apple this error message:
Continue reading “Remove alpha channel from png images”
“Images can’t contain alpha channels or transparencies.”
I want to introduce you to the new “App Icon Maker“, a simple and free utility for macOS that helps you to convert the images in the 3 Apple formats, @1x, @2x, and @3x.
Continue reading “macOS – App Icon Maker free utility”
PrivateFrameworks are always a joy.
Today, for a personal project I discovered how to use private Login.framework to lock programmatically via code (Swift or C) the screen of my mac book.
Continue reading “Swift / C – Lock macOS programmatically”
A simple tutorial for find and identify the wrong typed words of the user in your application using the UITextChecker framework and the NatualLanguage framework.
Continue reading “Swift – Identify misspelled words and errors in phrases”
Very often you create a new class or a new view controller and customize it before start coding.
Every time you select from XCode, New File, the file type and add it to your project, like this:
Continue reading “Create your own XCode template”
Why this guide?
My need was to control the robot asking simple commands through Google Home and Alexa like: “Alexa, clean the bathroom“.
With my robot, this was not possible. With the app, you can configure the zones but you can’t simply ask for cleaning only one zone, two times, for instance, all in automatic.
Continue reading “Xiaomi Roborock – control via socket API”
In my personal case I use three different git services for store / share my personal / work code:
- Github // my blog code, free open sources code
- Gitlab // my work code, on-premise installation
- Bitbucket // my personal code, free private repo
Every service uses different SSH keys to use. Must be configured separately.
Continue reading “Use multiple GIT accounts on same machine / macOS”
You need to build a System preference panel extension for your app but you’re unable to debug it from XCode due to Apple System Integrity lock?
Let’s see how!
But how to debug this extension?
Latest macOS block the execution or the debug of all system application. Now all apps are signed and if you try to attach a debugger you’ll receive this error:
Continue reading “XCode – Debug macOS PreferencesPane applications”
Message from debugger: cannot attach to process due to System Integrity Protection