Questions tagged [objective-c]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 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 ...
user avatar
0 votes
0 answers
41 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 ...
user avatar
2 votes
1 answer
665 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 ...
user avatar
  • 781
0 votes
2 answers
518 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 ...
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
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
1 vote
2 answers
294 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. ...
user avatar
1 vote
2 answers
488 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 ...
user avatar
  • 191
2 votes
3 answers
6k 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 ...
user avatar
  • 121
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 ...
user avatar
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 ...
user avatar
  • 131
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 ...
user avatar
9 votes
2 answers
694 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 ...
user avatar
  • 39k
1 vote
1 answer
83 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