Skip to content

Commit 67bf5f4

Browse files
committed
Merge pull request #1452 from NativeScript/kerezov/cocoapods-ignore-scripts
Ignore scripts when checking CocoaPods
2 parents 571ee48 + 08d424e commit 67bf5f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/doctor-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class DoctorService implements IDoctorService {
109109
let spinner = new clui.Spinner("Installing iOS runtime.");
110110
try {
111111
spinner.start();
112-
this.$npm.install("tns-ios", projDir).wait();
112+
this.$npm.install("tns-ios", projDir, { "ignore-scripts": true, production: true }).wait();
113113
spinner.stop();
114114
let iosDir = path.join(projDir, "node_modules", "tns-ios", "framework");
115115
this.$fs.writeFile(

0 commit comments

Comments
 (0)