Friday, March 18, 2011

IOS Magic (for developers only)

Short and sweet:

Technical Note TN2239 or iOS Debugging Magic
Technical Note TN2265 or Troubleshooting Push Notifications

Check your app's code signing entitlements with the codesign tool.
(note: the link will open a terminal window. Type the letter q to quit)

The value of the 
aps-environment entitlement should be either development or production. Run this command in Terminal pointing at your App Store distribution build: 

$ codesign -dvvvv --entitlements - <YourAppName>.app


And that elusive mobile debugging profile is here on your developer's disk: APNsLogging.mobileconfig

You can drag the link below and drop it in your safari url to open the directory and locate the file on your disk:

Friday, March 4, 2011

Setup AirPrint on MacOsX or Windows 7/Vista shared printers

AirPrint is a good feature but people still complaining that you need to use special "WiFi" enabled printers. You can print on printers connected to an Apple Airport WiFi router, but not on a Mac or Windows connected printer. We don't know if 4.3 will allow printing on a Shared printer, if not, here is the way to do it.

Mac connected Shared printer

In a previous post I put some hidden hints to a Mac OS hack allowing AirPrint on a Mac connected printer. You won't find it here because it contains an Apple driver, but if you google "AirPrintFix cloudapp" you may find it there. There is a readme file inside the zip and even with limited OS knowledge you can install that.

Windows 7/Vista
  • Set your printer as shared in Control Panel>Printers Right Click Share 
  • Download AirPrint.zip (this file is inside iTunes Install files in AppleMobileDeviceSupport.msi) 
  • Create a folder called AirPrint in Program Files 
  • Unzip AirPrint and put the three files in your AirPrint Program Files folder 
    • airprint.exe 
    • libairprint.dll 
    • XpdfPrint.dll 
  • From the AirPrint directory Run airprint -i  in Admin mode to install the print service.
    airprint -r will remove the service 
  • When you start the AirPrint service, Windows Firewall will prompt you allow or deny AirPrint features to be shared over networks. Click on Allow access button. 
You may need to install and start Bonjour if you never installed iTunes on your computer.
  • The simplest solution is to install the latest iTunes
  • If you dont want to install iTunes you can just install Bonjour by downloading the service from Apple here http://support.apple.com/kb/DL999.
In theory you should be able now to see all shared printers from your iPhone or iPad. Try to print something from the mail program.

In most cases you will be asked at least once for a login & password. Use the login password you use to log on the computer on which the printer is connected. Some people claim (Couldn't do it here) that if you enable the guest account you don't need a login password. I suppose the guest account should be set as one of the printer user in the printer security tab.

Good luck.

--------
Alternate way to start the service is by running sc.exe in a CMD windows in Admin mode. sc.exe /help should print the help and all command. Check this Microsoft link for sc.exe information.

Windows 64bits:
sc.exe create AirPrint binPath= "C:\Program Files (x86)\AirPrint\airprint.exe -s" depend= "Bonjour Service" start= auto
sc.exe start AirPrint


Windows 32bits:
sc.exe create AirPrint binPath= "C:\Program Files\AirPrint\airprint.exe -s" depend= "Bonjour Service" start= auto
sc.exe start AirPrint

Thursday, March 3, 2011

iPad2 is out - Specs

So iPad2 is out. My predictions were not off by a lot, and as I predicted it is not the huge step everybody expected, and Apple will do that in two steps, except they selected a hardware upgrade instead of a firmware one which is NOT wise.

Apple used a dual-core A5 (A5 can be Quad core I predicted underpowered A9 Quad). Front and Back Camera, No retina, No SDCard, improved speaker.


This is typical Apple and will allow them to push another incremental hardware when needed.

Strategically this will disturb and slow down the competition. Apple is using iPad2 to "Stake their claim" and maintain, if not increase, territory. Remind me of Go Game strategy.


iPad2 Specs are here.

In Apple terms "Faster, lighter, thinner. Cameras and gyro. iOS 4.3 and FaceTime. iMovie and GaragrBand for 44.99. 3G on AT&T and Verizon. Same battery life. Same prices. Black and white. Smart Covers."

Competition is still way behind. I see everyday publicity for other tablets, but Apple beats everybody hands down.

Steve Jobs, who looked better, killed any speculation by declaring 2011 as the Apple iPad2 year.

Means no iPad3 in September? Not sure! Apple definition of "year" may be quite different from calendar year. If 50% of people wait for September means around 7-10 Million unsold iPads, $4 Billion and Apple needs to keep things going.

So iPad3 is in the background, ready to pop out in case of competition gaining on Apple. It will certainly be faster again, better graphics and Retina display!

Will Apple use a Minkovskian space time definition of "Year of iPad2" and release an iPad3 in September? I think they will at least announce one. Retina display will be a huge improvement on competition, a quad-core will be a killer and Apple knows how to kill competition.

Competition compare Mashup.

Wednesday, March 2, 2011

iPad3 coming in september

iPad2 is coming today. I don't expect anything very exiting. Read what I said in my January 15 post:

"I would go on a limb here and say that Apple will underclock to 1GHz on a first release then if all goes well, turboboost these devices to twice the speed by a firmware update."


I was wrong on firmware update but not by much. Apple seems to prefer a hardware update by releasing in September iPad3.

iPad2 is already classified as just an incremental improvement and that the real exiting thing will come in September as iPad3.

IOS 5, retina display and a full speed Dual Core.

Today's anoucements will be aimed mainly at pushing MobileMe for everyone, Cloud storage and pushing Subscription services.

We will see today and confirm in September.