Plugins are not always added after cordova add platform android and iOs
I need to run ionic platform add android/iOs
few times to get the desired result.
Sometimes plugins are added after first run, but usually I have to wipe out the plugins and platform directories and re-run adding the platform cycle few times until all plugins are added to android folder.
Did anyone else experienced same problem and if yes - what is the resolution?
if any ...
thanks in advance
android ios cordova phonegap-plugins ionic
add a comment |
I need to run ionic platform add android/iOs
few times to get the desired result.
Sometimes plugins are added after first run, but usually I have to wipe out the plugins and platform directories and re-run adding the platform cycle few times until all plugins are added to android folder.
Did anyone else experienced same problem and if yes - what is the resolution?
if any ...
thanks in advance
android ios cordova phonegap-plugins ionic
I'm still having the same issue... any ideas ?
– batanasov
Mar 2 '15 at 11:36
on which os are you working on? this seems like write permission issue.
– grytrn
Mar 8 '15 at 23:23
It's osx. If it was a writing permission issue i wouldn't be able to do it at all
– batanasov
Mar 9 '15 at 7:03
add a comment |
I need to run ionic platform add android/iOs
few times to get the desired result.
Sometimes plugins are added after first run, but usually I have to wipe out the plugins and platform directories and re-run adding the platform cycle few times until all plugins are added to android folder.
Did anyone else experienced same problem and if yes - what is the resolution?
if any ...
thanks in advance
android ios cordova phonegap-plugins ionic
I need to run ionic platform add android/iOs
few times to get the desired result.
Sometimes plugins are added after first run, but usually I have to wipe out the plugins and platform directories and re-run adding the platform cycle few times until all plugins are added to android folder.
Did anyone else experienced same problem and if yes - what is the resolution?
if any ...
thanks in advance
android ios cordova phonegap-plugins ionic
android ios cordova phonegap-plugins ionic
edited Mar 17 '15 at 9:57
batanasov
asked Feb 20 '15 at 11:04
batanasovbatanasov
1191113
1191113
I'm still having the same issue... any ideas ?
– batanasov
Mar 2 '15 at 11:36
on which os are you working on? this seems like write permission issue.
– grytrn
Mar 8 '15 at 23:23
It's osx. If it was a writing permission issue i wouldn't be able to do it at all
– batanasov
Mar 9 '15 at 7:03
add a comment |
I'm still having the same issue... any ideas ?
– batanasov
Mar 2 '15 at 11:36
on which os are you working on? this seems like write permission issue.
– grytrn
Mar 8 '15 at 23:23
It's osx. If it was a writing permission issue i wouldn't be able to do it at all
– batanasov
Mar 9 '15 at 7:03
I'm still having the same issue... any ideas ?
– batanasov
Mar 2 '15 at 11:36
I'm still having the same issue... any ideas ?
– batanasov
Mar 2 '15 at 11:36
on which os are you working on? this seems like write permission issue.
– grytrn
Mar 8 '15 at 23:23
on which os are you working on? this seems like write permission issue.
– grytrn
Mar 8 '15 at 23:23
It's osx. If it was a writing permission issue i wouldn't be able to do it at all
– batanasov
Mar 9 '15 at 7:03
It's osx. If it was a writing permission issue i wouldn't be able to do it at all
– batanasov
Mar 9 '15 at 7:03
add a comment |
4 Answers
4
active
oldest
votes
I've experienced some similar problems myself. Try reseting your ionic project:
ionic state reset
This removes the platforms/
and plugins/
folder and restores them from the information stored in your package.json
. There's a few other useful commands documented on the ionic-cli project.
This one worked a dream for me!
– Matt The Ninja
Aug 12 '15 at 19:36
Perfect, I love this command.
– jlafay
Mar 6 '16 at 12:21
2
Unfortunately, this is no longer supported:ionic state has been removed as of CLI 3.0.
– Cris
Mar 14 '18 at 12:01
add a comment |
The solution that I ended up using is to uninstall and reinstall all the plugins after adding the platform. Since I've had trouble with this issue in past Cordova apps, I'm trying to make the builds as consistent as possible, so I'm not committing the platforms directory and deleting it after I build the apk. I've done this with a script:
ionic platform add android
ionic plugin remove org.apache.cordova.device
ionic plugin remove org.apache.cordova.console
ionic plugin remove com.ionic.keyboard
ionic plugin add org.apache.cordova.device
ionic plugin add org.apache.cordova.console
ionic plugin add com.ionic.keyboard
platforms/android/cordova/build --release
rm -rf platforms
This has consistently worked for me, but since I'd rather not have to worry about keeping this current, I have moved these commands into the: after_platform_add/010_install_plugins.js, with the following additions:
packageJSON.cordovaPlugins = packageJSON.cordovaPlugins || ;
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin remove ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin add ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
This assumes that something along these lines exists in the package.json in the root JSON object:
"cordovaPlugins": [
"org.apache.cordova.console",
"org.apache.cordova.device",
"com.ionic.keyboard"
]
Which should occur automatically if the after_plugin_add/010_register_plugin.js is working properly.
All that said, I feel like this is kind of hacky and that Ionic should be handling all this properly, so hopefully I can find some time to look into this issue on that side of things and find the root issue of this problem.
Isn'tcordova prepare [platform]
all that really is needed? This copies over the files from the projects plugin folder to the target platform.
– laughingpine
Mar 4 '15 at 17:30
cordova build
is a shortcut for:cordova prepare
,cordova compile
, so it should do everything you need. Problem is that it's kind of hit or miss as to whether it actually works. I really need something that's truly reproducible (we do continuous deployment to our clients). This method seems to do the trick.
– jbeck
Mar 4 '15 at 21:05
That didn't solve the issue for me. The problem still persist.
– batanasov
Mar 5 '15 at 9:34
add a comment |
I think I have found solution to this issue. Instead of using ionic cli for adding platform I'm using sudo cordova platform add ...
. It's working every time.
4
You aren't supposed to usesudo
for this command.
– com2ghz
Jun 22 '15 at 13:01
add a comment |
It is better now to use ionic cordova prepare
This installs and configures all plugins in a single step
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f28627453%2fplugins-are-not-always-added-after-cordova-add-platform-android-and-ios%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I've experienced some similar problems myself. Try reseting your ionic project:
ionic state reset
This removes the platforms/
and plugins/
folder and restores them from the information stored in your package.json
. There's a few other useful commands documented on the ionic-cli project.
This one worked a dream for me!
– Matt The Ninja
Aug 12 '15 at 19:36
Perfect, I love this command.
– jlafay
Mar 6 '16 at 12:21
2
Unfortunately, this is no longer supported:ionic state has been removed as of CLI 3.0.
– Cris
Mar 14 '18 at 12:01
add a comment |
I've experienced some similar problems myself. Try reseting your ionic project:
ionic state reset
This removes the platforms/
and plugins/
folder and restores them from the information stored in your package.json
. There's a few other useful commands documented on the ionic-cli project.
This one worked a dream for me!
– Matt The Ninja
Aug 12 '15 at 19:36
Perfect, I love this command.
– jlafay
Mar 6 '16 at 12:21
2
Unfortunately, this is no longer supported:ionic state has been removed as of CLI 3.0.
– Cris
Mar 14 '18 at 12:01
add a comment |
I've experienced some similar problems myself. Try reseting your ionic project:
ionic state reset
This removes the platforms/
and plugins/
folder and restores them from the information stored in your package.json
. There's a few other useful commands documented on the ionic-cli project.
I've experienced some similar problems myself. Try reseting your ionic project:
ionic state reset
This removes the platforms/
and plugins/
folder and restores them from the information stored in your package.json
. There's a few other useful commands documented on the ionic-cli project.
answered Jun 30 '15 at 11:05
jakerjaker
4,91411416
4,91411416
This one worked a dream for me!
– Matt The Ninja
Aug 12 '15 at 19:36
Perfect, I love this command.
– jlafay
Mar 6 '16 at 12:21
2
Unfortunately, this is no longer supported:ionic state has been removed as of CLI 3.0.
– Cris
Mar 14 '18 at 12:01
add a comment |
This one worked a dream for me!
– Matt The Ninja
Aug 12 '15 at 19:36
Perfect, I love this command.
– jlafay
Mar 6 '16 at 12:21
2
Unfortunately, this is no longer supported:ionic state has been removed as of CLI 3.0.
– Cris
Mar 14 '18 at 12:01
This one worked a dream for me!
– Matt The Ninja
Aug 12 '15 at 19:36
This one worked a dream for me!
– Matt The Ninja
Aug 12 '15 at 19:36
Perfect, I love this command.
– jlafay
Mar 6 '16 at 12:21
Perfect, I love this command.
– jlafay
Mar 6 '16 at 12:21
2
2
Unfortunately, this is no longer supported:
ionic state has been removed as of CLI 3.0.
– Cris
Mar 14 '18 at 12:01
Unfortunately, this is no longer supported:
ionic state has been removed as of CLI 3.0.
– Cris
Mar 14 '18 at 12:01
add a comment |
The solution that I ended up using is to uninstall and reinstall all the plugins after adding the platform. Since I've had trouble with this issue in past Cordova apps, I'm trying to make the builds as consistent as possible, so I'm not committing the platforms directory and deleting it after I build the apk. I've done this with a script:
ionic platform add android
ionic plugin remove org.apache.cordova.device
ionic plugin remove org.apache.cordova.console
ionic plugin remove com.ionic.keyboard
ionic plugin add org.apache.cordova.device
ionic plugin add org.apache.cordova.console
ionic plugin add com.ionic.keyboard
platforms/android/cordova/build --release
rm -rf platforms
This has consistently worked for me, but since I'd rather not have to worry about keeping this current, I have moved these commands into the: after_platform_add/010_install_plugins.js, with the following additions:
packageJSON.cordovaPlugins = packageJSON.cordovaPlugins || ;
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin remove ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin add ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
This assumes that something along these lines exists in the package.json in the root JSON object:
"cordovaPlugins": [
"org.apache.cordova.console",
"org.apache.cordova.device",
"com.ionic.keyboard"
]
Which should occur automatically if the after_plugin_add/010_register_plugin.js is working properly.
All that said, I feel like this is kind of hacky and that Ionic should be handling all this properly, so hopefully I can find some time to look into this issue on that side of things and find the root issue of this problem.
Isn'tcordova prepare [platform]
all that really is needed? This copies over the files from the projects plugin folder to the target platform.
– laughingpine
Mar 4 '15 at 17:30
cordova build
is a shortcut for:cordova prepare
,cordova compile
, so it should do everything you need. Problem is that it's kind of hit or miss as to whether it actually works. I really need something that's truly reproducible (we do continuous deployment to our clients). This method seems to do the trick.
– jbeck
Mar 4 '15 at 21:05
That didn't solve the issue for me. The problem still persist.
– batanasov
Mar 5 '15 at 9:34
add a comment |
The solution that I ended up using is to uninstall and reinstall all the plugins after adding the platform. Since I've had trouble with this issue in past Cordova apps, I'm trying to make the builds as consistent as possible, so I'm not committing the platforms directory and deleting it after I build the apk. I've done this with a script:
ionic platform add android
ionic plugin remove org.apache.cordova.device
ionic plugin remove org.apache.cordova.console
ionic plugin remove com.ionic.keyboard
ionic plugin add org.apache.cordova.device
ionic plugin add org.apache.cordova.console
ionic plugin add com.ionic.keyboard
platforms/android/cordova/build --release
rm -rf platforms
This has consistently worked for me, but since I'd rather not have to worry about keeping this current, I have moved these commands into the: after_platform_add/010_install_plugins.js, with the following additions:
packageJSON.cordovaPlugins = packageJSON.cordovaPlugins || ;
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin remove ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin add ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
This assumes that something along these lines exists in the package.json in the root JSON object:
"cordovaPlugins": [
"org.apache.cordova.console",
"org.apache.cordova.device",
"com.ionic.keyboard"
]
Which should occur automatically if the after_plugin_add/010_register_plugin.js is working properly.
All that said, I feel like this is kind of hacky and that Ionic should be handling all this properly, so hopefully I can find some time to look into this issue on that side of things and find the root issue of this problem.
Isn'tcordova prepare [platform]
all that really is needed? This copies over the files from the projects plugin folder to the target platform.
– laughingpine
Mar 4 '15 at 17:30
cordova build
is a shortcut for:cordova prepare
,cordova compile
, so it should do everything you need. Problem is that it's kind of hit or miss as to whether it actually works. I really need something that's truly reproducible (we do continuous deployment to our clients). This method seems to do the trick.
– jbeck
Mar 4 '15 at 21:05
That didn't solve the issue for me. The problem still persist.
– batanasov
Mar 5 '15 at 9:34
add a comment |
The solution that I ended up using is to uninstall and reinstall all the plugins after adding the platform. Since I've had trouble with this issue in past Cordova apps, I'm trying to make the builds as consistent as possible, so I'm not committing the platforms directory and deleting it after I build the apk. I've done this with a script:
ionic platform add android
ionic plugin remove org.apache.cordova.device
ionic plugin remove org.apache.cordova.console
ionic plugin remove com.ionic.keyboard
ionic plugin add org.apache.cordova.device
ionic plugin add org.apache.cordova.console
ionic plugin add com.ionic.keyboard
platforms/android/cordova/build --release
rm -rf platforms
This has consistently worked for me, but since I'd rather not have to worry about keeping this current, I have moved these commands into the: after_platform_add/010_install_plugins.js, with the following additions:
packageJSON.cordovaPlugins = packageJSON.cordovaPlugins || ;
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin remove ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin add ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
This assumes that something along these lines exists in the package.json in the root JSON object:
"cordovaPlugins": [
"org.apache.cordova.console",
"org.apache.cordova.device",
"com.ionic.keyboard"
]
Which should occur automatically if the after_plugin_add/010_register_plugin.js is working properly.
All that said, I feel like this is kind of hacky and that Ionic should be handling all this properly, so hopefully I can find some time to look into this issue on that side of things and find the root issue of this problem.
The solution that I ended up using is to uninstall and reinstall all the plugins after adding the platform. Since I've had trouble with this issue in past Cordova apps, I'm trying to make the builds as consistent as possible, so I'm not committing the platforms directory and deleting it after I build the apk. I've done this with a script:
ionic platform add android
ionic plugin remove org.apache.cordova.device
ionic plugin remove org.apache.cordova.console
ionic plugin remove com.ionic.keyboard
ionic plugin add org.apache.cordova.device
ionic plugin add org.apache.cordova.console
ionic plugin add com.ionic.keyboard
platforms/android/cordova/build --release
rm -rf platforms
This has consistently worked for me, but since I'd rather not have to worry about keeping this current, I have moved these commands into the: after_platform_add/010_install_plugins.js, with the following additions:
packageJSON.cordovaPlugins = packageJSON.cordovaPlugins || ;
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin remove ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
packageJSON.cordovaPlugins.forEach(function(plugin) {
exec('cordova plugin add ' + plugin, function(error, stdout, stderr) {
sys.puts(stdout);
});
});
This assumes that something along these lines exists in the package.json in the root JSON object:
"cordovaPlugins": [
"org.apache.cordova.console",
"org.apache.cordova.device",
"com.ionic.keyboard"
]
Which should occur automatically if the after_plugin_add/010_register_plugin.js is working properly.
All that said, I feel like this is kind of hacky and that Ionic should be handling all this properly, so hopefully I can find some time to look into this issue on that side of things and find the root issue of this problem.
answered Mar 3 '15 at 18:39
jbeckjbeck
1,41911620
1,41911620
Isn'tcordova prepare [platform]
all that really is needed? This copies over the files from the projects plugin folder to the target platform.
– laughingpine
Mar 4 '15 at 17:30
cordova build
is a shortcut for:cordova prepare
,cordova compile
, so it should do everything you need. Problem is that it's kind of hit or miss as to whether it actually works. I really need something that's truly reproducible (we do continuous deployment to our clients). This method seems to do the trick.
– jbeck
Mar 4 '15 at 21:05
That didn't solve the issue for me. The problem still persist.
– batanasov
Mar 5 '15 at 9:34
add a comment |
Isn'tcordova prepare [platform]
all that really is needed? This copies over the files from the projects plugin folder to the target platform.
– laughingpine
Mar 4 '15 at 17:30
cordova build
is a shortcut for:cordova prepare
,cordova compile
, so it should do everything you need. Problem is that it's kind of hit or miss as to whether it actually works. I really need something that's truly reproducible (we do continuous deployment to our clients). This method seems to do the trick.
– jbeck
Mar 4 '15 at 21:05
That didn't solve the issue for me. The problem still persist.
– batanasov
Mar 5 '15 at 9:34
Isn't
cordova prepare [platform]
all that really is needed? This copies over the files from the projects plugin folder to the target platform.– laughingpine
Mar 4 '15 at 17:30
Isn't
cordova prepare [platform]
all that really is needed? This copies over the files from the projects plugin folder to the target platform.– laughingpine
Mar 4 '15 at 17:30
cordova build
is a shortcut for: cordova prepare
, cordova compile
, so it should do everything you need. Problem is that it's kind of hit or miss as to whether it actually works. I really need something that's truly reproducible (we do continuous deployment to our clients). This method seems to do the trick.– jbeck
Mar 4 '15 at 21:05
cordova build
is a shortcut for: cordova prepare
, cordova compile
, so it should do everything you need. Problem is that it's kind of hit or miss as to whether it actually works. I really need something that's truly reproducible (we do continuous deployment to our clients). This method seems to do the trick.– jbeck
Mar 4 '15 at 21:05
That didn't solve the issue for me. The problem still persist.
– batanasov
Mar 5 '15 at 9:34
That didn't solve the issue for me. The problem still persist.
– batanasov
Mar 5 '15 at 9:34
add a comment |
I think I have found solution to this issue. Instead of using ionic cli for adding platform I'm using sudo cordova platform add ...
. It's working every time.
4
You aren't supposed to usesudo
for this command.
– com2ghz
Jun 22 '15 at 13:01
add a comment |
I think I have found solution to this issue. Instead of using ionic cli for adding platform I'm using sudo cordova platform add ...
. It's working every time.
4
You aren't supposed to usesudo
for this command.
– com2ghz
Jun 22 '15 at 13:01
add a comment |
I think I have found solution to this issue. Instead of using ionic cli for adding platform I'm using sudo cordova platform add ...
. It's working every time.
I think I have found solution to this issue. Instead of using ionic cli for adding platform I'm using sudo cordova platform add ...
. It's working every time.
answered Mar 26 '15 at 10:23
batanasovbatanasov
1191113
1191113
4
You aren't supposed to usesudo
for this command.
– com2ghz
Jun 22 '15 at 13:01
add a comment |
4
You aren't supposed to usesudo
for this command.
– com2ghz
Jun 22 '15 at 13:01
4
4
You aren't supposed to use
sudo
for this command.– com2ghz
Jun 22 '15 at 13:01
You aren't supposed to use
sudo
for this command.– com2ghz
Jun 22 '15 at 13:01
add a comment |
It is better now to use ionic cordova prepare
This installs and configures all plugins in a single step
add a comment |
It is better now to use ionic cordova prepare
This installs and configures all plugins in a single step
add a comment |
It is better now to use ionic cordova prepare
This installs and configures all plugins in a single step
It is better now to use ionic cordova prepare
This installs and configures all plugins in a single step
edited Nov 14 '18 at 1:55
Dean coakley
6871319
6871319
answered Nov 14 '18 at 0:15
Jheison alexander AlzateJheison alexander Alzate
162
162
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f28627453%2fplugins-are-not-always-added-after-cordova-add-platform-android-and-ios%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I'm still having the same issue... any ideas ?
– batanasov
Mar 2 '15 at 11:36
on which os are you working on? this seems like write permission issue.
– grytrn
Mar 8 '15 at 23:23
It's osx. If it was a writing permission issue i wouldn't be able to do it at all
– batanasov
Mar 9 '15 at 7:03