<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Xcode on Arcanelab Blog</title><link>https://blog.arcanelab.com/tags/xcode/</link><description>Recent content in Xcode on Arcanelab Blog</description><generator>Hugo</generator><language>en-US</language><copyright>Zoltán Majoros</copyright><lastBuildDate>Fri, 05 May 2017 10:28:00 +0200</lastBuildDate><atom:link href="https://blog.arcanelab.com/tags/xcode/index.xml" rel="self" type="application/rss+xml"/><item><title>Conforming to Objective C protocols in Swift When conforming to an Objective C…</title><link>https://blog.arcanelab.com/2017/05/conforming-to-objective-c-protocols-in-swift-when/</link><pubDate>Fri, 05 May 2017 10:28:00 +0200</pubDate><guid>https://blog.arcanelab.com/2017/05/conforming-to-objective-c-protocols-in-swift-when/</guid><description>&lt;h1&gt;Conforming to Objective C protocols in Swift&lt;/h1&gt;
&lt;p&gt;When conforming to an Objective C protocol in Swift, make sure that the Swift class also inherits from NSObject.&lt;br/&gt;&lt;/p&gt;</description></item><item><title>How To Use Git Source Control with Xcode 8</title><link>https://blog.arcanelab.com/2017/04/how-to-use-git-source-control-with-xcode-8/</link><pubDate>Mon, 17 Apr 2017 17:34:00 +0200</pubDate><guid>https://blog.arcanelab.com/2017/04/how-to-use-git-source-control-with-xcode-8/</guid><description/></item><item><title>jverkoey/iOS-Framework</title><link>https://blog.arcanelab.com/2017/02/jverkoey-ios-framework/</link><pubDate>Sat, 11 Feb 2017 18:57:00 +0100</pubDate><guid>https://blog.arcanelab.com/2017/02/jverkoey-ios-framework/</guid><description/></item><item><title>A Selection of Swift iOS Libraries https://github.com/Alamofire/Alamofire…</title><link>https://blog.arcanelab.com/2016/10/a-selection-of-swift-ios-libraries-https-github-com/</link><pubDate>Mon, 24 Oct 2016 13:56:00 +0200</pubDate><guid>https://blog.arcanelab.com/2016/10/a-selection-of-swift-ios-libraries-https-github-com/</guid><description>&lt;h1&gt;A Selection of Swift iOS Libraries&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://github.com/Alamofire/Alamofire"&gt;https://github.com/Alamofire/Alamofire&lt;br/&gt;&lt;/a&gt;&lt;a href="https://github.com/Alamofire/AlamofireImage"&gt;https://github.com/Alamofire/AlamofireImage&lt;/a&gt;&lt;br/&gt;&lt;a href="https://github.com/naoty/Timepiece"&gt;https://github.com/naoty/Timepiece&lt;/a&gt;&lt;br/&gt;&lt;a href="https://github.com/radex/SwiftyUserDefaults"&gt;https://github.com/radex/SwiftyUserDefaults&lt;/a&gt;&lt;br/&gt;&lt;a href="https://github.com/pkluz/PKHUD"&gt;https://github.com/pkluz/PKHUD&lt;/a&gt;&lt;br/&gt;&lt;a href="https://github.com/krzyzanowskim/CryptoSwift"&gt;https://github.com/krzyzanowskim/CryptoSwift&lt;/a&gt;&lt;br/&gt;&lt;a href="https://github.com/robb/Cartography"&gt;https://github.com/robb/Cartography&lt;/a&gt;&lt;br/&gt;&lt;a href="https://github.com/SwiftyJSON/SwiftyJSON"&gt;https://github.com/SwiftyJSON/SwiftyJSON&lt;/a&gt;&lt;br/&gt;&lt;a href="https://github.com/duemunk/Async"&gt;https://github.com/duemunk/Async&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;</description></item><item><title>Using xcconfig files for your XCode Project</title><link>https://blog.arcanelab.com/2016/10/using-xcconfig-files-for-your-xcode-project/</link><pubDate>Mon, 24 Oct 2016 13:27:00 +0200</pubDate><guid>https://blog.arcanelab.com/2016/10/using-xcconfig-files-for-your-xcode-project/</guid><description/></item><item><title>Xcode's Plugin Interface : Build Settings</title><link>https://blog.arcanelab.com/2016/05/xcode-s-plugin-interface-build-settings/</link><pubDate>Thu, 12 May 2016 15:54:00 +0200</pubDate><guid>https://blog.arcanelab.com/2016/05/xcode-s-plugin-interface-build-settings/</guid><description/></item><item><title>Linking an OSX external bundle with a .dylib library</title><link>https://blog.arcanelab.com/2016/05/linking-an-osx-external-bundle-with-a-dylib-library/</link><pubDate>Thu, 12 May 2016 13:53:00 +0200</pubDate><guid>https://blog.arcanelab.com/2016/05/linking-an-osx-external-bundle-with-a-dylib-library/</guid><description/></item><item><title>Solarized - Precision colors for machines and people</title><link>https://blog.arcanelab.com/2011/12/solarized-precision-colors-for-machines-and-people/</link><pubDate>Tue, 20 Dec 2011 19:40:00 +0100</pubDate><guid>https://blog.arcanelab.com/2011/12/solarized-precision-colors-for-machines-and-people/</guid><description/></item><item><title>iPhone OpenGL Speed Tip – Turn Off Thumb Instructions</title><link>https://blog.arcanelab.com/2011/12/iphone-opengl-speed-tip-turn-off-thumb-instructions/</link><pubDate>Tue, 20 Dec 2011 19:03:00 +0100</pubDate><guid>https://blog.arcanelab.com/2011/12/iphone-opengl-speed-tip-turn-off-thumb-instructions/</guid><description/></item><item><title>Porting Color Themes to Xcode 4</title><link>https://blog.arcanelab.com/2011/07/porting-color-themes-to-xcode-4/</link><pubDate>Sun, 03 Jul 2011 19:13:00 +0200</pubDate><guid>https://blog.arcanelab.com/2011/07/porting-color-themes-to-xcode-4/</guid><description/></item><item><title>Making openframeworks v0.062 work with Xcode 3.2.5 Recently I wanted to do some…</title><link>https://blog.arcanelab.com/2011/03/making-openframeworks-v0-062-work-with-xcode-3-2-5-recently/</link><pubDate>Thu, 17 Mar 2011 15:38:00 +0100</pubDate><guid>https://blog.arcanelab.com/2011/03/making-openframeworks-v0-062-work-with-xcode-3-2-5-recently/</guid><description>&lt;h1&gt;Making openframeworks v0.062 work with Xcode 3.2.5&lt;/h1&gt;
&lt;p&gt;Recently I wanted to do some creative coding with &lt;a href="http://www.openframeworks.cc/"&gt;openframeworks&lt;/a&gt; on iOS and OS X, but the installation of the library didn&amp;rsquo;t go flawlessly. Here&amp;rsquo;s a short summary how to get version 0.062 to work with Xcode 3.2.5 on Mac OS X 10.6.6:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;download the openframeworks package from the official website: &lt;a href="http://www.openframeworks.cc/download"&gt;http://www.openframeworks.cc/download&lt;/a&gt; (&lt;a href="http://www.openframeworks.cc/versions/preRelease_v0.062/of_preRelease_v0062_osxSL_FAT.zip"&gt;direct link to file&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;extract it to an arbitrary location&lt;/li&gt;
&lt;li&gt;to install the xcode templates, follow the instructions in &lt;strong&gt;PATH_TO_OF_DIR/xcode templates/readme.txt&lt;/strong&gt;. (The &amp;ldquo;dragging method&amp;rdquo; didn&amp;rsquo;t work for me, though, so I had to do the &amp;ldquo;manual&amp;rdquo; install.)&lt;/li&gt;
&lt;li&gt;at this point we need to compile the openframeworks library, so open &lt;strong&gt;PATH_TO_OF_DIR&lt;/strong&gt;&lt;strong&gt;/libs/openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;when I try to compile the library with the default settings, I get 111367 (no kidding!) errors, so after some experiments I figured the following projects settings need to be set (open the project settings and go to the &amp;ldquo;build&amp;rdquo; tab):&lt;br/&gt;- for Architectures set &amp;ldquo;32-bit Universal&amp;rdquo;&lt;br/&gt;- for Base SDK set &amp;ldquo;Mac OS X 10.5&amp;rdquo;&lt;br/&gt;- (optional, don&amp;rsquo;t do this if you&amp;rsquo;d like to support PPC-based Macs) for Build Active Architecture Only set TRUE (check)&lt;br/&gt;Now the library compiled for me without any errors. You can compile both &amp;ldquo;Debug&amp;rdquo; and &amp;ldquo;Release&amp;rdquo; versions.&lt;/li&gt;
&lt;li&gt;now you can go ahead and create an openframeworks project in Xcode by selecting &amp;ldquo;openFrameworks&amp;rdquo; in the User Templates section and select &amp;ldquo;Mac OS X empty example&amp;rdquo; in the right panel. It is &lt;strong&gt;very&lt;/strong&gt; important where you save your project: it must be located in &lt;strong&gt;PATH_TO_OF_DIR/apps/ARBITRARY_DIR/PROJECTNAME&lt;/strong&gt;. For me, for example: &lt;strong&gt;/Users/myusername/Programming/of_preRelease_v0062_osxSL_FAT/apps/Projects/NameOfMyCoolOFProject/&lt;/strong&gt;. If you fail to place the project at the right deepness in the directory tree, the relative paths in the project setting won&amp;rsquo;t resolve correctly, thus your project won&amp;rsquo;t compile.&lt;/li&gt;
&lt;li&gt;still we are not ready, because the default project settings are somewhat outdated, so go to your project settings and change the &amp;ldquo;Base SDK&amp;rdquo; to an existing one, 10.5 could be a good choice. (It might be a good idea to change the template project settings so that you wouldn&amp;rsquo;t have to do this every time you create a new project.)&lt;/li&gt;
&lt;li&gt;at this point the project will finally compile, but there is a warning remaining: &amp;ldquo;Warning: The Copy Files build phase contains this target&amp;rsquo;s Info.plist file &amp;lsquo;openFrameworks-Info.plist&amp;rsquo;.&amp;rdquo; To overcome this, just go and click on the &amp;ldquo;Targets&amp;rdquo; section, and in the list view find the entry named &amp;ldquo;openFrameworks-Info.plist&amp;rdquo; and delete it.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Now your project should compile without any warnings or errors. Yay, congratulations!&lt;/p&gt;</description></item><item><title>Mac OS X Debugging Magic</title><link>https://blog.arcanelab.com/2010/10/mac-os-x-debugging-magic/</link><pubDate>Sat, 09 Oct 2010 13:59:00 +0200</pubDate><guid>https://blog.arcanelab.com/2010/10/mac-os-x-debugging-magic/</guid><description/></item><item><title>how to debug EXC_BAD_ACCESS on iPhone</title><link>https://blog.arcanelab.com/2010/10/how-to-debug-exc-bad-access-on-iphone/</link><pubDate>Sat, 09 Oct 2010 13:57:00 +0200</pubDate><guid>https://blog.arcanelab.com/2010/10/how-to-debug-exc-bad-access-on-iphone/</guid><description/></item><item><title>Great guide for memory-debugging in Instruments</title><link>https://blog.arcanelab.com/2010/09/great-guide-for-memory-debugging-in-instruments/</link><pubDate>Thu, 30 Sep 2010 23:34:00 +0200</pubDate><guid>https://blog.arcanelab.com/2010/09/great-guide-for-memory-debugging-in-instruments/</guid><description/></item><item><title>A fantastic collection of Xcode tips &amp; tricks</title><link>https://blog.arcanelab.com/2010/09/a-fantastic-collection-of-xcode-tips-tricks/</link><pubDate>Tue, 14 Sep 2010 01:07:00 +0200</pubDate><guid>https://blog.arcanelab.com/2010/09/a-fantastic-collection-of-xcode-tips-tricks/</guid><description/></item><item><title>Quick Look source code preview &amp; syntax highlighting on Mac Without much rambling, a…</title><link>https://blog.arcanelab.com/2010/09/quick-look-source-code-preview-syntax-highlighting-on-mac/</link><pubDate>Tue, 07 Sep 2010 14:15:00 +0200</pubDate><guid>https://blog.arcanelab.com/2010/09/quick-look-source-code-preview-syntax-highlighting-on-mac/</guid><description>&lt;h1&gt;Quick Look source code preview &amp; syntax highlighting on Mac&lt;/h1&gt;
&lt;p&gt;Without much rambling, a solution for the problem presented in the title: &lt;a href="http://code.google.com/p/qlcolorcode/"&gt;http://code.google.com/p/qlcolorcode/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To change the color style (theme), use the following command:&lt;/p&gt;
&lt;pre&gt;defaults write org.n8gray.QLColorCode hlTheme [theme name]&lt;/pre&gt;
&lt;p&gt;Where [theme name] can be:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;acid, bipolar, blacknblue, bright, contrast, darkblue, darkness, desert, easter, emacs, golden, greenlcd, ide-anjuta, ide-codewarrior, ide-devcpp, ide-eclipse, ide-kdev, ide-msvcpp, ide-xcode, kwrite, lucretia, matlab, moe, navy, nedit, neon, night, orion, pablo, peachpuff, print, rand01, seashell, slateGreen, the, typical, vampire, vim-dark, vim, whitengrey, zellner&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>