iOS Question "Your APP contains non-public API " error

Discussion in 'iOS Questions' started by tufanv, Feb 11, 2015.

  1. tufanv

    tufanv Expert Licensed User

    Hello,

    I have made a small update today to my app and when i tried to send the ipa via app loader, I got this strange error. I didnt add anything until last version just a label text change.

    Wht is the problem ?

    ty
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Is this the full message? Didn't they write which API?

    Are you sure that you compiled your app in release mode?
     
  3. tufanv

    tufanv Expert Licensed User

    SS attached. Yes release mode Erel
     

    Attached Files:

  4. Erel

    Erel Administrator Staff Member Licensed User

    You have uploaded a debug ipa.
     
  5. tufanv

    tufanv Expert Licensed User

    I dont know how to upload a debug ipa. I clicked on build release mode than downloaded the last build and uploaded.
    I will try again with a fresh one and write here.
    TY erel
     
  6. MikeH

    MikeH Well-Known Member Licensed User

    If you think you may have uploaded a dev ipa to Apple, is there a way to check, rather than wait for the reviewer to tell you the app crashed?

    I speak from experience :eek:
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Yes. Open the ipa file with 7zip and look for a file named b4a_host_ip.txt:
    [​IMG]

    If there is such a file then it is a debug compilation.
     
    MikeH likes this.
  8. MikeH

    MikeH Well-Known Member Licensed User

    I wonder why there is an option to download a dev ipa, as it isnt needed and could cause this problem.
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    This option just downloads the last compiled ipa. Its purpose is to allow you to download a release app, however if someone uses iTunes to install the app then it can also be useful when debugging.
     
    MikeH likes this.
  10. MikeH

    MikeH Well-Known Member Licensed User

    So iTunes can debug an app? I didnt know that. Thanks for the b4i_host_ip.txt tip.

    A "Whooah! You`re uploading a debug ipa" warning would be useful but I don`t see how it could be implemented.
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    No. However iTunes allows you to install ipa files. If the over the air installation doesn't work for some reason you can use it instead.
     
    MikeH likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice