2017-10-15 73 views
0

我目前使用nativescript来创建移动应用程序,我发现一个恼人的问题,软输入键是转换TextView组件。 检查网站后,我发现这个插件 - nativescript-iqkeyboardmanager,但在我运行TNS插件添加,然后运行运行IOS TNS,我发现了这个错误:nativescript IQKeyboardManager插件抛出无法找到规格错误

Analyzing dependencies 

[!] Unable to find a specification for `IQKeyboardManager (~> 4.0.0)` Unable to apply changes on device: 7F714272-BD81-4B77-8D6C-1CD96CEC7BF7. Error is: Command pod failed with exit code 1 Error output: 

[!] Automatically assigning platform ios with version 8.0 on target rsshoc5new because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`. . 

谁能帮我解决这个问题呢?

+0

您是否安装了cocoapods?在终端窗口中尝试'pod repo update'(文件夹无关紧要)。 –

+0

优秀!它的工作原理 – user3006967

+0

真棒 - 我已经发布了相同的“真实”答案,所以对其他人更为明显。 –

回答

0

您是否安装了cocoapods?在终端窗口中尝试'pod repo update'(文件夹无关紧要)。

相关问题