App incorrectly rejected for using _CMTimebaseCreateWithMasterClock

Our app gets rejected for referencing non-public symbol _CMTimebaseCreateWithMasterClock. We have confirmed that we are using the suggested CMTimebaseCreateWithSourceClock.

When looking at our DerivedData, the compiler turns CMTimebaseCreateWithSourceClock into CMTimebaseCreateWithMasterClock presumably because CMTimebaseCreateWithSourceClock is an inline function. We have verified if we remove the one call to CMTimebaseCreateWithSourceClock that the CMTimebaseCreateWithSourceClock symbol will no longer appear in our DerivedData.

This is preventing us from submitting an app update. Please advise asap.

Post not yet marked as solved Up vote post of CaseySF Down vote post of CaseySF
944 views

Replies

we gets the same rejected too, and we use CMTimebaseCreateWithSourceClock too !!!!!

Okay, I validated my suspicion. Looking at CMSync.h, they only inline the function for minimum SDKs less than 15.0. Changing our minimum SDK to 15.0 indeed fixes the problem. This is still a bug, Apple.