osx-snow-leopard

Is anyone doing iPhone SDK 2.x.x dev on Snow Leopard?

狂风中的少年 提交于 2019-11-30 20:57:29
There seems not to be an SDK 2.x.x for Snow Leopard. Or am I mistaken? BTW, I'm loving the built-in Clang!! Kudos to the Xcode team! You can write applications targeting iPhone OS 2.x for Snow Leopard. Just make sure you are not using any iPhone OS 3.0 specific API:s. You can also write applications that target both 2.x and uses 3.0 features if available. Two things to keep in mind if you do: Link any iPhone OS 3.0 frameworks weakly. Be sure to check the [UIDevice currentDevice].systemVersion before calling something 3.0-ish. Could be a third bullet; Ask yourself if user who did not even care

Snow Leopard upgrade -> reinstalling sqlite3-ruby gem problem

我怕爱的太早我们不能终老 提交于 2019-11-30 20:33:21
问题 I got ruby 1.8.7 (native compiled), rails 2.3.4, OSX 10.6.2 and also sqlite3-ruby. The error I'm getting when accessing the rails app is NameError: uninitialized constant SQLite3::Driver::Native::Driver::API History : I upgraded to snow leopard by migrating my apps with a FW-cable from my old macbook to the new one. Everything was running perfectly for months, but Yesterday I needed to install watir, which was dependant on rb-appscript, which didn't build due a "wrong architecture" error in

Are there drawbacks to Snow Leopard's new “sudden termination” mechanism?

我与影子孤独终老i 提交于 2019-11-30 18:26:36
问题 So there's one piece of technology new to Snow Leopard that I haven't heard of. Sudden termination (see Sudden termination in this Apple doc) is apparently a mechanism for telling the system when it is OK for your application to be killed brutally instead of going through the standard quitting mechanism. This is supposed to help faster log-off/power-off/hibernation. First, I didn't know about it, didn't see it discussed here or anywhere, so: Is it used widely? What are the typical use cases

Problems with Snow Leopard, Django & PIL

微笑、不失礼 提交于 2019-11-30 17:29:40
问题 I am having some trouble getting Django & PIL work properly since upgrading to Snow Leopard. I have installed freetype, libjpeg and then PIL, which tells me: --- TKINTER support ok --- JPEG support ok --- ZLIB (PNG/ZIP) support ok --- FREETYPE2 support ok but when I try to upload a jpeg through the django admin interface I get: Upload a valid image. The file you uploaded was either not an image or a corrupted image. It works fine with PNG files. Any Ideas? 回答1: Cato I had the same experience

How do I host multiple MVC3 sites on a single virtual host running Apache2?

守給你的承諾、 提交于 2019-11-30 17:08:46
I'm trying to configure mod_mono with Apache2 on OSX. I would like to run multiple MVC3 projects on the same virtual host, but for some reason only the first one listed is working. Any help on this would be much appreciated as there is not much documentation on this. I've tried a lot of different config options, none of which seem to work. Listen *:9005 <VirtualHost *:9005> DocumentRoot "/Library/WebServer/vhosts/api" ServerName api MonoAutoApplication disabled Alias /gamecenter "/Library/WebServer/vhosts/api/gamecenter" AddMonoApplications gamecenter "/gamecenter:/Library/WebServer/vhosts/api

Installing Phing & PHPUnit on MAMP

天大地大妈咪最大 提交于 2019-11-30 16:33:24
I'm having problems running phpunit under MAMP on OS X 10.6. I've installed phpunit via PEAR and it is exists in the MAMP directory but when I run phpunit in terminal nothing happens. I'm guessing that this is a path problem but as a os x newbie, I don't know how to fix it. This is what happens when I try to run it from /Applications/MAMP/bin/php5.3/bin $ phpunit -bash: /usr/bin/phpunit: No such file or directory $ ./phpunit $ The problem looks very similar to this How to Install phpunit 3.5 on mac with MAMP but the solutions there haven't worked so far. Here is some more system info: Location

How to prevent a Beep sound if global keyboard shortcut is pressed in the other application?

只愿长相守 提交于 2019-11-30 16:21:14
问题 Mac OS X 10.6 — Cocoa I'm using global event monitor for displaying status item menu using custom keyboard shortcut: globalEventMonitor = [NSEvent addGlobalMonitorForEventsMatchingMask:NSKeyDownMask handler:^(NSEvent *event) { if ([event keyCode] == kVK_F12) { [self handleGlobalShortcut]; // How to prevent system beep? } }]; This solution is working but the system generates a beep sound every time when user presses F12 and active application doesn't respond to this key event. Is there any way

Develop iPhone applications on Windows (with Virtualbox etc)

我的梦境 提交于 2019-11-30 16:18:16
问题 This has been asked before, I know, but the answers are a bit dated. I think I've read somewhere that the Snow Leopard EULA has changed and that you now are allowed to install the OS on a Virtual Machine of some sort. I know I should buy a Mac and I might do so, but I want to try Objective-C in practice before I do that. I want to develop an application for iPhone, but if the IDE is as nasty as they say I might skip it altogether. I just want to have a look at it first. So, is it possible do

Upgraded to ruby 1.9.2 and getting Segmentation Fault errors in nokogiri

て烟熏妆下的殇ゞ 提交于 2019-11-30 15:58:45
I decided to upgrade to 1.9.2 ruby yesterday and also installed rvm to do it. I ran a few recent files I had working previously on 1.8.7 but anything requiring nokogiri fails with the following errors. /Users/myusername/.rvm/gems/ruby-1.9.2-p0/gems/nokogiri-1.4.3.1/lib/nokogiri/nokogiri.bundle: [BUG] Segmentation fault ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] I am running nokogiri 1.4.3.1, ruby 1.9.2 on OSX Snow Leopard 10.6.4 If you get a Segmentation fault error from nokogiri, e.g., when you open your rails console, and you are using RVM and your ruby version is 1.9.2

Perl strategy for a new Snow Leopard user? [closed]

非 Y 不嫁゛ 提交于 2019-11-30 15:50:17
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I'm about to get a new iMac. It's my first Intel mac and will presumably come with Snow Leopard. What would other users recommend as the right strategy for installing and using perl on this machine? I know I've read some complaints about the version of Perl (or was it the version