How do I set up NSZombieEnabled in Xcode 4?

In Xcode 4.x press ⌥⌘R (or click Menubar > Product > Scheme > Edit Scheme) select the “Diagnostics” tab and click “Enable Zombie Objects”: This turns released objects into NSZombie instances that print console warnings when used again. This is a debugging aid that increases memory use (no object is really released) but improves error … Read more

Xcode 4 – “Archive” is greyed out?

You have to select the device in the schemes menu in the top left where you used to select between simulator/device. It won’t let you archive a build for the simulator. Or you may find that if the iOS device is already selected the archive box isn’t selected when you choose “Edit Schemes” => “Build”.

Fixing Xcode 9 issue: “iPhone is busy: Preparing debugger support for iPhone”

There are multiple solutions for this: Solution 1: Patiently wait for 10 to 15 minutes. Have a tea or roam around 😉 Solution 2: Disconnect device from the system. Restart both iPhone and Xcode and then rebuild again. Solution 3: Go to Windows → Devices and Simulators (Shortcut key: cmd+shift+2) You’ll see iPhone device connected … Read more

This certificate has an invalid issuer Apple Push Services

I think I’ve figured this one out. I imported the new WWDR Certificate that expires in 2023, but I was still getting problems building and my developer certificates were still showing the invalid issuer error. In keychain access, go to View -> Show Expired Certificates. Then in your login keychain highlight the expired WWDR Certificate … Read more