osx-snow-leopard

Building with xcodebuild Timed out waiting for <IDEWorkspace, 0x2004cebc0>/“runContextManager.runContexts”

二次信任 提交于 2019-12-02 17:00:19
I am setting up my iphone project to run with hudson, my build script works fine locally, but when executing the following command on my snow leopard server mac xcodebuild -sdk iphoneos4.3 -workspace Moments.xcworkspace/ -scheme Moments -configuration DistributionTest I get the following error messages. Build settings from command line: SDKROOT = iphoneos4.3 2011-05-11 10:32:17.729 xcodebuild[4151:903] WARNING: Timed out waiting for /"runContextManager.runContexts" (10.010780 seconds elapsed) xcodebuild: error: The workspace 'Moments.xcworkspace/' does not contain a scheme named 'Moments'.

XCode 3.2: Changing the default “Code Sense” indentation and whitespaces

亡梦爱人 提交于 2019-12-02 16:25:31
I'm working with XCode 3.2 (on "Snow Leopard") which (still) has this nice "Text Macro" auto-completion feature (eg. if you type if it will expand to if (<#condition#>) { <#statements#> } ). These macros are also available via "Edit->Insert Text Macro". Unfortunately, the default templates don't match my beloved indentation and whitespace style so I'd like to modify them. According to this slightly outdated StackOverflow thread the corresponding definitions should be located at /Developer/Library/Xcode/Specifications/{C,HTML}.xctxtmacro but I can't find anything there using Snow Leopard and

NSFileManager delete contents of directory

旧时模样 提交于 2019-12-02 15:48:32
How do you delete all the contents of a directory without deleting the directory itself? I want to basically empty a folder yet leave it (and the permissions) intact. Georg Fritzsche E.g. by using a directory enumerator: NSFileManager *fileManager = [[NSFileManager alloc] init]; NSDirectoryEnumerator *enumerator = [fileManager enumeratorAtPath:path]; NSString *file; while (file = [enumerator nextObject]) { NSError *error = nil; BOOL result = [fileManager removeItemAtPath:[path stringByAppendingPathComponent:file] error:&error]; if (!result && error) { NSLog(@"Error: %@", error); } } Swift let

python locale strange error. what's going on here exactly?

那年仲夏 提交于 2019-12-02 15:11:40
So today I upgraded to bazaar 2.0.2, and I started receiving this message (I'm on snow leopard, btw): bzr: warning: unknown locale: UTF-8 Could not determine what text encoding to use. This error usually means your Python interpreter doesn't support the locale set by $LANG (en_US.UTF-8) Continuing with ascii encoding. very strange, since my LANG is actually empty. Similar thing happen when I try to tinker with the locale module Python 2.5.4 (r254:67916, Nov 30 2009, 14:09:22) [GCC 4.3.4] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>>

Setting up PHPUnit on OSX

梦想与她 提交于 2019-12-02 14:22:18
Though I'm sure others have eventually managed to figure this out, I've been following the various documentation out there and have been having a heck of a rough time of it. http://www.phpunit.de/manual/current/en/installation.html Makes it sound pretty easy. However depending on your setup, you might be going down a rabbit hole. PEAR for example must be of a version higher than 1.8.1. I had 1.8.0 at the time, so I went to find out how to update PEAR PEAR upgrade-all Gives an error. No access. sudo PEAR upgrade-all Works, but upgrades the PEAR install owned by the user 'sudo' (and not your

How to install lightblue (bluetooth) module on Snow Leopard?

六眼飞鱼酱① 提交于 2019-12-02 12:10:22
I'm trying to install the bluetooth module from lightblue . My system: Mac OS X Snow Leopard 10.6.8, Python 2.7, gcc 4.2 & 4.0, xcode v.3.2.3 . I checked , i also got python 2.3/2.5/2.6 folders directly under /Library/Python/ in my system (This is different from 2.7 which is located in /Library/Frameworks/Python.framework/Versions/2.7/) When I install lightblue with python setup.py install , I get the following error: GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file BBBluetoothOBEXClient.m) ** BUILD FAILED ** So I thought it was about the gcc version. So I did: 'export CC=gcc-4.0' or

Rails-MySQL Error - uninitialized constant MysqlCompat::MysqlRes

℡╲_俬逩灬. 提交于 2019-12-02 07:21:17
Trying to get a Rails app running on Snow Leopard. Downloaded mysql-5.5.8-osx10.6-x86_64.dmg and ran installer Ruby 1.8.7 (Default OS X version) Rails 2.3.5 When I attempt to run "rake db:migrate" I get rake aborted! uninitialized constant MysqlCompat::MysqlRes Yes I know this has been asked before. I have already reviewed the following links and followed the steps included in them and the result is the same each time. Rails, MySQL and Snow Leopard http://techliberty.blogspot.com/2009/12/dealing-with-rake-aborted-uninitialized.html http://www.schmidp.com/2009/06/14/rubyrails-and-mysql-on-snow

git shows random files changed on Mac NFS filesystem

家住魔仙堡 提交于 2019-12-02 05:46:33
问题 We have a strange problem here at work that I've been unable to figure out. We all use MacBooks with Snow Leopard on our desktops and we have a handful of Linux servers we also use remotely. Some of my team members put git repositories on an NFS filesystem that's shared between both the Mac's and the Linux servers so they don't have to think about sharing code between repositories in their personal workflow. This is where the strange starts, on the OSX machines git will randomly show some

Passenger install with conversion errors. Impact on nginx module?

穿精又带淫゛_ 提交于 2019-12-02 04:27:08
问题 Under OS X 10.6.8 installing passenger, first under rbenv, then after uninstalling rbenv, also under rvm Mini:~ user$ gem install passenger is generating conversion errors: unable to convert "\xE4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG, skipping unable to convert "\xC5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CONTRIBUTORS, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for debian

Subversion has stopped working with snow leopard install

和自甴很熟 提交于 2019-12-02 04:24:07
With the install of snow leopard access to subversion has stopped working, any one know how I can fix it? When I click on my repository I get list svn+ssh//yoda@192.168.0.6/library/subversion/respository/apps Error 210002 (Network connection closed unexpectedly Description: (null) Any help would be very gratefully received. You seem to be connecting through SSH. First try to manually ssh into the remote server. ssh -vvv yoday@192.168.0.6 Since it's a local address, I assume it's another mac computer and had been upgraded to snow leopard as well, changing the machine fingerprint for SSH, and it