What are the difference between macOS and iOS?

A macOS and iOS share many of the same frameworks, low level (kernel) code, and share a common kernel and several core components. You can read about that in the following Wikipedia article: Darwin (operating system) However when it comes to their differences, it became a bit more complicated to find out. Can anyone help … Read more

OS X Framework Library not loaded: ‘Image not found’

[Xcode 11+] The only thing to do is to add the framework to the General->Frameworks, Libraries And Embedded Content section in the General tab of your app target. Make sure you select the ‘Embed & Sign’ option. [Xcode v6 -> Xcode v10] The only thing to do is to add the framework to the Embedded binaries section in the General tab of your … Read more

How to install Java 8 on Mac

Oracle has a poor record for making it easy to install and configure Java, but using Homebrew, the latest OpenJDK (Java 14) can be installed with: For the many use cases depending on an older version (commonly Java 8), the AdoptOpenJDK project makes it possible with an extra step. Existing users of Homebrew may encounter Error: Cask adoptopenjdk8 exists … Read more

dyld: Library not loaded … Reason: Image not found

Find all the boost libraries (where exefile is the name of your executable): and for each libboost_xxx.dylib, do: and finally verify using otool again: Manpages: otool install_name_tool EDIT A while back I wrote a python script (copy_dylibs.py) to work out all this stuff automatically when building an app. It will package up all libraries from /usr/local or /opt/local into the app bundle and fix references to those … Read more

Xcode – How to fix ‘NSUnknownKeyException’, reason: … this class is not key value coding-compliant for the key X” error?

Your view controller may have the wrong class in your xib. I downloaded your project. The error you are getting is ‘NSUnknownKeyException’, reason: ‘[<UIViewController 0x3927310> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key string.’ It is caused by the Second view controller in MainWindow.xib having a class of UIViewController instead of SecondView. Changing to the correct class resolves the … Read more

Maven Install on Mac OS X

OS X prior to Mavericks (10.9) actually comes with Maven 3 built in. If you’re on OS X Lion, you won’t have java installed by default. Run java by itself and it’ll prompt you to install it. Assuming qualifications are met, run mvn -version and see some output like this:

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)