iOS Question Bug in Build Release

Discussion in 'iOS Questions' started by Pablo Torres, Aug 4, 2017.

  1. Pablo Torres

    Pablo Torres Active Member Licensed User

    Hi, I have a problem but I thinks it's not related to the code, perhaps it's something with the builder, I don't really know

    When I compile in debug mode, all the screens in my App looks like this:
    http://softuy.ddns.net:8080/2.png
    [​IMG]

    But when I compile in Build Release App, the App looks like this:
    http://softuy.ddns.net:8080/1.png
    [​IMG]
    The screen in release looks 80 dip shorter and it's been moved down that size

    I don't know what to do anymore, can't find any mistake in the code.
    The worst of all is that the app was compiling great in release mode.
    That started to happen last night

    Can anyone help me please??
    Thanks
     
    Last edited: Aug 14, 2017 at 7:02 AM
  2. Erel

    Erel Administrator Staff Member Licensed User

    The images are broken.
     
  3. Pablo Torres

    Pablo Torres Active Member Licensed User

    Cant find the images right now,but I can describe the problem:
    when I compile in Build mode, everythings looks as it should be but when I compile that in Release mode (with an appstore distribution certificate) then the screen heights are 100%y but the screen top are not 0 (they are approximately 20%y), so I can´t see anything in the bottom area of the app because it's "out of the screen"
    So, app can´t work as it should be.
    I think It's probably a Builder problem, I erased all certificates and start over twice but that does not fix the problem
    Dont know what to do, Can you help me please?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    It is most probably not related to the certificates. Please post a screenshot of the app in release mode.
     
  5. Pablo Torres

    Pablo Torres Active Member Licensed User

    Now it looks Ok with AdHoc certificate in release Mode, I compiled with an AppStore certificate now but I cant see how it looks, so I have to upload to apple again and hope to be ok, if not they will told me again the same problem.
     
  6. Pablo Torres

    Pablo Torres Active Member Licensed User

    Well, apple told me that in the build I compiled with the App store certificate the error remains.
    How can I compile in release mode with App Store certificate and "Try" the ipa file before submmitting to Appstore?
    Erel, can I send the archive to you so you can see the error for yourself? Because I can´t see it andI cant fix it.
    Hope you can help me
     
  7. Pablo Torres

    Pablo Torres Active Member Licensed User

    I couldnt fix the images But I posted over each image the url so you can see it just with a click
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    It is not possible.

    Why aren't you uploading the images to the post directly?

    There is no relation between the certificate and the interface.
     
  9. Pablo Torres

    Pablo Torres Active Member Licensed User

    Ok, Image 2 is how it looks in Debug Mode and Release Mode with AdHoc provision.
    Image 3 is how it looks in Release Mode with App Store provision.

    Don't Know anymore what to do

    If you like I can send you the whole project
     

    Attached Files:

    • 2.png
      2.png
      File size:
      494 KB
      Views:
      8
    • 3.png
      3.png
      File size:
      435.2 KB
      Views:
      8
  10. Erel

    Erel Administrator Staff Member Licensed User

    It might be related to the launch images. Have you modified them?
     
  11. Pablo Torres

    Pablo Torres Active Member Licensed User

    Yes I did. Only the 2x, should I add launch images for 3x and regular or should I erase the 2x?
     
  12. Erel

    Erel Administrator Staff Member Licensed User

  13. Pablo Torres

    Pablo Torres Active Member Licensed User

    Hi again,
    I´m still having problems with this, however, now the problem is the opposite I use to have before.
    In iphone 5 and 5s screen looks great, in iphone 6 app screen looks smaller than cel screen and in iPad or iPhone 7 is the same, but bigger difference.
    IMG_1770.jpg IMG_1771.jpg IMG_1772.jpg IMG_1773.jpg

    The first image is from an iphone 6, the second from an Iphone 7 while the 3rd and 4th are from a 5s (they are ok)

    I think I did everything like Erel said, I put these files on Files/Special (Default@2x.png, Default-568h@2x.png, Default-667h@2x.png, Default-736@3x.png, Default-Portrait.png and Default-Portrait@2x.png) and also modify the B4iProject-Info with this:

    <dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>8.0</string>
    <key>UILaunchImageName</key>
    <string>Default-667h</string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{375, 667}</string>
    </dict>
    <dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>8.0</string>
    <key>UILaunchImageName</key>
    <string>Default-736h</string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{414, 736}</string>
    </dict>
    <dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>7.0</string>
    <key>UILaunchImageName</key>
    <string>Default-568h</string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{320, 568}</string>
    </dict>
    <dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>7.0</string>
    <key>UILaunchImageName</key>
    <string>Default</string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{320, 480}</string>
    </dict>
    <dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>7.0</string>
    <key>UILaunchImageName</key>
    <string>Default-Portrait</string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{768, 1024}</string>
    </dict>


    But when I compile I have that Problem

    Can anyone help me please?

    Thanks
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    1. Don't modify B4iProject-Info.plist. Use the default one instead.
    2. Delete the custom launch images.
     
Loading...