Thank you for reporting this bug. We will make it our priority to review this report.
  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-iPhone - What is the problem? (windows XP)

    Error windows with itunes sync app-iPhone - What is the problem? (windows XP)


    I used this code packager.json:

    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",
            "bundleSeedId": "R275ZAB3D2",
    
    
    	/**
    	 * @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"
    	]
    }
    after trying to synchronizethe file. app but the iPhone displays an error.
    "errorwhen syncing"

    I use windows XP.
    What is the problem? Please help me
    Last edited by juanitourquiza; 9 May 2012 at 9:36 PM. Reason: problem with format the text

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    4
    freelance is on a distinguished road

      0  

    Default


    Which error do you get ?
    Whats the message ?

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

      0  

    Default


    Now, Do you understand my problem? You help me?

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    4
    freelance is on a distinguished road

      0  

    Default


    You can only install applications on your iPhone if you have created a link between the iPhone you are using and the application you want to install.
    You have to do this in the Apple Developer Portal.
    Have you done this ?

  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 freelance View Post
    You can only install applications on your iPhone if you have created a link between the iPhone you are using and the application you want to install.
    You have to do this in the Apple Developer Portal.
    Have you done this ?
    is createdthat relationshipwithappdeveloperevenI have theBundleSeedIDandthe
    certificatePath":"

    Code:
    c:\OpenSSL-Win32\bin\aps_development.p12"


    on my
    machine

  6. #6
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    4
    freelance is on a distinguished road

      0  

    Default


    Partly.



    You have to make sure that in the iOS Provisioning portal you have declared your devices.
    Make sure you have an App ID for the application.
    You also have to create a provisiong profile for the app.
    And in the devices section, you have to link the right profile to the right device.
    Otherwise the iPhone will refuse to start your application

    Capture.JPG

  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 freelance View Post
    Partly.



    You have to make sure that in the iOS Provisioning portal you have declared your devices.
    Make sure you have an App ID for the application.
    You also have to create a provisiong profile for the app.
    And in the devices section, you have to link the right profile to the right device.
    Otherwise the iPhone will refuse to start your application

    Attachment 35034
    If, I had not done this, now my device this configure in Provisioning

    I run:
    sencha app build native

    this is the result:
    Code:
    C:\wamp\www\GS>sencha app build native
     [INFO] Deploying your application to C:\wamp\www\GS\build\package
    [INFO] Copied sdk/sencha-touch.js
    [INFO] Copied app.js
    [INFO] Copied resources/css/app.css
    [INFO] Copied resources/images
    [INFO] Copied resources/icons
    [INFO] Copied resources/loading
    [INFO] Resolving your application dependencies...
    [INFO] Found 196 dependencies. Concatenating all into app.js...
    [INFO] Processed sdk/sencha-touch.js
    [INFO] Minifying sdk/sencha-touch.js
    [INFO] Processed app.js
    [INFO] Minifying app.js
    [INFO] Minifying resources/css/app.css
    [INFO] Minified app.js
    [INFO] Minified sdk/sencha-touch.js
    [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
    The application was successfully signed
    To run iOS simulator you need to use Mac OS X
    
    
    
    
    C:\wamp\www\GS>
    However the problem remains.
    any idea?

  8. #8
    Sencha User
    Join Date
    Dec 2011
    Posts
    48
    Vote Rating
    4
    freelance is on a distinguished road

      0  

    Default


    Can you post your packager.json file ?

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

      0  

    Default


    Quote Originally Posted by freelance View Post
    Can you post your packager.json file ?
    is this:

    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",
            "bundleSeedId": "R275ZAB3D2",
    
    
        /**
         * @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"
        ]
    }

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

      0  

    Default


    Please, I need your help? any idea with my problem?

Thread Participants: 1