facebook

Submit app to Apple store problem

  1. MyEclipse IDE
  2.  > 
  3. Mobile Tooling
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #353668 Reply

    Hi

    I was wondering if there is something wrong about icons setup between myEclipse or phonegap. As to the errors of itunes connect after building with phonegap remote build, I got the errors about icon setup problem from application loader as follows:

    
    Package Summary:
     
    1 package(s) were not uploaded because they had problems:
     Error Messages:
    ERROR ITMS-90032: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'icon.png'"
    ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0."
    ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 7.0."
    ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions >= 7.0."
    ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the 'iOS Human Interface Guidelines' at 'https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5' and the 'iOS App Programming Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'."
    

    I tried to dig into the problem by local build “phonegap build ios”. The generated xcode project has some config problem as show in the attached image. “icon files (iOS 5)” has “icon files” array with item “icon.png” but it should be “icon”.

    What can I do to solve this problem?

    #353673 Reply

    Hi,

    By the looks of the error they were either not setup correctly in the config file, not the right size, or not located in the project directory. Can you supply us with a screen shot of the config.xml file in the design mode with the iOS icons page so we can see the setup and path.

    Thanks,

    #353675 Reply

    @support-brandon wrote:

    Hi,

    By the looks of the error they were either not setup correctly in the config file, not the right size, or not located in the project directory. Can you supply us with a screen shot of the config.xml file in the design mode with the iOS icons page so we can see the setup and path.

    Thanks,

    Hi Brandon,

    Screen shot attached. And for your information, the app icon can be seen on iPhone 6 when the ipa is remotely built with development provisioning profile. This sounds strange and I really get no idea on what happened..

    Attachments:
    You must be logged in to view attached files.
    #353676 Reply

    Hi,

    So to be clear this is only happening on a local build that the correct icons are not showing up?

    By the screen shot the config looks fine.

    Can you check the icons in the platforms dir:

    Platforms > iOS > [appName] > Resources > Icons
    you can also view the splash screens.

    They should reflect the same image you set in the config file. If they are not, or some are not can you let me know which ones.

    One idea is to manually rename and copy the files into that build folder and rebuild, if you do make sure you have Clean Build unchecked, if it is check it will overwrite the files.

    Thanks,

    #353677 Reply

    There are several problems I met so far. Let me write a summary to make it clear.

    A. Remote build with development provisioning profile is ok when I deploy to iPhone 6 device through GapDebug. Everything looks good.

    B. Remote build with distribution provisioning profile is not ok when I submit through application loader to Apple app store (the problem in this thread)

    C. Local build by command “phonegap build ios” is ok when I deploy it to iPhone 6 simulator. It has another problem that phoneui plugin is not loaded.

    D. Local build in MyEclipse shows a build error in signing the application. Thus I could not test it yet.

    For the icons in the platforms dir (in case C), there are png with incorrect dimensions 72×72( file names end with 40, 40@2x, 50, 50@2x)

    #353678 Reply

    Would it be possible for you to share the pi file that is having the issue?
    If so you can send it to support at genuitec dot com so you don’t have to post it here.

    What signing error are you getting? The signing should have nothing to do with the icons, but you should be able to use the same profile for local as you do for remote without an error.

    Also, can you make sure your MyEclipse is up to date, I don’t think thats the problem, but always good to check.

    Thanks,

    #353687 Reply

    Does “pi file” means the ipa file?

    The MyEclipse version is:
    MyEclipse Enterprise Workbench
    Version: 2015 CI 10
    Build id: 13.0.0-20150115

    Local build in MyEclipse shows error number 1. The image is attached.

    Attachments:
    You must be logged in to view attached files.
    #353688 Reply

    Hi,

    Sorry, yes, I really hate the Mac’s autocorrect.

    Signing profile errors usually means a mismatch between the provisioning file. Are you using a cert/key or a P12 file?

    Also, is there a space in your username for the machine you are on?

    Thanks,

    #353699 Reply

    I’m using cert/key. Sorry I don’t get your meaning on provisioning file mismatch. Remote build does not have error message using the same provisioning profile while local build has error. What is the next step I can do?

    My username does not have space, but MyEclipse default workspace path has spaces…
    /Users/<user_name>/Workspaces/MyEclipse 2015 CI/

    #353702 Reply

    Hi,

    I think it might be related to the cert/key as we have see this before with some of them. My best suggestion is to create a P12 file as they seem to have a lot fewer issues with the signing. Here is a good overview on how to create one:

    http://docs.build.phonegap.com/en_US/signing_signing-ios.md.html

    #353703 Reply

    CrikeyMate
    Member

    Just thought I would chime in here, I have successfully migrated 5 apps to ME from MobiOne and uploaded all to the app store using the cert/key with no problems at all. So that leads me to believe the process works well. I would say all your problems are at your end, be it identifiers, provisioning profiles, image sizes, file names etc. or maybe you are just not doing it right. Maybe you should go through the steps to migrate the date-time project in the tutorial and figure out where you are going wrong. Make sure you refresh the project regularly when migrating, make sure you have the correct app id in the config file for the app store profile you are using. Make sure all your images are 24 bit png and are the correct sizes, no spaces in file names especially when building Android apps. Just a thought!

    #353722 Reply

    MalakSadik
    Participant

    @CrikeyMate wrote:

    Just thought I would chime in here, I have successfully migrated 5 apps to ME from MobiOne and uploaded all to the app store using the cert/key with no problems at all. So that leads me to believe the process works well. I would say all your problems are at your end, be it identifiers, provisioning profiles, image sizes, file names etc. or maybe you are just not doing it right. Maybe you should go through the steps to migrate the date-time project in the tutorial and figure out where you are going wrong. Make sure you refresh the project regularly when migrating, make sure you have the correct app id in the config file for the app store profile you are using. Make sure all your images are 24 bit png and are the correct sizes, no spaces in file names especially when building Android apps. Just a thought!

    I’im facing a problem with the application icon and splash screen, it doesn’t appear in my iphone when I build the app remotely. I locate all of the images for iphone in config.xml. the date-time images works fine for the icon but not for the flash and my images are .png and bit depth 32 (same as date-time images).
    another thing: you mean by the app id, the bundle id?

    #353723 Reply

    MalakSadik
    Participant

    @support-brandon wrote:

    Hi,

    Can you check the icons in the platforms dir:

    Platforms > iOS > [appName] > Resources > Icons
    you can also view the splash screens.

    ,

    my platform folder is empty,what should i do? is it the reason of the icon problem?

    #353725 Reply

    CrikeyMate
    Member

    Your images should be 24 bit png this will reduce by a long way the size of the app overall. Manually copy all your icons and screen images into your project branding folder in the My Eclipse workspace, copy them to their appropriate icon or screen folders. Do this after you have run the ant build obviously. Also copy a 750×1334 screen image to the www folder. Go back to ME and refresh the project. Delete the phonegap image from the branding folder. Set your 2 default images in the config file from the branding folder , I use a 512×512 icon and a 750×1334 screen images. Set all other images in the config file from the branding folder. My platforms folder is always empty. Refresh the project, most important. Run phonegap and cross your fingers. Always refresh the project after making any changes. Note: I only build for iPhone and Android handsets full screen, not ipad or tablets.

    #353783 Reply

    Finally, it was ok to deliver iPa file successfully. Thanks.

Viewing 15 posts - 1 through 15 (of 15 total)
Reply To: Submit app to Apple store problem

You must be logged in to post in the forum log in