Resolve private api error while submitting to Apple app store