API rejected

Hello everybody


I am making a game with UE4 and I have submmited it to the app store

But I have a problem


My binary gets rejected because:


Your app uses or references the following non-public APIs:


MTLDebugDevice


I have ticked "for distribution" and i have unticked "include debug files"

And I cannot find the API anywhere in my project.


So how can i fix this problem?


Thank you very much for your help.

Accepted Reply

Yes I did.

I used UE4.19

Replies

The libraries you're using must make a call to that illegal API. They should know better.

What library's does UE4 use?


Thanks

283, currently...too many to list here - see: h ttps://docs.unrealengine.com/latest/INT/API/


MTLDebugDevice (Metal), however, is Private to Apple.

I found this in the UE4 source code


https://github.com/EpicGames/UnrealEngine/blob/dbced2dd59f9f5dfef1d7786fd67ad2970adf95f/Engine/Source/Runtime/Apple/MetalRHI/Private/MetalCommandQueue.cpp


Search for MTLDebugDevice


Can this be the problem?


Thanks

I did rejected with same reason. Did you find a solution?

Yes I did.

I used UE4.19