Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 6.2.2
- Cross-platform modules: 6.2.1
- Android Runtime: 6.2.0
- iOS Runtime: 6.2.0
- Plugin(s):
Dependencies:
┌──────────────────┬─────────┐
│ Plugin │ Version │
│ nativescript-vue │ ^2.4.0 │
│ tns-core-modules │ ^6.2.1 │
└──────────────────┴─────────┘
Dev Dependencies:
┌────────────────────────────────────┬─────────┐
│ Plugin │ Version │
│ @babel/core │ ^7.0.0 │
│ @babel/preset-env │ ^7.0.0 │
│ babel-loader │ ^8.0.2 │
│ nativescript-dev-webpack │ ^1.0.0 │
│ nativescript-vue-template-compiler │ ^2.0.0 │
│ nativescript-worker-loader │ ~0.9.0 │
│ node-sass │ ^4.9.2 │
│ vue-loader │ ^15.4.0 │
└────────────────────────────────────┴─────────┘
Describe the bug
File: NativeScript/nativescript-cli/blob/master/lib/services/ios-project-service.ts
Method: applyPluginsCocoaPods
Line https://github.com/NativeScript/nativescript-cli/blob/master/lib/services/ios-project-service.ts#L833
This method checks for the pluginPlatformsFolderPath using the normalizedPlatformName which is iOS
In reality the folder names are lowercase:
Example of a plugin:
To Reproduce
- Create a new project on a case sensitive drive
- run
tns platform add ios
- run
tns prepare ios
Plugin Podfiles are not added.
Expected behavior
Plugin Podfile should be included
Environment
Provide version numbers for the following components (information can be retrieved by running
tns infoin your project folder or by inspecting thepackage.jsonof the project):Describe the bug
File: NativeScript/nativescript-cli/blob/master/lib/services/ios-project-service.ts
Method: applyPluginsCocoaPods
Line https://github.com/NativeScript/nativescript-cli/blob/master/lib/services/ios-project-service.ts#L833
This method checks for the pluginPlatformsFolderPath using the
normalizedPlatformNamewhich isiOSIn reality the folder names are lowercase:
Example of a plugin:
To Reproduce
tns platform add iostns prepare iosPlugin Podfiles are not added.
Expected behavior
Plugin
Podfileshould be included