parky128
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
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:
{
"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"
]
}
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:
{
"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"
]
}