【发布时间】:2017-10-15 06:50:22
【问题描述】:
我目前正在使用nativescript创建移动应用程序,我发现一个烦人的问题,软输入键覆盖了TextView组件。 检查网站后,我找到了这个插件-nativescript-iqkeyboardmanager,但是在我运行tns plugin add,然后运行tns run ios后,我发现了这个错误:
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`. .
谁能帮我解决这个问题?
【问题讨论】:
-
你安装了 cocoapods 吗?在终端窗口中尝试“pod repo update”(文件夹无关紧要)。
-
太棒了!它奏效了
-
太棒了 - 我发布了与“真实”答案相同的答案,因此对其他人来说也更明显。
标签: android ios nativescript nativescript-telerik-ui