With macOS Cataline some nice new safe feature appeared. Apple always try to defend users from malicious softwares. Unfortunately this can cause several “safe” apps and tools won’t work any more. If the message appears “cannot be opened because the developer cannot be verified” you have allow somehow to run that app. In general you […]
Category: Useful Tools
Quickly check BitCode support of a library
I wrote already about nm which is a great tool to analyze the binaries. This can be used to quickly check whether a binary supports BitCode or not. Just open a terminal where your binary stored and use this command: nm -a -U -A -m <filename> | grep -i bitcode
If TextEdit makes your files wrong
From Mavericks theMAC OS X embedded default text editor tool, the TextEdit uses autocorrection by default so replaces your correct characters to funny ones. This is getting more funny when you open and edit a JSON file for example. And you won’t realize what went wrong a quite long time 🙂 So, just switch it off: Apple symbol […]
Analyzing binary libraries on Mac
If you want to know the architectures a library supports, just call: lipo -info <libname> lipo is also used to create fat-binaries. If you want to look more deeply into a binary library the easiest way to use nm. NM will list the whole structure of the library together with the public classes/method. It’s under the […]
iOS mock framework for unit tests
Mock objects are objects which behave like another business objects, but they don’t do more than you need to test a unit. For example they response with a static data. Mock frameworks gives you the ability to define dynamically mock objects in the test method rather than define them in separate classes. The mock object […]
ObjC advanced static code analyzer
There is a built in code analyzer in Xcode but unfortunately it’s not that we really need. It doesn’t check complexity, method sizes etc. This was one of the missing features till now because fortunately there is a good one out already: OCLint (http://oclint.org/) Unfortunately there is still no correct Xcode project file read support […]
Private API check
If you plan to submit your app to app store and you aren’t sure it doesn’t use private API you can check it with App-Scanner (https://github.com/ChimpStudios/App-Scanner)