osx-yosemite

PhantomJS: getting “Killed: 9” for anything I'm trying

萝らか妹 提交于 2019-11-28 04:27:19
Just installed phantomjs, mac os x yosemite. Whenever I run /bin/phantomjs, with any parameter, I get Killed: 9 . Any idea? re: running phantomjs on osx yosemite, download the build/fix found at: https://github.com/eugene1g/phantomjs/releases original issue: https://github.com/ariya/phantomjs/issues/12928 Install UPX. UPX is an executable packer and unpacker $ brew install upx Unpack the phantomjs executable $ upx -d phantomjs-2.0.0-macosx/bin/phantomjs Run the phantomjs executable $ ./phantomjs-2.0.0-macosx/bin/phantomjs The eugene1g release and UPX install didn't work for me on El Capitan.

--resource-rules has been deprecated in mac os x >= 10.10

。_饼干妹妹 提交于 2019-11-28 03:26:27
I tried to resign my ipa file with new provisioning profile on Mac Os 10.10 with iResign app but I got this warning: "Warning: --resource-rules has been deprecated in Mac OS X >= 10.10". What should I do now? I found workaround : if you run the iResign app from XCode — then you will resign app without problem (warning will appears in console instead of popup). But if you close XCode and run app alone — then popup will back to you! BTW: bug found :) The condition if (systemVersionFloat < 10.9f) Is broken for Yosemite 10.10. Funny. Thanks, Click on your project > Targets > Select your target >

RegEx with Excel VBA on Mac

天大地大妈咪最大 提交于 2019-11-28 02:19:13
I need to use regEx with Excel VBA. I'm using Mac OS 10.10 and Office 2011. So there is no DLL file I can use. What is there to do here? I read I've to bind an apple script. How is this done and what content does this script need? Natively, you can't really - AppleScript isn't actually that good for this kind of thing (where VBA is concerned) There are other libraries that you can install and use to allow support for things like regular expressions on Mac OS - the one I've seen used the most is Satimage although I've not personally had to use it (yet) so can't vouch for it myself: http://www

Type 'Boolean' does not conform to protocol 'BooleanType'

半城伤御伤魂 提交于 2019-11-28 01:51:53
In attempting to create a Launch Helper as per the Apple docs (and tutorial-ized ), I seem to be hitting a hiccup caused by porting the Objective-C code into Swift... who's compiler couldn't be any more redundant in this case. import ServiceManagement let launchDaemon: CFStringRef = "com.example.ApplicationLauncher" if SMLoginItemSetEnabled(launchDaemon, true) // Error appears here { // ... } The error seems to consistently be: Type 'Boolean' does not conform to protocol 'BooleanType' I have tried casting to Bool in a number of locations, in case I'm simply dealing with a redundant, archaic

Os X Yosemite Qt drag and drop file name bug

两盒软妹~` 提交于 2019-11-27 18:34:28
问题 I was trying to use a simple drag and drop feature in my Qt app. Here is my code: MyWindow::MyWindow(QWidget *parent) { .......... setAcceptDrops(true); } void MyWindow::dragEnterEvent(QDragEnterEvent *e) { if (e->mimeData()->hasUrls()) { e->acceptProposedAction(); } } void MyWindow::dropEvent(QDropEvent *e) { foreach (const QUrl &url, e->mimeData()->urls()) { const QString &fileName = url.toLocalFile(); qDebug() << "Dropped file:" << fileName; } } As you see, it simply prints the path name

where are my iOS simulators in xcode 6 after yosemite installation?

二次信任 提交于 2019-11-27 18:28:13
问题 I upgrade to Yosemite my Mini Mac (yesterday) and after a long hours (almost a day) the installation was succeeded. I enter in my source code in Xcode 6.0.1 and after automatically install several things (i just saw the message and wait) i can't see the iOS simulators just iOS Device. I check in Preferences but i have iOS Simulator 7.1 checked but i don't have any other simulator and i can't see 7.1 simulator either. Thanks for your help. EDIT **** After install Xcode 6.1 I saw my iOS

MySQL does not start when upgrading OSX to Yosemite or El Capitan

不羁岁月 提交于 2019-11-27 17:19:44
I know similar questions exist, such as MySQL with MAMP does not work with OSX Yosemite 10.10 . However, I do have MAMP, nor XAMPP installed on my computer. When I try to start mySQL from the PrefPane, nothing happens. When I try to start mqSQL from the command line via sudo /usr/local/mysql/support-files/mysql.server start I get: Starting MySQL . ERROR! The server quit without updating PID file (/usr/local/mysql/data/adamg.local.pid). Any and all help would be appreciated. I can supply any file output necessary. Tommy King Open a terminal: Check MySQL system pref panel, if it says something

rails server cannot start; getaddrinfo: nodename nor servname provided, or not known (SocketError)

坚强是说给别人听的谎言 提交于 2019-11-27 16:57:17
问题 I have not found a solution to the problem, however someone did already ask about the same problem a few days ago - (Rails Server Keeps Exiting (SocketError)) After I start a rails server the system returns some error I cannot understand. To install Ruby on Rails on my mac I did everything as listed on http://railsapps.github.io/installrubyonrails-mac.html here is my terminal response: $ rails server => Booting WEBrick => Rails 4.2.0 application starting in development on http://localhost

Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLog/

不羁岁月 提交于 2019-11-27 14:18:48
问题 UPDATE: SUBMIT BUG REPORTS AND REFERENCE THIS NUMBER: #18882445 I keep having this error come up randomly through various compile times (even if nothing seems wrong with the app) [PLLogging] ***** Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/ I can't find anything online. I have tried cleaning the project, multiple devices, and re-installing Xcode. If you have any advice on this issue I'd love to hear it! I am running Xcode 6.1 on Yosemite and

Configuring Pycharm to run Pyinstaller

孤者浪人 提交于 2019-11-27 13:15:34
问题 Yes I want to create a run configuration in PyCharm to run Pyinstaller and get my executable. According to the Pyinstaller documentation you should be able to locate an python script called pyinstaller-folder/pyinstaller.py after the installation, but it wasn't there. Then I look carefully and found this other one named pyinstaller-folder/__main__.py which should be the same <--(me wild guessing), so I set up my running configuration like this: After running it, is giving me this error: /usr