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!
PreferencePane macOS app extension 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:
Message from debugger: cannot attach to process due to System Integrity Protection
To avoid this kind of error, I suggest a simple trick. Use it only for debugging your plugin.
Go in /Applications and duplicate the “System Preferences.app”. Rename it to “SystemPreferences_nosign.app” Open terminal, go to the Application folder and use:
$ codesign -s - -f SystemPreferences_nosign.app
Now in XCode, select as Run Process, your new “nosigned” application. Build and run (debug)!
Today i’ve discovered a
simple and funny way to catch all Pokemon around the world simply stay sit in front of your pc!
Continue reading PokemonGo – Catch world wide pokemon… from your desk!
APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code, now using IBInspectable.
Continue reading [Objc] UIButton with rounded corners (IBInspectable)
I’ve prepared a simple class that write logs on device disk.
This is very useful, because you can send and receive logs from apps, crashlog, backtrace and debug informations.
Continue reading [Objc] Write console log to file… and send for email
A simple trick, using
private API to get the device COVER color!
Continue reading [Objc] Get iOS device color
A simple tutorial that how to use
Apple fingerprint authentication in your iOS8apps on iPhone 5S and plus.
Continue reading [Objc] Fingerprint authentication
today a simple trick to change the app language, without change phone language.
Continue reading [Objc] Change App language
Today a funny article that use both
UIDynamicAnimator and CMMotionManager!
Continue reading [Objc] UIDynamicAnimator with CMMotionManager
Yes, you can!
Now you are able to change the snapshot of your app while is in background!
An example here:
Continue reading [Objc] Change controller on application background
User defined runtime attributes are the hidden gem of Xcode’s Interface Builder. Available since Xcode 4 and iOS 5, they provide the ability to configure properties of a view that you would otherwise be unable to configure in Interface Builder.
Continue reading [Objc] User defined runtime attributes