Re: Finding the use of a private API
Re: Finding the use of a private API
- Subject: Re: Finding the use of a private API
- From: Rick Mann <email@hidden>
- Date: Mon, 16 Mar 2015 15:48:38 -0700
> On Mar 16, 2015, at 15:42 , Greg Parker <email@hidden> wrote:
>
>
>> On Mar 16, 2015, at 3:26 PM, Rick Mann <email@hidden> wrote:
>>
>> After eight or nine successful submissions of our app, we're now getting rejected for using the "private" API "dsyrk_" (which is part of the publicly-avialable BLAS). Our app uses Ceres and some other numerical libraries. We've identified every potential use of this symbol and adjusted the build to exclude it, but my binary still seems to reference it.
>
> If you think the function is mis-labeled as private then you should push back. False positives do exist. (I don't know whether that is done through the review process or through DTS.)
I don't have time at the moment to wait for Apple to make this API available (I need to submit today), and I'm not the first person to identify the problem. I'm speculating that Apple wants to keep their dsyrk_ private, and publish only their cblas_dsyrk from vecLib. That has ramifications for Ceres, but is not the critical issue I'm facing now. We're fairly sure we don't need it.
But I can't figure out what part of my code is still calling it. nm -u on the resulting binary returns two instances of the symbol, but no other information. Even if I could determine the translation unit that's trying to link to that symbol, I could probably narrow down the problem.
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden