osx-mavericks

Change the icon of an applescript-called notification

此生再无相见时 提交于 2019-12-05 17:59:03
With OSX Mavericks we now can make notifications with applescript pretty easily. However, there doesn’t seem to be a way to change the icon that appears to a custom one. Is there a way to accomplish this? display notification will take application icon. You can set icon in bunlde content of applescript application. set fileName to choose file "Select a Folder" display notification "Parag Bafna" subtitle "Its working" & fileName display notification text required with title text optional subtitle text optional sound name text optional You change the icon by simply changing the icon of the

'ext/slist' file not found on OS X 10.9

删除回忆录丶 提交于 2019-12-05 16:00:59
I am trying to get some older third-party software to compile on OS X 10.9. I've managed to get rid of most compilation problems by adjusting settings in the Makefiles, which were originally written for gcc probably around 2005. However, I currently don't know how to overcome this error for a C++ source file: /utility.h:42:10: fatal error: 'ext/slist' file not found I understand that ext/slist belongs to some version of STL . Has that version been superseded or does it have to be activated in any special way for Apple's version of Clang/ LLVM (5.0 for OS X 10.9)? If at all possible, I would

c compiler cannot create executable on mac

只愿长相守 提交于 2019-12-05 12:59:52
Everytime I try to install a package or software on my mac (Maverick) from a config file, it automatically fails when checking the C compiler. It says "configure: error: C compiler cannot create executables". Besides, Homebrew works perfectly. I attached an example of config.log. I haven't found any satisfaction in the related previous posts, I apologize if the issue was solved. ## ----------- ## ## Core tests. ## ## ----------- ## configure:2530: checking for gcc configure:2546: found /usr/local/bin/gcc configure:2557: result: gcc configure:2786: checking for C compiler version configure:2795

library not found for -lbundle1.o when installing python packages (ffnet, spacepy) on my mac

陌路散爱 提交于 2019-12-05 12:44:23
I have the anaconda python distribution installed on my mac (10.9). I'm trying to install the ffnet package and the SpacePy package, but having trouble in doing so. Here is the error I get when doing sudo easy_install ffnet : ld: library not found for -lbundle1.o collect2: erreur: ld a retourné 1 code d'état d'exécution ld: library not found for -lbundle1.o collect2: erreur: ld a retourné 1 code d'état d'exécution error: Setup script exited with error: Command "/usr/local/bin/gfortran -Wall -m64 -Wall -undefined dynamic_lookup -bundle build/temp.macosx-10.5-x86_64-2.7/build/src.macosx-10.5-x86

Sandboxed app & NSOpenPanel causes crashes

天涯浪子 提交于 2019-12-05 12:18:37
问题 I am doing a simple file open panel in my Cocoa app. I enable entitlements and app sandboxing. But on OS X 10.9, when the app should open a dialog using NSOpenPanel , it crashes with: Application Specific Information: Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'service com.apple.appkit.xpc.openAndSavePanelService failed to init an instance of NSOpenPanelService on behalf of due to { "proxy-communications-error" = "Error Domain=NSCocoaErrorDomain Code

Installing mod_mono on Mac OSX 10.9 “Mavericks”

徘徊边缘 提交于 2019-12-05 11:06:11
I'm trying to install mod_mono on mavericks, however, I'm getting an error. I have the most up-to-date mono version with Mavericks support. (v 3.2.3). When I ./configure --prefix=/usr in mod_mono version 2.10 I get this error: checking Apache version... configure: error: Apache 1.3 is no longer supported. mod_mono now requires at least Apache 2.0 But when i check my version of apache it says Server version: Apache/2.2.24 (Unix) Server built: Aug 24 2013 21:10:43 EDIT: Upgrading your mono version to the latest (3.2.4) appears to work the best. Ensure you have a clean download of mod_mono-2.10.

crc32() missing when building libzip on OSX 10.9

折月煮酒 提交于 2019-12-05 08:54:19
I've downloaded the latest release of libzip and am currently trying to build it on OSX and failing: Linking C shared library libzip.dylib Undefined symbols for architecture x86_64: "_crc32", referenced from: __zip_filerange_crc in zip_filerange_crc.o _crc_read in zip_source_crc.o _decrypt in zip_source_pkware.o __zip_string_crc32 in zip_string.o (maybe you meant: __zip_string_crc32) "_deflate", referenced from: _compress_read in zip_source_deflate.o (maybe you meant: _zip_source_deflate) "_deflateEnd", referenced from: _deflate_compress in zip_source_deflate.o "_deflateInit2_", referenced

How do I create a bot in Xcode? Getting “Creating a bot requires a project that is under source control.”

你。 提交于 2019-12-05 07:55:54
I'm trying to get Continuous Integration setup in Mavericks using OS X Server for Mavericks. I have the Server installed and my source code is in a local directory using Git from assembla. I'm following the Apple Xcode Continuous Integration Guide, and I'm at the part where I'm adding a bot to the product in Xcode. I'm getting the error: Creating a bot requires a project that is under source control. This project appears to be in a local git repository. To be able to create a bot, the project must be in an repository the server can access so it can clone it. [cancel] [Configure Remotes...]

Getting notification list from OS X Notification Center

爱⌒轻易说出口 提交于 2019-12-05 07:14:34
问题 It's possible to send notifications to the Notification Center on Mac using NSUserNotification and NSUserNotificationCenter API classes. But is there any way of reading the notifications from the Notification Center? 回答1: There is no public API for that. So nothing App Store conform. BUT As part of my little tech-demo-app DiscoNotifier (where I flash the keyboard LEDs in response to a notification) I wrote a DDUserNotificationCenterMonitor class see: https://github.com/Daij-Djan/DiscoNotifier

Qt 5 and OS X Mavericks issues

╄→гoц情女王★ 提交于 2019-12-05 06:50:43
I'm using Cmake to build a QT project on OS X 10.9. Since Mavericks, the location of the OpenGL headers seems to have changed. The folder /System/Library/Frameworks/OpenGL.framework/Headers is missing now, and cmake says CMake Error at /Applications/Qt/5.1.1/clang_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:8 (message): Failed to find "gl.h" in "/System/Library/Frameworks/OpenGL.framework/Headers" "/System/Library/Frameworks/AGL.framework/Headers""." and asks me to provide the correct path in this variable _qt5gui_OPENGL_INCLUDE_DIR , which I tried with the path they apparently moved the