Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 9f9c534

Browse files
#288 plugin installation issue Entitlements
1 parent 23c63cf commit 9f9c534

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Diff for: hooks/ios/install_entitlements.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ module.exports = function (context) {
3939
throw new Error("Could not find an .xcodeproj folder in: " + iosFolder);
4040
}
4141

42-
var destFile = path.join(iosFolder, projName, 'Resources', projName + '.entitlements');
42+
var destFolder = path.join(iosFolder, projName, 'Resources');
43+
if (!fs.existsSync(destFolder)) {
44+
fs.mkdirSync(destFolder);
45+
}
46+
47+
var destFile = path.join(destFolder, projName + '.entitlements');
4348
if (fs.existsSync(destFile)) {
4449
console.error("File exists, not doing anything: " + destFile);
4550
deferral.resolve();

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.1.0",
2+
"version": "5.1.1",
33
"name": "cordova-plugin-googleplus",
44
"cordova_name": "Google SignIn",
55
"description": "Use your Google account to authenticate with the app.",

Diff for: plugin.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="cordova-plugin-googleplus"
5-
version="5.1.0">
5+
version="5.1.1">
66

77
<name>Google SignIn</name>
88

0 commit comments

Comments
 (0)