Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    13
    Vote Rating
    0
    juanitourquiza is on a distinguished road

      0  

    Default Error windows with itunes sync app-iPhoneWhat is the problem? .I used this instructio

    Error windows with itunes sync app-iPhoneWhat is the problem? .I used this instructio


    What is the problem? .I used this instructionencha app build native. After selection the archive .app in folder native. When sync witn itunes - iPhone the error is:"Sincronizacion con ItunesError al instalar 'GS' "What is the problem?

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Can you post all the details as to what OS you are using and your app.json file.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    13
    Vote Rating
    0
    juanitourquiza is on a distinguished road

      0  

    Default


    Quote Originally Posted by Jamie Avins View Post
    Can you post all the details as to what OS you are using and your app.json file.
    I use Windows XP.

    My app.json

    Code:
    {
        /**
         * The application's namespace, used by Sencha Command to generate classes
         */
        "name": "GS",
    
    
        /**
         * List of all JavaScript assets in the right execution order.
         * Each item is an object with the following format:
         *      {
         *          "path": "path/to/script.js" // Relative path to this app.json file
         *          "update": "delta"           // (Optional)
         *                                      //  - If not specified, this file will only be loaded once, and
         *                                      //    cached inside localStorage until this value is changed.
         *                                      //  - "delta" to enable over-the-air delta update for this file
         *                                      //  - "full" means full update will be made when this file changes
         *
         *      }
         */
        "js": [
            {
                "path": "sdk/sencha-touch.js"
            },
            {
                "path": "app.js",
                "update": "delta"
            }
        ],
    
    
        /**
         * List of all CSS assets in the right inclusion order.
         * Each item is an object with the following format:
         *      {
         *          "path": "path/to/item.css" // Relative path to this app.json file
         *          "update": "delta"          // (Optional)
         *                                     //  - If not specified, this file will only be loaded once, and
         *                                     //    cached inside localStorage until this value is changed to either one below
         *                                     //  - "delta" to enable over-the-air delta update for this file
         *                                     //  - "full" means full update will be made when this file changes
         *
         *      }
         */
        "css": [
            {
                "path": "resources/css/app.css",
                "update": "delta"
            }
        ],
    
    
        /**
         * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build
         */
        "appCache": {
            /**
             * List of items in the CACHE MANIFEST section
             */
            "cache": [
                "index.html"
            ],
            /**
             * List of items in the NETWORK section
             */
            "network": [
                "*"
            ],
            /**
             * List of items in the FALLBACK section
             */
            "fallback": []
        },
    
    
        /**
         * Extra resources to be copied along when build
         */
        "extras": [
            "resources/images",
            "resources/icons",
            "resources/loading"
        ],
    
    
        /**
         * Directory path to store all previous production builds. Note that the content generated inside this directory
         * must be kept intact for proper generation of delta between updates
         */
        "archivePath": "archive",
    
    
        /**
         * Default paths to build this application to for each environment
         */
        "buildPaths": {
            "testing": "build/testing",
            "production": "build/production",
            "package": "build/package",
            "native": "build/native"
        },
    
    
        /**
         * Build options
         */
        "buildOptions": {
            "product": "touch",
            "minVersion": 3,
            "debug": false,
            "logger": "no"
        },
    
    
        /**
         * Uniquely generated id for this application, used as prefix for localStorage keys.
         * Normally you should never change this value.
         */
        "id": "0a151940-8858-11e1-8d60-c91ea80a425d"
    }
    What is the problem?

  4. #4
    Sencha - Sencha Touch Dev Team voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
    voloshyn is on a distinguished road

      0  

    Default


    Please post your packager.json file also

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    13
    Vote Rating
    0
    juanitourquiza is on a distinguished road

      0  

    Default


    Quote Originally Posted by voloshyn View Post
    Please post your packager.json file also
    packager.json is:

    Code:
    {
    	/**
    	 * @cfg {String} applicationName
    	 * @required
    	 * This is the name of your application, which is displayed on the device when the app is installed. On IOS, this should match
    	 * the name of your application in the Apple Provisioning Portal.
    	 */
    	"applicationName":"hLibros",
    
    
    	/**
    	 * @cfg {String} applicationId
    	 * This is the name namespace for your application. On IOS, this should match the name of your application in the Apple Provisioning Portal.
    	 */
    	"applicationId":"juanitourquiza@gmail.com",
    
    
    	/**
    	 * @cfg {String} versionString
    	 * @required
    	 * This is the version of your application.
    	 */
    	"versionString":"1.0",
    
    
    	/**
    	 * @cfg {String} iconName
    	 * This is file name of your icon. This should be in the same directory of this configuration file.
    	 *
    	 * For iOS, please refer to their documentation about icon sizes:
    	 * https://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
    	 *
    	 * For Android, please refer to the Google Launcher icons guide:
    	 * http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html
    	 */
    	"iconName":"resources/icons/Icon~ipad.png",
    
    
    	/**
    	 * @cfg {String} inputPath
    	 * @required
    	 * This is location of your Sencha Touch 2 application, relative to this configuration file.
    	 */
    	"inputPath":"build/native",
    
    
    	/**
    	 * @cfg {String} outputPath
    	 * @required
    	 * This is where the built application file with be saved.
    	 */
    	"outputPath":"build/",
    
    
    	/**
    	 * @cfg {String} configuration
    	 * @required
    	 * This is configuration for your application. `Debug` should always be used unless you are submitting your app to an online
    	 * store - in which case `Release` should be specified.
    	 */
    	"configuration":"Debug",
    
    
    	/**
    	 * @cfg {String} platform
    	 * @required
    	 * This is the platform where you will be running your application. Available options are:
    	 *  - iOSSimulator
    	 *  - iOS
    	 *  - Android
    	 *  - AndroidEmulator
    	 */
    	"platform":"iOSSimulator",
    
    
    	/**
    	 * @cfg {String} deviceType
    	 * @required
    	 * This is device type that your application will be running on.
    	 *
    	 * If you are developing for Android, this is not necessary.
    	 *
    	 * Available options are:
    	 *  - iPhone
    	 *  - iPad
    	 *  - Universal
    	 */
    	"deviceType":"Universal",
    
    
    	/**
    	 * @cfg {String} certificatePath
    	 * This is the location of your certificate.
    	 * This is required when you are developing for Android or you are developing on Windows.
    	 */
    	"certificatePath":"/path/to/certificate.file",
    
    
    	/**
    	 * @cfg {String} certificateAlias
    	 * This is the name of your certificate.
    	 *
    	 * IF you do not specify this on OSX, we will try and automatically find the certificate for you using the applicationId.
    	 *
    	 * This can be just a simple matcher. For example, if your certificate name is "iPhone Developer: Robert Dougan (ABCDEFGHIJ)", you
    	 * can just put "iPhone Developer".
    	 *
    	 * When using a certificatePath on Windows, you do not need to specify this.
    	 */
    	"certificateAlias":"",
    	
    	/**
    	 * @cfg {String} sdkPath
    	 * This is the path to the Android SDK, if you are developing an Android application.
    	 */
    	"sdkPath":"/path/to/android-sdk",
    	
    	/**
    	 * @cfg  androidAPILevel
    	 * This is android API level, the version of Android SDK to use, you can read more about it here: http://developer.android.com/guide/appendix/api-levels.html.
    	 * Be sure to install corresponding platform API in android SDK manager (android_sdk/tools/android)
    	 */
    	"androidAPILevel":"15",
    
    
    	/**
    	 * @cfg  orientations
    	 * @required
    	 * This is orientations that this application can run.
    	 */
    	"orientations": [
    		"portrait",
    		"landscapeLeft",
    		"landscapeRight",
    		"portraitUpsideDown"
    	]
    }

  6. #6
    Sencha - Sencha Touch Dev Team voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
    voloshyn is on a distinguished road

      0  

    Default


    your packager.json configuration is invalid:
    1.
    applicationId
    must be a namespace for your application, i.e. com.mycompany.myapplication (must match application ID in your apple developer portal)
    2.
    platform
    must be iOS in order to run the app on your device, iOSSimulator builds supported only on Mac OS X, because iOS simulator is a part of the Xcode.
    3.
    certificatePath
    must point to your development certificate which is stored in p12 format, see this document for details: http://docs.sencha.com/touch/2-0/#!/...e_provisioning

  7. #7
    Sencha User
    Join Date
    Apr 2012
    Posts
    13
    Vote Rating
    0
    juanitourquiza is on a distinguished road

      0  

    Default


    Quote Originally Posted by voloshyn View Post
    your packager.json configuration is invalid:
    1.
    applicationId

    must be a namespace for your application, i.e. com.mycompany.myapplication (must match application ID in your apple developer portal)
    2.
    platform

    must be iOS in order to run the app on your device, iOSSimulator builds supported only on Mac OS X, because iOS simulator is a part of the Xcode.
    3.
    certificatePath

    must point to your development certificate which is stored in p12 format, see this document for details: http://docs.sencha.com/touch/2-0/#!/...e_provisioning
    I understand but I don't have Mac OS X only I have Windows XP

  8. #8
    Sencha - Sencha Touch Dev Team voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
    voloshyn is on a distinguished road

      0  

    Default


    you can build native iOS apps also, but for physical devices only, not simulator, just specify all the paramaters I pointed above and it will work.

  9. #9
    Sencha User
    Join Date
    Apr 2012
    Posts
    13
    Vote Rating
    0
    juanitourquiza is on a distinguished road

      0  

    Default other problem - sencha app build native

    other problem - sencha app build native


    I madethe suggested changes
    Nowthis is mypackager.json is:

    Code:
    {
    	/**
    	 * @cfg {String} applicationName
    	 * @required
    	 * This is the name of your application, which is displayed on the device when the app is installed. On IOS, this should match
    	 * the name of your application in the Apple Provisioning Portal.
    	 */
    	"applicationName":"librosM",
    
    
    	/**
    	 * @cfg {String} applicationId
    	 * This is the name namespace for your application. On IOS, this should match the name of your application in the Apple Provisioning Portal.
    	 */
    
    
            "applicationId":"com.hackeruna.librosM",
    
    
    	/**
    	 * @cfg {String} versionString
    	 * @required
    	 * This is the version of your application.
    	 */
    	"versionString":"1.0",
    
    
    	/**
    	 * @cfg {String} iconName
    	 * This is file name of your icon. This should be in the same directory of this configuration file.
    	 *
    	 * For iOS, please refer to their documentation about icon sizes:
    	 * https://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/IconsImages/IconsImages.html
    	 *
    	 * For Android, please refer to the Google Launcher icons guide:
    	 * http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html
    	 */
    	"iconName":"icon.png",
    
    
    	/**
    	 * @cfg {String} inputPath
    	 * @required
    	 * This is location of your Sencha Touch 2 application, relative to this configuration file.
    	 */
    	"inputPath":"build/native",
    
    
    	/**
    	 * @cfg {String} outputPath
    	 * @required
    	 * This is where the built application file with be saved.
    	 */
    	"outputPath":"build/",
    
    
    	/**
    	 * @cfg {String} configuration
    	 * @required
    	 * This is configuration for your application. `Debug` should always be used unless you are submitting your app to an online
    	 * store - in which case `Release` should be specified.
    	 */
    	"configuration":"Debug",
    
    
    	/**
    	 * @cfg {String} platform
    	 * @required
    	 * This is the platform where you will be running your application. Available options are:
    	 *  - iOSSimulator
    	 *  - iOS
    	 *  - Android
    	 *  - AndroidEmulator
    	 */
    	"platform":"iOS",
    
    
    	/**
    	 * @cfg {String} deviceType
    	 * @required
    	 * This is device type that your application will be running on.
    	 *
    	 * If you are developing for Android, this is not necessary.
    	 *
    	 * Available options are:
    	 *  - iPhone
    	 *  - iPad
    	 *  - Universal
    	 */
    	"deviceType":"Universal",
    
    
    	/**
    	 * @cfg {String} certificatePath
    	 * This is the location of your certificate.
    	 * This is required when you are developing for Android or you are developing on Windows.
    	 */
    	"certificatePath":"C:\OpenSSL-Win32\bin\aps_development.p12",
    
    
    	/**
    	 * @cfg {String} certificateAlias
    	 * This is the name of your certificate.
    	 *
    	 * IF you do not specify this on OSX, we will try and automatically find the certificate for you using the applicationId.
    	 *
    	 * This can be just a simple matcher. For example, if your certificate name is "iPhone Developer: Robert Dougan (ABCDEFGHIJ)", you
    	 * can just put "iPhone Developer".
    	 *
    	 * When using a certificatePath on Windows, you do not need to specify this.
    	 */
    	"certificateAlias":"",
    	/**
    	 * @cfg {String} sdkPath
    	 * This is the path to the Android SDK, if you are developing an Android application.
    	 */
    	"sdkPath":"/path/to/android-sdk",
    
    
    	/**
    	/**
    	 * @cfg {String} androidAPILevel
    	 * This is android API level, the version of Android SDK to use, you can read more about it here: http://developer.android.com/guide/appendix/api-levels.html.
    	 * Be sure to install corresponding platform API in android SDK manager (android_sdk/tools/android)
    	 */
    	"androidAPILevel":"7",
    
    
    	/**
    	 * @cfg {Array[String]} orientations
    	 * @required
    	 * This is orientations that this application can run.
    	 */
    	"orientations": [
    		"portrait",
    		"landscapeLeft",
    		"landscapeRight",
    		"portraitUpsideDown"
    	]
    }
    then run this commannd: sencha app build native
    and this is the error that show me


    [INFO] Minified resources/css/app.css
    [INFO] Generated app.json
    [INFO] Embedded microloader into index.html
    [INFO] Packaging your application as a native app...
    [INFO] The application was successfully packaged
    Bundle Seed ID is missing from config file
    Failed to package application

    I use windows XP.
    What is the problem? Please help me

Thread Participants: 2

Tags for this Thread