View Full Version : Sencha Command - error copying Entitlements file

1 Oct 2012, 8:47 AM
I am trying to build my ST2.0.1 app using Sencha Command v2.0.2, but I get an error like so:

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
[INFO] Found 234 dependencies. Concatenating all into 'C:\Sencha\Projects\PPTouc
[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
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

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:


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:

"bundleSeedId": "LB8P94MQ3G",
"certificateAlias":"Rob Parker",
"orientations": [

1 Oct 2012, 9:56 AM
Sencha Cmd only works with 2.1b3 and above.

You'll need to upgrade your version of touch!

1 Oct 2012, 9:57 AM
Moved to the Sencha Cmd forums.

1 Oct 2012, 10:01 AM
But 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
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
Download 2.1b3 here: http://www.sencha.com/forum/announcement.php?f=90&a=36

1 Oct 2012, 1:14 PM
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.