Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

App Rejected due to "usage of Private API"

Discussion in 'iOS and tvOS' started by cmh322, Nov 5, 2009.

  1. morten795

    morten795

    Joined:
    Aug 7, 2009
    Posts:
    24
    The AGON Online Unity plugin has been updated to 2.0.1 with a fix for the issue reported above. You can get the new version from the AGON developer management site: http://devdb.agon-online.com/developer/dashboard/downloads

    You need to regenerate the Xcode project after updating to the new plugin.

    Best regards,
    Morten
    AGON Online Developer
     
  2. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    If anything related to the issue is not clear, please read our blogpost.
     
  3. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    So... What am I missing.

    1.5.1 seems, at first glance, to be primarily the same as 1.5... I didn't know there was any coexistence at all. 2.6 and iP1.5 seem like different applications.

    And how is workflow awesome again (other than just Unity having good workflow...)

    This implies that one could work in Unity 2.6 and compile in 1.5.1?

    What am I missing...
     
  4. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    With Unity 2.6 project structure was changed a bit and projects opened with Unity 2.6 are no longer copatible with older Unity versions (Unity 2.5, Unity iPhone 1.5.0).

    Unity iPhone 1.5.1 addresses this issue and is compatible with Unity 2.6, but at the expense of not being compatible with Unity iPhone 1.5.0. It means you should make your project backup before opening it in Unity iPhone 1.5.1, because after that you won't be able to open your project in Unity iPhone 1.5.0 anymore (it will open only with Unity 2.6 and Unity iPhone 1.5.1).

    So you can work projects in such directions:

    Unity iPhone 1.5.0 -> Unity iPhone 1.5.1
    Unity 2.5 -> Unity 2.6
    Unity iPhone 1.5.1 <---> Unity 2.6
     
  5. AmazingRuss

    AmazingRuss

    Joined:
    May 25, 2008
    Posts:
    933
    Does 2.6 have a PVRT compression option in the texture import settings?
     
  6. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Working in 2.6 with the target to deploy to the iphone is only a partially smart idea for different reasons:

    1. Terrains are unity only, Occlusion culling Unity iPhone only

    2. Unity iPhone is .NET 1.1, not .NET 2.0+ as the desktop

    3. UnityScript is far more picky on what you can do, far less automagic

    4. You don't even get an idea of how it will look on the iphone by using the desktop one as you don't have the iphone emulation

    5. Different other features from the desktop are not present on the iphone and vice versa (especially the input, the whole input manager stuff is not present)


    Unity Desktop is a way to prototype something you would take to the iphone but just deploying it won't work (likely not compile wise and even less like performance wise)
     
  7. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    Coolio...

    Understandez - moi.

    I know that eventually we shall discover the Unified Unity Theory, and it will all be as one.

    I thought that statement implied we were closer than we are. I'll stick to 1.5.1 for now, for all the points that El Señor Dré pointed out, and leave the lush eden of 2.6 desktop for a future time or project.
     
  8. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    I think all would be happy if Unity iPhone already were on the Unity 2.5+ Editor :)

    But at the time, relying on the desktop editors just for "its nicer reasons" can bite you badly.
    I see use for the animation editor for example, that would be a reason for me to take a project over to the desktop end temporally (the Unity 2.1 one thats present therefor in the iPhone edition is nice too but not as nice as the 2.6 one)
     
  9. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    Well we're working on Unity iPhone with Unity 2.6 face ;-)
    With 1.5.1 you have polishing, compatibility with 2.6, Apple dev thingies (3.1.2 SDK, Snow Leopard) and yet more polishing.
     
  10. artzfx

    artzfx

    Joined:
    Apr 28, 2008
    Posts:
    572
    Well we just got our rejection notice for Comets and Craters 1.2 update. Taken them 12 days to work out the API's are not allowed. What a total waste of time. :x

    Now to go through another round of testing again for 3 apps we have already done with 1.5 :x
     
  11. AmazingRuss

    AmazingRuss

    Joined:
    May 25, 2008
    Posts:
    933
    It would seem like not too big a deal to check for this when you upload the app... it already checks some other things automatically.

    Maybe there's an evaluator's union that precludes such an arrangement.
     
  12. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
  13. mindlube

    mindlube

    Joined:
    Oct 3, 2008
    Posts:
    993
    @mantasp - sweet! those sound like good titles. Chickie Dominos LITE/Free version also just got approved with 1.5.1RC and will appear Nov 19th in the App Store. :D
     
  14. mudloop

    mudloop

    Joined:
    May 3, 2009
    Posts:
    1,107
    Deep Lite just got rejected as well :(
     
  15. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    You can always resubmit with new Unity iPhone version. Just mail me and get one immediately.
     
  16. mudloop

    mudloop

    Joined:
    May 3, 2009
    Posts:
    1,107
    Yup, already did and received a response very quickly. Thanks!
     
  17. cmh322

    cmh322

    Joined:
    Apr 3, 2009
    Posts:
    70
    Just an update: we resubmitted with 1.5.1 and our game was approved today and is now in the App Store.

    Thanks to Unity for providing the fix quickly, great job.
     
  18. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    Phew, thanks for your time and patience!
    Now we can go back and continue working on best ever game editor ;-)
     
  19. Kripto

    Kripto

    Joined:
    Feb 12, 2007
    Posts:
    119
    I downloaded and installed RC2 this morning and it's running fine. However, unity Remote freezes up when i select my computer. I've compiled and installed the version which came with RC2 but it ends up behaving in exactly the same way.

    Any ideas as to how to fix this?

    Thanks!
     
  20. AmazingRuss

    AmazingRuss

    Joined:
    May 25, 2008
    Posts:
    933
    1.5.1 has been released. Have you tried that?
     
  21. Kripto

    Kripto

    Joined:
    Feb 12, 2007
    Posts:
    119
    Re-installed, checked all network settings, etc. Now works. I'll just chalk it up to "glad it's now working" :p
     
  22. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
  23. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    Yepp it is out. Hope you like it.
     
  24. OXYGEN

    OXYGEN

    Guest

    Joined:
    Mar 16, 2008
    Posts:
    1,101
    yeah got rejected using 1.5 man this sucks big banana anyway at least its now fixed however did not find the comment posted by a unity employee very helpfull someone suggested resubmit...using 1.5 and hopefully it will be ok what a load of croc!

    anyway this bug is now fixed so gripe over!
     
  25. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,400
    Not really...resubmitting the same app with no changes has resulted in success for a number of people who had rejected apps for various reasons.

    --Eric
     
  26. OXYGEN

    OXYGEN

    Guest

    Joined:
    Mar 16, 2008
    Posts:
    1,101
    and if it does not work again what I wait another month! for approval..I think not!
    the app is a christmas project and I am fast running out of time so this issue really caught me unawares!
     
  27. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Well then take 1.5.1 and resubmit it with that, that will get you rid of the private api issue as ravensword and other unity games have shown.

    But generally you will just have to accept that there are no strict apple internal guidelines for approval, so it IS defacto a russian roulette when sending stuff.
    Don't like it then don't do iphone development, that simple it is, as you can't change anything on it commonly (unless you really crossed the line and just have to fix up your thing to get through the automated testing)
     
  28. OXYGEN

    OXYGEN

    Guest

    Joined:
    Mar 16, 2008
    Posts:
    1,101
    Ha Ha Great love it!
     
  29. OXYGEN

    OXYGEN

    Guest

    Joined:
    Mar 16, 2008
    Posts:
    1,101
    will resist the urge to start a flame war...and get back to codeing :p
     
  30. Wozik

    Wozik

    Joined:
    Apr 10, 2009
    Posts:
    662
    OXYGEN, now Apple uses some robotic testers that search for private APIs and they do not like those two mentioned API calls that we culled out of Unity internals. So resubmitting with 1.5.0 most probably will not help you to get to the AppStore. Please use 1.5.1 instead.
     
  31. OXYGEN

    OXYGEN

    Guest

    Joined:
    Mar 16, 2008
    Posts:
    1,101
    cheers wozik :wink:
     
  32. cledin

    cledin

    Joined:
    May 29, 2009
    Posts:
    13
    2.5 Apps that use non-public APIs will be rejected
    The non-public API that is included in your application is thread_stack_pcs

    + 2.30 Apps that do not comply with the Mac OS X File System documentation will be rejected
    -The application is creating files or writing to ~/.wapi/.

    thank you , I have been waiting over a month for this to be accepted
    this is getting me very very frustrated.
    If i have to wait again in "line" argh.
     
  33. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    There is a thread on the matter with links to beta applications to use if you want to go to the mac app store.
    No need to hijack a dead thread on iphone from 2009 ;)
     
  34. cledin

    cledin

    Joined:
    May 29, 2009
    Posts:
    13
    I couldn't find the thread dremora (lol do you sleep) :)
     
  35. Barbur

    Barbur

    Joined:
    Oct 30, 2009
    Posts:
    160
    Hello,

    I have got my application rejected twice because of the private API:

    @dreamora: Please could you tell us where are the links to the beta applications? I cannot find them :(

    Thanks!
     
  36. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    No longer needed, the 3.2 release has the changes in.
     
  37. Barbur

    Barbur

    Joined:
    Oct 30, 2009
    Posts:
    160
    Great Dreamora I suspected that :) Now downloading the 3.2 Unity Version!
     
  38. VIC20

    VIC20

    Joined:
    Jan 19, 2008
    Posts:
    2,681
    The sleep thing is something I'm thinking about for almost 2 years now. Seems like dreamora is doing power nappings in front of the forums only.