Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    352
    Vote Rating
    1
    parky128 is on a distinguished road

      0  

    Default Sencha Command - error copying Entitlements file

    Sencha Command - error copying Entitlements file


    I am trying to build my ST2.0.1 app using Sencha Command v2.0.2, but I get an error like so:

    Code:
    C:\Sencha\Projects\PPTouch>sencha app build native
    [INFO] Deploying your application to C:\Sencha\Projects\PPTouch\build\package
    [INFO] Copied sdk/sencha-touch.js
    [INFO] Copied Lib/InfoBubble.js
    [INFO] Copied Lib/markerwithlabel.js
    [INFO] Copied Lib/markermanager.js
    [INFO] Copied Scripts/HistoryMarkerManager.js
    [INFO] Copied app.js
    [INFO] Copied resources/css/app.css
    [INFO] Copied resources/css/pptouch.css
    [INFO] Copied resources/images
    [INFO] Copied resources/icons
    [INFO] Copied resources/loading
    [INFO] Resolving your application dependencies (file:///C:/Sencha/Projects/PPTou
    ch/index.html)
    [INFO] Found 234 dependencies. Concatenating all into 'C:\Sencha\Projects\PPTouc
    h\build\package\app.js'
    [INFO] Processed sdk/sencha-touch.js
    [INFO] Minifying sdk/sencha-touch.js
    [INFO] Processed Lib/InfoBubble.js
    [INFO] Minifying Lib/InfoBubble.js
    [INFO] Processed Lib/markerwithlabel.js
    [INFO] Minifying Lib/markerwithlabel.js
    [INFO] Processed Lib/markermanager.js
    [INFO] Minifying Lib/markermanager.js
    [INFO] Processed Scripts/HistoryMarkerManager.js
    [INFO] Minifying Scripts/HistoryMarkerManager.js
    [INFO] Processed app.js
    [INFO] Minifying app.js
    [INFO] Minifying resources/css/app.css
    [INFO] Minifying resources/css/pptouch.css
    [INFO] Minified Lib/InfoBubble.js
    [INFO] Minified Lib/markerwithlabel.js
    [INFO] Minified Scripts/HistoryMarkerManager.js
    [INFO] Minified sdk/sencha-touch.js
    [INFO] Minified Lib/markermanager.js
    [INFO] Minified resources/css/pptouch.css
    [INFO] Minified app.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] Can not open source file
    Error copying application entitlements file to C:\Sencha\Projects\build\nativeIO
    SDevelopment\\Entitlements.entitlements
    Failed to package application
    [ERROR] Copy operation failed src=C:/Windows/stbuild/st-res/templates/\Entitleme
    nts.entitlements dst=C:\Sencha\Projects\build\nativeIOSDevelopment\\Entitlements
    .entitlements
    The entitlements file it is trying to copy doesnt even exist in the source directory (C:/Windows/stbuild/st-res/templates/) on my machine. In this directory are two other folders:

    stbuild_template_dev.app
    stbuild_template_sim.app

    Within these folders are other files such as the plist ones which I have seen before, but no entitlements file.

    So what's happening here? Have I got an old version of Sencha Command (or ST Build) on my machine?

    In case it's relevant, here is my packager.json:

    Code:
    {
        "applicationName":"Pinpointers",
        "applicationId":"pinpointers.websites.sbs",
        "bundleSeedId": "LB8P94MQ3G",
        "versionString":"1.0",
        "iconName":"resources/icons/Icon.png",
        "inputPath":".",
        "outputPath":"build/",
        "configuration":"Debug",
        "platform":"iOS",
        "deviceType":"Universal",
        "certificatePath":"ios_development.P12",
        "certificatePassword":"XXXXX",
        "certificateAlias":"Rob Parker",
        "orientations": [
            "portrait",
            "landscapeLeft",
            "landscapeRight",
            "portraitUpsideDown"
        ]
    }

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,167
    Vote Rating
    28
    jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough

      0  

    Default


    Sencha Cmd only works with 2.1b3 and above.

    You'll need to upgrade your version of touch!

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  3. #3
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,167
    Vote Rating
    28
    jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough

      0  

    Default


    Moved to the Sencha Cmd forums.

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  4. #4
    Sencha User
    Join Date
    Jun 2009
    Posts
    352
    Vote Rating
    1
    parky128 is on a distinguished road

      0  

    Default


    But 2.0.1.1 is the latest open source version available.

    What should I be using for packaging for a non beta version of ST?

  5. #5
    Sencha User
    Join Date
    Jun 2009
    Posts
    352
    Vote Rating
    1
    parky128 is on a distinguished road

      0  

    Default


    Also the docs for ST talk about using Sencha Command with guides as well, so what you have just said does not compute, unless I am missing something?

  6. #6
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,167
    Vote Rating
    28
    jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough jay@moduscreate.com is a jewel in the rough

      0  

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  7. #7
    Sencha User
    Join Date
    Jun 2009
    Posts
    352
    Vote Rating
    1
    parky128 is on a distinguished road

      0  

    Default


    Thanks, got it upgraded and using the new Command tool. Getting build errors to do with some custom class includes in my touch app, hopefully my new post in the ST forum will give me some answers.