How can I install a .ipa file to my iphone emulator
Hi, I have an iphone simulator running on my Mac. I have a .ipa file, can you please tell me how can I install it on the emulator? Thank you. ...
Hi, I have an iphone simulator running on my Mac. I have a .ipa file, can you please tell me how can I install it on the emulator? Thank you. ...
Since the GUI-side of OSX treats all dot-files (such as .htaccess) as hidden, it doesn't display them in any of the graphical UI:s, e.g. Finder or the Open-dialogues. How can I open a dot-file (.htaccess in this case) in a graphical editor, without doing that thing for all hidden files, universally and without going through Terminal.app...
I'm using Java SE 1.6 on Mac OS X 10.5.6. The code for my applet is as follows: import java.awt.Graphics; import javax.swing.JApplet; public class HelloWorld extends JApplet { public void paint( Graphics g ) { super.paint( g ); g.drawString( "Hello World!", 25, 25 ); } } I compiled this to a .class ...
I'm trying to follow a tutorial for a C++ interface in the Mac OS X API (Audio Queue Services), but in a Cocoa (well, actually just Foundation) application (well, actually just a 'tool'). It has a struct that looks like this: static const int kNumberBuffers = 3; // 1 struct AQPlayerState { AudioStreamBas...
Does anyone know of a utility (for Windows or Linux or MacOSX) that will append the selected contents to the clipboard? Rather than killing what's already there...(maybe using a different keyboard shortcut instead of Ctrl+C to do this? And I don't mean multiple-clipboard items... I mean concatenating multiple strings of text to the sam...
Hello everyone, I'm trying to render a bit of text using Core Graphics APIs and I'm running into some conceptual difficulties. I'm trying to specify font size using CGContextSetFontSize. The size parameter is in something called "text space units". What is that? How does it map to "em" units? Thanks ...
Hey. I want to have an URI for my app. For example something like this: app name:GetIt uri: getit:// Is there an easy way to create one? ...
I'm building some code completion style text expansion functionality for text areas and inputs in a web application. I'm trying to work out a safe keyboard shortcut for invoking the completion proposals for browsers running on Mac OS X. I've eliminated some potential candidates: Command+Space - activates the Spotlight search field Con...
I'm learning objective-c, working through Aaron Hillegass' book "Cocoa Programming for Mac OS X - Third Edition". I'm working in Xcode to develop some of the example code, and keep getting a compiler warning on the last line of this method: - (void) setEntryDate:(NSCalendarDate *) date { [date retain]; [entryDate release]; e...
I am using Exuberant Ctags 5.7. I am trying to build a tag database for CGContext.h with: tags /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGContext.h The resulting tags file has no functions included in it. It only has 75 lines for types, and enums. ...
Seriously, I'm embarrassed to even be asking this. I've got an Applescript that is supposed to build a playlist of a bunch of whole albums. Everything works fine, except for actually adding the tracks to the playlist. Here's the relevant code: repeat with theAlbum in randAlbums set these_tracks to (tracks of library playlist 1 wh...
I have a lot of conflicts in a working copy that has been merged to, I know that each of them want to be resolved to the right side of the merge. Is it possible to do this in bash/terminal on OSX, for example (in pseudo code:) find . -name '*.merge-right.*' rm original-filename.filetype cp original-filename.filetype.merge-right.r...
I'm trying to enter some UTF-8 characters into a LaTeX file in TextMate (which says its default encoding is UTF-8), but LaTeX doesn't seem to understand them. Running cat my_file.tex shows the characters properly in Terminal. Running ls -al shows something I've never seen before: an "@" by the file listing: -rw-r--r--@ 1 me user...
Is there a Mac/Unix commands that lets you see the local network in terms of machines/IP addresses? If there's something on the Mac that is gui-based that would be great too. ...
I would like to have my error handling code behave differently if it is running under the debugger. Specifically, if I am running on a handset, not attached to a debugger and fail an assertion I want to send the error to my server. When I am under gdb, I want to break into the debugger. Although I can imagine how Apple would write the c...
So, if I'm in my home directory and I want to move foo.c to ~/bar/baz/foo.c , but those directories don't exist, is there some way to have those directories automatically created, so that you would only have to type mv foo.c ~/bar/baz/ and everything would work out? It seems like you could alias mv to a simple bash script that would c...
I use Mac OS X's Preview to view pdf and PostScript files. However some ps files generated with latex appear blurred, for example, Is there a way to solve this issue? ...
I have a program that segfaults from pointer arithmetic sometimes. I know this happens, but I can't easily check ahead of time to see whether it segfaults or not - either I can "pre-scan" input data to see if it will cause a segfault (which can be impossible to determine), or I can refit it to not use pointer arithmetic, which would requ...
Hello, I have a problem which I have been struggling with for a while. I have a Cocoa library which acts as a wrapper for a C++ library. C++ library is tested using a set of BOOST unit tests. The tests run normally under both debug and release modes. In order to test the Cocoa wrapper I am using otest. Here is the strange part, the te...
Mac OS X Leopard has a virtual desktop implementation called Spaces. I want to programatically detect which space the user is currently on. Cocoa is preferable but AppleScript is acceptable if there's no other way. I've seen a couple of AppleScript implementations, but the techniques they used seemed a bit too hacky to use in producti...