iphone - IBM Worklight 6.1 - Unlock generated files with buildtime.sh script -
i using ibm worklight 6.1 , trying copy file iphone/native/www/worklight folder file trying copy/erase cordova_plugins.js, purpose edited buildtime.sh shell script adding line:
cp "${srcroot}/cordova_plugins.js" "${srcroot}/www/default/worklight/cordova_plugins.js" this not work after deploying iphone, , returns permission denied error. after unlocking file cordova_plugins.js (manually), script works without errors.
so, tried unlock file same script shell, adding
chflags nouchg "${srcroot}/www/default/worklight/cordova_plugins.js" just before cp instruction, not seems change (no additional error, issue remains same.)
is there way unlock /www/worklight files in project settings or programatically? how buildtime.sh script ? other workaround?
in worklight, file not meant played around (per our discussion in question of yours).
to work around it, try this:
go xcode preferences , unlock files selecting "automatically unlock files" option.

Comments
Post a Comment