forceios 9.1.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/shared/constants.js +5 -5
- package/shared/createHelper.js +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "forceios",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Utilities for creating mobile apps based on the Salesforce Mobile SDK for iOS",
|
|
5
5
|
"keywords": [ "mobilesdk", "ios", "salesforce", "mobile", "sdk" ],
|
|
6
6
|
"homepage": "https://github.com/forcedotcom/SalesforceMobileSDK-iOS",
|
package/shared/constants.js
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
var path = require('path'),
|
|
29
29
|
shelljs = require('shelljs');
|
|
30
30
|
|
|
31
|
-
var VERSION= '
|
|
31
|
+
var VERSION= '10.0.0';
|
|
32
32
|
|
|
33
33
|
module.exports = {
|
|
34
34
|
version: VERSION,
|
|
@@ -40,7 +40,7 @@ module.exports = {
|
|
|
40
40
|
},
|
|
41
41
|
node: {
|
|
42
42
|
checkCmd: 'node --version',
|
|
43
|
-
minVersion: '
|
|
43
|
+
minVersion: '12.0'
|
|
44
44
|
},
|
|
45
45
|
npm: {
|
|
46
46
|
checkCmd: 'npm -v',
|
|
@@ -61,11 +61,11 @@ module.exports = {
|
|
|
61
61
|
cordova: {
|
|
62
62
|
checkCmd: 'cordova -v',
|
|
63
63
|
// pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#dev', // dev
|
|
64
|
-
minVersion: '
|
|
64
|
+
minVersion: '11.0.0',
|
|
65
65
|
pluginRepoUri: 'https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v' + VERSION, // GA
|
|
66
66
|
platformVersion: {
|
|
67
|
-
ios: '6.
|
|
68
|
-
android: '
|
|
67
|
+
ios: '6.2.0',
|
|
68
|
+
android: '10.1.1'
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
sfdx: {
|
package/shared/createHelper.js
CHANGED
|
@@ -67,7 +67,7 @@ function createHybridApp(config) {
|
|
|
67
67
|
|
|
68
68
|
// Create app with cordova
|
|
69
69
|
utils.runProcessThrowError('cordova create "' + config.projectDir + '" ' + config.packagename + ' ' + config.appname);
|
|
70
|
-
utils.runProcessThrowError('npm install shelljs@0.
|
|
70
|
+
utils.runProcessThrowError('npm install shelljs@0.8.4', config.projectDir);
|
|
71
71
|
|
|
72
72
|
for (var platform of config.platform.split(',')) {
|
|
73
73
|
utils.runProcessThrowError('cordova platform add ' + platform + '@' + SDK.tools.cordova.platformVersion[platform], config.projectDir);
|
|
@@ -143,7 +143,9 @@ function useLegacyBuild(config, iosSubDir) {
|
|
|
143
143
|
'<plist version="1.0">\n' +
|
|
144
144
|
'<dict>\n' +
|
|
145
145
|
'<key>BuildSystemType</key>\n' +
|
|
146
|
-
'<string>Original</string>\n' +
|
|
146
|
+
'<string>Original</string>\n' +
|
|
147
|
+
'<key>DisableBuildSystemDeprecationDiagnostic</key>\n' +
|
|
148
|
+
'<true/>\n' +
|
|
147
149
|
'</dict>\n' +
|
|
148
150
|
'</plist>\n';
|
|
149
151
|
utils.logInfo('Creating WorkspaceSettings.xcsettings for project. Setting the BuildSystemType to original in ' + xcSettingsFile);
|