Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[IOS] Package rejected - App uses or references non-public API

Hi guys, after a while we're finally launching our project in IOS, the package passes the test flight requirements, but the launch submission was rejected due the use or reference of a non public api, it supoust to be:


I tried finding an answer in the hub with no luck, ¿any idea about that?, im pretty worried because we still submitting trying to fix de issue and the violation persist they can shutdown our itunes account.

We're using:

There is the full apple response:

Guideline 2.5.1 - Performance - Software Requirements

Your app uses or references the following non-public APIs: PrivateFrameworks/MetalTools.framework The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.  Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store. Next Steps If you are using third-party libraries, please update to the most recent version of those libraries. If you do not have access to the libraries' source, you may be able to search the compiled binary using the "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods. These tools can help you narrow down where the problematic code resides. You could also use the "nm" tool to verify if any third-party libraries are calling these APIs. Resources For information on the "nm" tool, please review the "nm tool" Xcode manual page. If there are no alternatives for providing the functionality your app requires, you can file an enhancement request.

Product Version: UE 4.18
more ▼

asked Feb 11 '18 at 10:25 PM in Bug Reports

avatar image

18 2 6 8

avatar image Sean L ♦♦ STAFF Feb 12 '18 at 12:37 PM


We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.



avatar image ARCoded Feb 12 '18 at 05:07 PM

Great news!, thanks so much.

avatar image titoro Feb 14 '18 at 12:30 AM

My project rejected too. Is there any solution?

avatar image Ravlek STAFF Feb 15 '18 at 07:02 PM

This has been fixed in 4.19. However, if you need the fix right now, it is in the Release-4.19 stream. This should also already be mirrored in the 4.19 GitHUB branch. That being said the fix is:

     Class MTLDebugDevice = NSClassFromString(@"MTLDebugDevice");
     if ([Device isKindOfClass:MTLDebugDevice])
         Features |= EMetalFeaturesValidation;

That ifdef code should be added around line 135 in MetalCommandQueue.cpp to make it look like the above snippet.


avatar image titoro Feb 18 '18 at 11:19 PM

Is there a chance for update to 4.18 ? Or I must use 4.19 preview.

avatar image ARCoded Mar 01 '18 at 09:36 PM

Editing the engine source fixed the problem. Thanks!

avatar image army068 Mar 18 '19 at 09:17 AM

How to edit the source file, I also encountered this problem in version 4.20.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question