Reputation: 800
I am getting some strange issue while adding plugin in iOS using CLI. Executed below commands in Terminal,
But the build is failing & showing the below message,
error: no such file or directory: '/Users/gtmac/Documents/Work/hello/platforms/ios/helloworld/Plugins/org.apache.cordova.device/CDVDevice.m' clang: error: no input files
** BUILD FAILED **
When I add any plugin, .m & .h files are not getting copied to the Platforms/Plugins folder. But the files are present in the Plugins folder in the root directory.
Upvotes: 1
Views: 427
Reputation: 3389
There is this known issue with Cordova, where the build fails if the project's name has the first letter in lowercase. It has been reported back in 2014, but still not fixed, nor mentioned in the docs/no specification in the errors.
So keep the app's project name starting with an uppercase.
Upvotes: 1