1

How can I know private APIs are used in my App ? When I am trying to upload my App to the App Store, they are showing me this kind of Error :

enter image description here

Can anyone help me out ?

Bhavin
  • 27,155
  • 11
  • 55
  • 94
ajeet
  • 163
  • 1
  • 2
  • 10
  • Maybe you can start by giving us APIs which are used in your app. – R.Lambert Jun 18 '13 at 09:42
  • @Shawn How can I know private APIs in my app ? – ajeet Jun 18 '13 at 09:50
  • Please follow following thread [iOS otool to detect private apis \[closed\]][1] [1]: http://stackoverflow.com/questions/15074043/ios-otool-to-detect-private-apis – Irfan DANISH Jun 18 '13 at 09:52
  • @ajeet you know what APIs you've added to your project, if the list is not too long please give us it. Vin's answer is probably the good one, UDID is not accessible anymore, so the problem is probably here. – R.Lambert Jun 18 '13 at 09:56
  • @Vin : Yes I resolve this issue. and thnx – ajeet Jun 27 '13 at 12:29
  • Please go through the below article. http://iphonedevelopment.blogspot.in/2010/05/validate-build-product.html **Validate Built Product** is under the *Build Options* in ***Build Settings*** – Ilanchezhian Jun 18 '13 at 10:02
  • This question appears to be off-topic because it is about the app store and app submission issues, which have been determined to be off topic for StackOverflow. –  Jun 27 '13 at 13:43
  • For me the cause of above errors was BugSense integration. – Irfan DANISH Oct 21 '13 at 05:25

1 Answers1

4

Apple recently disallowed developers from accessing the device's UDID (Unique Device Identifier), but some Third Party Libraries haven't updated yet.

If you are using Google Analytics in your App, it may be responsible for creating this kind of problems.

There are some other Issues also :

  1. App rejected, but I don't use UDID.
  2. How does Apple know you are using private API?

If you don't use any private API then you have a Method in your code which has the same name as a private API. Go and change that name and re-submit your App.

Community
  • 1
  • 1
Bhavin
  • 27,155
  • 11
  • 55
  • 94