Xcode Unterminated Conditional Directive

When coding in Xcode and using the #ifdef, perhaps from using multiple targets preprocessor macros you might run into this error: Unterminated Conditional Directive This is due to a missing ending. It needs to be balanced with an #endif. Just like the #if statement needs an #endif. So to solve the error the if statement

Read More

VLC Connect To DLNA Server

In VLC 2.x and up you can access your share DLNA server by opening View -> Playlist. This will open up the playlist view. Go to Local Network -> Universal Plug’n’Play Here you’ll see all your visible shared folders and files. In older VLC versions it’s in a different place: Tools → Preferences → All →

Read More

Mac Map Windows Network Drive

To map a windows network drive in Mac open up Finder. Go to the mene Go -> Connect to Server.. or press Cmd + K Enter the path to the network drive: “smb://<servername>/<share> Replace <servername> and <share> It will now try to connect and ask for user account if this is required. Fill in Name

Read More

Xcode Rename Scheme Name

To rename a scheme name you can do two things. Go to the menu Product -> Edit Scheme… (Cmd + <)   -> Manage Scheme -> Select the Scheme you want to rename. Press return or do a slow double click Now you can rename the scheme name.

Xcode Run Script Permission Denied

Running a script in Xcode while compiling is a great way to have multiple targets with different resource and alike. After adding your script you might run into a permission denied error. You need to add permission to the file. Open up a terminal and navigate to the location of the .sh file. Now use

Read More

Xcode Create Launcher Image

iPhone app got a launcher image to fool the users to think the app starts very quickly. To create this launch image can be create from the Organizer from Xcode. Open Xcode and go to menu Window -> Organizer or the Organizer icon in the topright corner of Xcode. Remember to connect your iPhone to

Read More

Chrome Enabling Translate Option

To enable or disable the toolbar in Chrome to translate a page into, say English, you can do the following. You might have selected never translate anything, but now wants it back. Do the following: Click the wrench icon  on the browser toolbar. Select Settings. Click Under the hood In the “Languages” section, use the “Offer to translate

Read More

Xcode Can’t Remove SplashScreen

In Xcode after doing a ScreenShot in Organizer and pressing “Save as Launch Image” the image does not appear in the Groups and Files / project files. The file do however exist in the project folder if you navigate to it in Finder. To remove it go to your specific Target and select “Build Phases”

Read More