Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

App rejected due to private API usage. #309

Open
skabber opened this Issue · 1 comment

2 participants

@skabber

I just had an app rejected by Apple because of private API usage.

We found the following non-public API/s in your app:

setUserAgent:

The ASIHTTPRequest object has a @property (retain) NSString *userAgent;. The compiler and @synthesize userAgent; are creating the - (void) setUserAgent:(NSString *)userAgent; method that Apple is complaining about.

I suggest changing the name of this property to something else.

Also, this was an iOS 5 only app. I'm not sure when Apple started marking setUserAgent: as a private API.

@erikchen erikchen was assigned
@erikchen
Collaborator

#310 should fix your problem.
Please update your local version of asi-http and see if your problem is fixed.

@skabber skabber referenced this issue from a commit in skabber/asi-http-request
@jaygraves jaygraves Fix the userAgent test case. 6ce86c3
@joewhaley joewhaley referenced this issue from a commit in joewhaley/asi-http-request
@jaygraves jaygraves Fix the userAgent test case. 29f41c7
@MigrantP MigrantP referenced this issue from a commit in MindSea/asi-http-request
@erikchen erikchen Rename userAgent -> userAgentString
Apparently Apple doesn't like it when asi-http synthesizes userAgent.

pokeb#309
6ef10d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.