Questions tagged [objective-c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
2 answers
702 views

Prettier text dialogs in OS X scripts

I'm getting pretty sick of these default AppleScript and cocoaDialog dialogs: I'd like to replace them with something closer to this: Has anyone made a shell executable like cocoaDialog with a ...
Lri's user avatar
  • 41.4k
3 votes
2 answers
2k views

How do I wipe all preferences and settings for a Mac app that's under development?

On iOS, if you want to remove all settings and documents for an application during development and start from a clean install, you just need to delete it. However, on the Mac, removing the application ...
Andrew's user avatar
  • 131
2 votes
4 answers
3k views

iOS Printing to Non-Airprint devices?

I have an iOS application that prints just fine. I'm connected to a WiFi network that has a printer that supports AirPrint and I can send to that printer just fine. But I also need to print to ...
Unknown Coder's user avatar
2 votes
1 answer
795 views

libssh2 - Agent Forwarding not working

I am using libssh2 library to ssh connections in my mobile application. Here I want to use Agent Forwarding support. I have followed same procedure as they have provided in example here LibSSH2 Agent ...
Niks's user avatar
  • 811
2 votes
3 answers
7k views

How to pass command line arguments in Mac Application

I have created a Command line tool application ( Xocde --> New App --> Command line tool) and it's running without any problems. Now i want to run it through terminal and pass some command line ...
Rohan 's user avatar
  • 121
2 votes
0 answers
2k views

Command /usr/sbin/chown failed with exit code 1 Error when archiving

I'm trying to archive a project to submit it to the iOS App Store, but keep getting this problem. I have already set yes to the skip install option, re-installed Xcode, rebooted and re-copied my ...
Sam Heather's user avatar
2 votes
1 answer
2k views

How to make my Mac screen a mirror of iPhone using AirPlay

I'm new to AirPlay. I want to find a good tutorial to learn about Airplay and its APIs and how I can use it for sharing my iPhone screen on my Mac device. What I learned: iPhone 4S+ will support ...
user avatar
1 vote
2 answers
600 views

Using sh -c in terminal

I have this command line that I enter into terminal and it works as intended: dscl . -readall /Users UniqueID | awk '/^RecordName:/ {name=$2}; /^UniqueID: / {if ($2 > 500) print name}' What I ...
John's user avatar
  • 211
1 vote
1 answer
171 views

What exactly package "gobjc" installs?

Trying to figure out what exactly "gobjc" installs, I did: sudo dpkg -L gobjc and got a path to /usr/share/doc/gobjc Did : sudo apt-file list gobjc and got a path to /usr/share/doc/gobjc on ...
Manul667's user avatar
1 vote
1 answer
85 views

How to load application from pc to ipod touch

I need to install application which is on my mac PC. My iPod software version is 1.1.5. Can any one help me to how to install.
user avatar
1 vote
2 answers
305 views

Where does sandboxing stop?

I used Norton's iAntivirus app from the Mac App Store to scan my entire hard drive. As expected, it presented me with an Open dialog at the root of my hard drive. I clicked "Open" and let it scan. ...
Jack Humphries's user avatar
0 votes
2 answers
2k views

How to launch a daemon as root in OS X

I put my plist in /Library/LaunchAgents and my exexutive program in /usr/libexec and daemon statrs when system startup . But this daemon is owned by user . I try to put my plist in /Library/...
user avatar
0 votes
2 answers
719 views

GCC/Clang: Available ObjC runtimes

A while ago, I discovered the ObjFW runtime for Objective-C, which is a pretty neat one and does a lot of things - and, is very tiny. But it made me ask lately, which runtimes are available on which ...
Ingwie Phoenix's user avatar
0 votes
0 answers
47 views

How to add feature “don't copy when pressing command” in this c program—macPaste?

https://github.com/lodestone/macpaste https://github.com/lodestone/macpaste/blob/master/macpaste.c With this little project, I can copy a text to clipboard with just select a text, in macOS. This ...
user956609's user avatar