Episode 58 – Speak Now or Keep Your Peace

This week we discuss the early success of iOS 9 installs. We cover the XcodeGhost that loaded malicious content through tainted copies of Xcode. We discuss the overwhelming success of Content Blockers and one developers decision to remove his blocker app. We discuss the reports on Apple’s Car team assembling. We cover our experiences with the Apple TV Developer Kit, App Transport Security, Multitasking and Storyboard References. Picks: Shush & Reverse Crown

watches

Episode 58 Show Notes:

Episode 58 Picks:

Build to an iOS 9 device from Xcode 6

Hey if you can’t build to your iOS 9 device from Xcode 6, try this. Install Xcode 7 . I renamed my copy of Xcode to “Xcode 7” before launching it. That way I could keep Xcode 6 and Xcode 7.

  1. Connect your device with the lightning cable.
  2. Open Xcode 7 and wait for it to copy the symbols off your device.
  3. Quit Xcode 7.
  4. Open Xcode 6 and you project.
  5. Build to you iOS 9 device.

enjoy!

Fix for IBUIScreenMetrics could not be decoded

IBUIScreenMetrics

I ran into a strange Interface Builder issue, while trying a build of our legacy app in Xcode 7. I had to debug an unrelated issue that had appeared on our apps for users running on iOS 9 devices. I created a branch named “Xcode7”, as you do, and opened my project in Xcode 7. Among the build warning were some “angry red” errors that said the XIB ” could not be opened. An instance of IBUIScreenMetrics could not be decoded for an element ‘object’.”

I could find no recent solution on Stack Overflow so I’m posting my own. Strangely my issue was with CollectionView objects for iPad XIBs.

Hopefully you still have access to Xcode 6. Open the project in Xcode 6, and in the Project Navigator select your XIB. Click on Identity and Type and change the Interface Builder Document to Opens in: Default (6.2). While you’re there you change the Builds For setting as well. It’s the Opens in that was causing my issue.

I happened to have the project open in Xcode 7 beta at the same time. As soon as I made the change, the file could be opened in Xcode 7. I did a Build & Run and all is well with the world.

Before
After

I hope this helps you as well.