osx-lion

Core Data migration failure between NSPersistenceFrameworkVersions 251 and 358

孤街醉人 提交于 2019-12-04 19:46:07
I have what appears to be a bug with Core Data in OS X 10.7.1. My data store (NSSQLiteStoreType) is not being automatically migrated correctly. As a side note the exact same Core Data models are used by an iOS version of the app. -> Here is what appears to be happening. Up until the latest release everything has been working fine -- I have 14 revisions of the model -- model 13 has been shipping for quite some time without incident. Recently I updated my app and added a new model so I am at 14 (this is the version now used in the shipping apps). The iOS version works just fine when migrating

OSX - Service does not show the localized Menu Title string

本小妞迷上赌 提交于 2019-12-04 19:34:37
I have a Cocoa application. This hooks up into OSX Service Menu. I have created three ServicesMenu.strings for en.lproj , zh-Hans.lproj and hi-IN.lproj for localizing the Service Menu Title. The problem is OSX does seem to be using the localized text at all. Info.plist (relevant portion) <key>NSServices</key> <array> <dict> <key>NSKeyEquivalent</key> <key>NSMenuItem</key> <dict> <key>default</key> <string>CreateHere</string> </dict> <key>NSMessage</key> <string>createHere</string> <key>NSPortName</key> <string>CreateHereFilesService</string> <key>NSRequiredContext</key> <dict> <key

has anyone seen “[StdMovieUISliderCell sliderType]: unrecognized selector sent to instance”

好久不见. 提交于 2019-12-04 19:13:53
问题 I am using QTMovieView and , sometimes, I get the following log and follow by an unknown selector exception. The program has options for users to set to show and hide controller of the QTMovieView. The SDK that the program is linking against is 10.7 "[StdMovieUISliderCell sliderType]: unrecognized selector sent to instance" thanks for any help 回答1: This looks like a bug that was introduced in OS X Mountain Lion 10.8 ( Edit: there are also reports on OS X 10.7, see comments below) . I guess

“Illegal instruction: 4” shows up in OS X Lion

我怕爱的太早我们不能终老 提交于 2019-12-04 18:25:36
问题 Some C++ application compiled and run seamlessly in OS X Snow Leopard, but I changed recently to OS X Lion, and here, although there is no compilation error, when I try to run it I get the error "Illegal instruction: 4", I have no clue, what could be the reason? PS: These are the linking flags I use -Wl,-stack_size,0x10000000,-stack_addr,0xc0000000 This is the output I get when I do sudo truss executable setrlimit returned result = -1 SYSCALL(args) = return getpid(0x0, 0x0, 0x0) = 32993 0 _

Objective-C Library - cannot form weak reference to instance of class

梦想与她 提交于 2019-12-04 18:17:49
问题 I'm currently working with the XMPP Library for Objective-C, and I'm using the "Desktop" example code. It logs in fine; however, when I open a new chat, or someone sends me a message, it crashes. This seems like where something goes wrong: XMPPStream[11678:1b03] RECV: 2012-06-05 15:03:59:379 XMPPStream[11678:1b03] RECV: 2012-06-05 15:03:59:382 XMPPStream[11678:403] RosterController: xmppRosterDidChange: 2012-06-05 15:03:59:387 XMPPStream[11678:403] RosterController: xmppRosterDidChange: 2012

What is the best way to setup Django on os X 10.7 Lion?

元气小坏坏 提交于 2019-12-04 16:51:08
I am setting up Python and Django on os X 10.7 from a virgin install and Xcode 4.3. I tried using the default install of Python: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ I normally use a Python based package manager called easy_install. Easy_install seems to not be able to find the compiler. EDIT: When I tried to install MySQL-python I got this error: $ sudo easy_install MySQL-python Password: Searching for MySQL-python Reading http://pypi.python.org/simple/MySQL-python/ Reading http://sourceforge.net/projects/mysql-python/ Reading http://sourceforge.net/projects/mysql

Lion 10.7.3: Apple is not currently accepting applications built with this version of the OS

限于喜欢 提交于 2019-12-04 16:44:36
问题 I was running Xcode 4.2 on Lion 10.7.2 and I have a few applications that needed updating to the Lion sandbox, so I can resubmit them to the Mac App Store (Mac, not iOS). Somewhere along the way I had a popup to update to combo update 10.7.3 and after that everything went wrong. Verifying and submitting apps was fine if the archive was compiled in 10.7.2 but if it was compiled after the 10.7.3 update it can no longer verify the app. That is right, under 10.7.3 I can still verify apps if they

How to install PostgreSQL 9.1 on OSX Lion

烂漫一生 提交于 2019-12-04 15:37:38
问题 I downloaded PostgreSQL from the official website and ran the .dmg installer. After that I downloaded pgadmin3 and I am indeed able to connect to the database. when I run 'psql' I get the following error: psql: could not connect to server: No such file or directory Is the server running locally and accepting After hours of googling I read about some $PATH issues, so I put this into my .bashrc: export PATH=/Library/PostgreSQL/9.1/bin:$PATH However, this doesn't solve the error above at all.

How to setup Xfig onto a Mac machine? [closed]

别等时光非礼了梦想. 提交于 2019-12-04 13:35:00
The user manual said that I need to Get the source of xfig (xfig.3.2.5-alpha3.full.tar.gz) and gunzip and untar the file: Either do: gunzip -c xfig.3.2.5-alpha3.full.tar.gz | tar xvf - or gunzip xfig.3.2.5-alpha3.full.tar.gz tar xvf xfig.3.2.5-alpha3.full.tar It also said that There is a version of xfig ported to run on the MacIntosh under the Darwin port of XFree86. But I didn't find how to setup the XFree86 and even the xfig since I am very new to either Mac OS or UNIX. The easiest way is probably to use a package manager like Macports , Fink , Homebrew etc. For macports the steps are

Lion: Problem with RVM installing rubies - problem related to openssl

落爺英雄遲暮 提交于 2019-12-04 13:26:44
问题 I'm desparate, fuddling with the following problem for two(!!) days now w/o a solution. After an update to Lion I wanted to install additional rubies using the most recent version of rvm. Here's what happens when I call bundler afterwards: /Users/felix/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': dlopen(/Users/janroesner/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.1.0/digest/sha1.bundle, 9): Symbol not found: _SHA1_Init