LAZIOMATICA – Guida allo Sviluppo Software

La nuova forma del software su misura…

 

XCode Error launching remote program: failed to get the task for process xxx

Problem:
Hi i get this error when try to debug my app inside connected device. The app was launched regularly but i lost the connection to the debugger.
Solution:
There was an issue of certificates. In effetc i was using an adHoc Certificate that doesn’t support the debugger on device.

Filed under : Apple,MAC OSX,Sviluppo iPad/iPhone,Xcode
By admin
On 9 febbraio 2011
At 09:54
Comments : 0
 
 

XCode iPad Development – Debug Error launching remote program: failed to get the task for process 207

If you are having this error

Error launching remote program: failed to get the task for process 207

Take care to have a debug profile and if have the file Entitlements.plist, open it and set the boolean value get-task-allow to YES.

I solved in this way.

Filed under : Apple,MAC OSX,Sviluppo iPad/iPhone
By admin
On 29 novembre 2010
At 15:47
Comments : 0
 
 

iPad / Iphone – Hide Statusbar

To hide the application statusbar we can choose 2 way:

add this key  and set it boolean value to “true” inside the application info.plist

<key>UIStatusBarHidden</key>

<true />


or using the application singletone class programmatically,
in this way:


[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];

this is all

Filed under : Apple,MAC OSX,Sviluppo iPad/iPhone
By admin
On
At 09:29
Comments : 0
 
 

How to reset Snow Leopard User password

Reset OSX Snow Leopard User account password

  1. Power on or restart your Mac.
  2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.
  3. This step is optional, but it’s a good idea because it checks the consistency of the hard disk before moving on. At the prompt, type fsck -fy and press Enter/Return. Wait for the checks to complete before going to the next step.
  4. Type mount -uw / and press Enter.
  5. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist and press Enter.
  6. Type ls /Users and press Enter. This lists all of the usernames on the computer – helpful if you don’t know or remember what these are.
  7. Type dscl . -passwd /Users/username password and replace “username” with one of the users displayed in the previous step. Replace “password” with a new password of your choice. Press Enter.
  8. Type reboot and press Enter.

Works 100%

Original link

Filed under : Apple,MAC OSX
By admin
On 4 novembre 2010
At 22:42
Comments :Commenti disabilitati
 
 

How-To: Setup a SVN Server Under OS X 10.6

Googling around internet i found here an interessant guide to install a SVN Server on OSX machine.

Filed under : MAC OSX
By admin
On 15 ottobre 2010
At 14:43
Comments :Commenti disabilitati
 
 

Developing for iPad/iPhone – Add iTunes artwork for ad hoc distribution

When deploying an application using the ad hoc distribution “style”, the developer has to supply the image shown in the installed applications tab of iTunes. This file has to be a 512 by 512 PNG or JPEG image called iTunesArtwork that has to be extension-less. You have to manually delete the extension and check that the file type is no set to jpg or png for it to work and show up in iTunes, this step is vital and isn’t documented. Without the iTunesArtwork, iTunes will show a generic image for your application.
To check and change file type i used “FileType” freeware software

Filed under : Apple,MAC OSX,Sviluppo iPad/iPhone
By admin
On 11 settembre 2010
At 13:50
Comments :Commenti disabilitati
 
 

Vmware Fusion Unrecoverable error: (vmx) Unexpected signal:10

Restarting a suspended VM from an external usb disk  i catch this error. To resolve try to delete the .vmss file from the Virtual Machine’s Package. Note that by deleting .vmss file like hard shutdown the physical computer and anything not save to disk will be lost.

I resolve in this way.

original link: http://communities.vmware.com/thread/148306

Filed under : MAC OSX,VMWARE
By admin
On 13 maggio 2010
At 14:50
Comments : 0
 
 

Max OS X – riquadri neri intorno alle icone e sui bottoni delle applicazioni

Se il computer pronuncia quello che appare sullo schermo o se un riquadro nero segue le azioni del mouse e della tastiera indica che è attiva la funzionalità VoiceOver. VoiceOver è un’interfaccia alternativa di Mac OS X per gli utenti con invalidità visiva e per coloro che necessitano di ascoltare cosa viene visualizzato sullo schermo.

Per Disattivate/Attivare la funzionalità con shortcut utilizzare Comando+F5

www.apple.com

Filed under : MAC OSX
By admin
On 13 febbraio 2009
At 09:56
Comments : 0
 
 

Azzerare la cache DNS su Windows e Mac OS X Leopard

Per chi lavora spesso con la gestione di URL e DNS potrebbe essere necessario cancellare la cache dei DNS salvata dal proprio sistema operativo per riflettere degli aggiornamenti recenti.

Vediamo le procedure per i due sistemi operativi menzionati.

Svuotare la cache DNS su Windows

Aprire una finestra di DOS/Prompt dei Comandi (start->esegui inserire il comando cmd.com) e digitate il seguente comand

ipconfig /flushdns

otterrete una risposta del tipo:

1. Windows IP Configuration

2. Successfully flushed the DNS Resolver Cache.

Svuotare la cache DNS su Mac OS X Leopard

Per cancellare la cache DNS su Leopard è necessario fare affidamento all’utility dscacheutil.

dscacheutil -flushcache

In questo caso non sono necessari privilegi di amministratore dunque non è essenziale eseguire la chiamata via sudo.

Filed under : MAC OSX,Windows
By admin
On 6 febbraio 2009
At 13:34
Comments : 0