Our DNA is written in Objective-C

Category Archive for ‘Bug Reports’ rss

The Case of the Missing Translation

Since iWoman was acquired by FOKUS KIND Medien we have been working on a complete UI overhaul. This also requires many new translations. The previous version of iWoman had been localized with Linguan, a Mac app which we also had sold a while ago. Unfortunately Linguan does not yet have support for XLIFFs, even though the new owner is considering it.

This blog post describes an issue that the XLIFF workflow has because of a bug on POEditor.com as well as a problematic “feature” in Xcode which causes some strings to go missing.

Read more

BSA Banner

TestFlight builds might get stuck in “Processing”

Old story: you submit a new version of an app only to find the next day that you still have a place where a crash occurs. In my case I “developer rejected” the review submission and uploaded a new build. Only to find that 19 hours later – on the next day – it is still not available to be attached to the version for submission.

People on Twitter told me that they are having the same issues too every now and then. Apparently for some they can jigger it lose by refreshing the TestFlight iOS-Builds page every few seconds. A few individuals even do that with a chrome extension that reloads the page every 15 seconds.

So, time for a Radar: filed as rdar://23409291 and on OpenRadar.

Read more

Table View Cells lose clickability in Today Widget

While working on a today widget I stumbled on a bug in iOS. Since I was using multiple rows I had changed my widget to be table view-based with multiple rows showing a label and a value. Oddly, this setup caused my table view cells to no longer highlight when being touched between the labels.

There is a workaround of course, see below, but it is ugly. Filed as rdar://23298579 and on Open Radar. The mentioned sample app is WidgetTabCellTest on my Radar Samples repo on GitHub. Read more

Radar: UITableViewAutomaticDimension

For an event calendar I am showing a table view with dynamically sized cells. There are two labels which can span multiple lines. Unfortunately automatic sizing of the cell height via UITableViewAutomaticDimension does not work consistently in iOS 8 and 9.

Filed as rdar://22193223 and on OpenRadar.

Read more

Radar: Web-To-Native Handoff broken

For our prod.ly app and website I implemented all 3 features that need a site association file. One of these is the ability to look at a page from the website on your Mac and then handoff to your native app on your iOS device.

Unfortunately this appears to be broken in iOS 9. Doing the same on an iPhone running iOS 8 this works perfectly. Filed as rdar://22204950 and on Open Radar.

Update Oct 4th: Fixed in iOS 9.1.

Read more

Serious iOS Issue with GS1-128 Barcodes

Barcodes with iOSAs you might now I have an dual interest in product barcodes. First, there is my book treating all kinds of barcode symbologies supported by iOS. Second, there is ProductLayer where we are building a crowd-sourced product database via the prod.ly social network.

At first I thought that the problem would only exist for really low quality bar codes (rdar://19438067) but now I found a perfectly good looking specimen that has the same issue: iOS does not recognize it.

Filed as rdar://22048146 and on Open Radar. I am hoping that Apple can fix this issue before iOS 9 is done.

Read more

Radar: Xcode framework for wrong platform

It took me almost an entire day to figure out that the following issue is caused by some indeterministic behavior of Xcode. As a developer, you expect to see the same results if you use the same parameters (i.e. “deterministic”), but this is a situation that sometimes succeeds, sometimes doesn’t.

In DTFoundation I have two targets that produce a DTFoundation.framework, for iOS and OS X respectively. Now the problems seems to be that since I set both to define a module “DTFoundation”, Xcode randomly gets confused during building an iOS app and sometimes might try to build the OS X framework for iOS.

This was filed as rdar://22008701 and on Open Radar. From the looks of things Rob Rix has filed bug report rdar://20490378 that appears to be describing the same issue. If you disable implicit dependency finding in the scheme, the problem also goes away.

Read more

Radar: 2 for the Watch

Unfortunately Runtastic crashes on iOS 9. So I switched to tracking my nordic walks with Apple Watch. This works fine for the most part. But I experienced two issue lately. One of those is quite funny, so I chose to publish the bug reports here as well.

Read more

Radar: ABUnknownPersionViewController

Apple is introducing a new contacts framework in iOS 9. The do so very aggressively to even replace view controllers from AddressBookUI.framework with their new implementations. Unfortunately not without problems.

Normally I am prefer to keep quiet about bugs in iOS beta versions, but this one affects apps public on the app store which are using this view controller and therefore I felt it necessary to warn my iOS developer colleagues about it. This is the crash I was alluding to on iOS Today.

rdar://21357089 – ABUnknownPersionViewController_modern overreleases CNContactViewController
rdar://21438771 – ABUnknownPersionViewController Regression

Read more

Radar: UITextView Scroll Position Bug

Working on an issue that has been reported for Notepad Classic 2007 (currently free on App Store) I found that UITextView has problems keeping the scroll position when showing or hiding the keyboard.

This issue didn’t occur on iOS 7 and I wasted more than 5 hours trying to come up with a workaround. The problem is that showing and hiding the keyboard is causing superflous calls to layoutSubviews on the text view which causes it to change the contentSize and contentOffset. This gets further complicated by UITextView dynamically changing the contentSize as you scroll down through text that is longer than a few pages.

It is rare that I am so confounded by a bug, so I even opened a DTS call for it, hoping that there is a workaround for this problem.

Filed as rdar://20743459 and on Open Radar.

Read more