On mac, g++ (clang) fails to search /usr/local/include and /usr/local/lib by default

I also use Homebrew and had a similar problem on Mac OSX Maverick 10.9.5 and Xcode 6.0.1, but it was solved by running: xcode-select –install Note that it doesn’t work without the double hyphens given by the previous answer. This installs the command-line tools that also create /usr/lib/ and /usr/include/. I don’t know why Homebrew … Read more

gitignore not ignoring file

You can only ignore unversioned files but that file is already known to git. If you want git to track that file, there is no need to tell git to ignore it. If you don’t want git to track that file use git rm and your ignore rule will start working. Caution: git rm will … Read more

Remove git from project in Xcode 4

I had the same problem. Here are the steps to resolving this. Go to the Organizer (under window menu option) Go to Repositories Look at the bottom left corner for the minus button Select the project to be removed from GIT Press the minus icon It should be removed This works, even though the class … Read more

Primary key property ‘name’ does not exist on object ‘RealmSwiftPermissionRole’

There’s an issue with iOS 13 and Xcode 11 which may cause this problem. All String properties of Realm classes with a default String value set are disregarded somehow. You can fix this by updating to the latest version (currently 3.20.0) and then on Xcode: Product -> Clean Build Folder. If you’re using cocoa-pods: Open … Read more