-
1 Oct 2012 8:47 AM #1
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:
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: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
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" ] }
-
1 Oct 2012 9:56 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 28
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.
-
1 Oct 2012 9:57 AM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 28
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.
-
1 Oct 2012 10:01 AM #4
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?
-
1 Oct 2012 10:04 AM #5
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?
-
1 Oct 2012 10:48 AM #6Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 28

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.
-
1 Oct 2012 1:14 PM #7
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.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote