使用nativescript的初始准备(2)

1.配置nativescript 开发环境

https://blog.csdn.net/wershest/article/details/77512634

2.解决Cannot find a compatible Android SDK for compilation. To be able to build for Android, install Android SDK 28 or later.

在这里插入图片描述
MAC环境Android SDK环境变量配置20180715
https://blog.csdn.net/jlminghui/article/details/81204352

3.解决Xcode is not installed or is not configured properly.

https://github.com/NativeScript/nativescript-cli/issues/3174
在这里插入图片描述
(1)首先尝试运行xcodebuild -version 检查版本,报错
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

(2)打开Xcode,并在依次打开工具栏
Preferences -> Locations -> Command Line Tools

(3)再次运行xcodebuild -version
在这里插入图片描述

4.解决CocoaPods is not installed or is not configured properly.
xcodeproj is not installed or is not configured properly.

在这里插入图片描述
(1)首先pod --version,报错
(2)sudo gem install cocoapods
安装完成以后检查一遍
在这里插入图片描述

全部安装成功以后

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值