Another Lesson Learned at the Feet of Apple

XCode

Some Days. Amirite?

First, our Enterprise Developer Account expired. Joyful.

So, I spent the morning creating new certificates and provisioning profiles, downloading them, and installing them on my developer machine.

After reprovisioning and recompiling, I load up new .ipa files… and while two out of the three of my .ipa files install as advertised, when deployed over the air – the third one did not.

Now, the Apple ecosystem isn’t known to always give the most direct error messages. “Could not install application” didn’t really inspire me with a Eureka! moment on where to start hunting down my issue.

My next thought was to simply copy the problem .ipa file to iTunes, and try to sideload the sucker. I was greeted with this message: App could not be added to your itunes library because it is not a valid app.

… and so I start Googling around, which led me to several posts (here, here, and here).

OK, then. Back into XCode. Double checked everything. Things look OK. Scratch head.

I next get the bright idea to try to use XCode’s Organizer to load the .ipa file directly to my device (not gonna let the dumb stick to me!). When I do that, I get this error message: Could not inspect the application package.

What the actual what?!?

I’d renamed my Product name in my project. I had valid certificates and provisioning profiles (and two working apps using the same that were doing fine). I didn’t have a directory or a file named resources in my project. I had no errors in my build. And, before our account expired, all three of my apps were loading just fine over the air, thank you very much.

What in the hell was going on here?

Well, three things, really, that I haven’t shared yet.

  • I had updated to iOS 8. Not really a suspected cause, because the app wasn’t loading on any devices any more, regardless of OS level.
  • I had upgraded to Yosemite. Which means…
  • I had updated to XCode 6.1 in order to accommodate iOS 8 and Yosemite.

Oy. This was it.

The only thing I knew to do now, was to look at the project file source between my two working apps and the non-working one to see if anything jumped out – nothing did.

Finally, in an act of desperation, I renamed my bad app’s Application .plist file, and copied over the .plist file from one of the working apps, into my project.

Bingo.

Why did XCode 6.1 suddenly not like a .plist file, that had worked perfectly fine before, but now puke it up altogether after I upgraded?

Who knows. Who cares?

All I know is, I spent all day, hunting down essentially a problem in the way that a tool handled a once valid .plist file, but inexplicably and mysteriously stopped liking it after an upgrade.

Some Days. Amirite?

Tagged ,

Yosemite’s Handoff – Getting it Working

Handoff

Handoff is one of the cooler new features of the latest release of Apple’s OS X operating system, Yosemite.

The feature allows documents initially created on iOS Devices (running iOS 8 or later) to be “picked up” and worked upon using Macs running Yosemite… and vice-versa.

Handoff depends upon Bluetooth Low Energy in order to work. So, in addition to making sure that:

  • You are using iOS 8 (or later) on your iOS devices
  • You are running Yosemite on your Macs
  • You have Handoff enabled on your Macs and iOS Devices
  • You have all devices signed into the same iCloud account
  • and You have Bluetooth enabled,

You must also make sure that your Mac supports BLE.

To do that, you can do one of the following:

Enter the following command into Terminal:

system_profiler SPBluetoothDataType | grep LMP

or

Go to the Apple Menu, click About this Mac, click System Report. Select Bluetooth. Look at the LMP Version.

The version must be 0x6 for Handoff to work. 

Otherwise, no dice.

An important implication of depending upon Bluetooth Low Energy for Handoff, is that you must be in close proximity to your devices, in order for Handoff to work.

Checkout Lifehacker and iMore for more info on checking your Macs for BLE capability.

Tagged , ,

iMac with 5K Retina Display

iMac 5K Retina Display

Today, Apple announced upgrades to their iPad and iMac product lines, as well as announcing availability (immediate) for their new OS X release, Yosemite, and for Apple Pay’s go live date (Monday, October 20).

Tagged ,

Positioning Visitors with iBeacons

iBeacons

Great write up on the implementation challenges of deploying low-energy bluetooth beacons (Apple’s iBeacon technology is based upon LEB) in the Brooklyn Museum.

Tagged , ,

Two-Factor Authentication – Just Do It

Dropbox

In case you need more impetus for using two-factor authentication for your cloud-service accounts, there’s the news that 7,000,000 Dropbox user names were hacked, and hundreds of passwords have now been posted in the clear on Reddit.

If you’re using cloud services, implement two-factor authentication. Now.

Tagged ,

The Power of Restoration

Riverwalk

We had a fantastic “Fall Break” in San Antonio this past weekend.

I often forget the power and efficacy of restoration, and the simple need to “get away.” Our trip to San Antonio helped me realize that these past few years I should have taken more time to do this.

I’ll do better. Promise.

Tagged , ,

Five Posts We Can Stop Writing Now

Listicle

  1. “Why I Left X for Y.”
  2. “Why I won’t Leave X for Y.”
  3. “Why I will upgrade to X.”
  4. “Why I won’t upgrade to Y.”
  5. Listicles.
Tagged
Follow

Get every new post delivered to your Inbox.

Join 7,971 other followers