❤️ 谢谢支持
喜欢的话别忘了 关注、点赞哦~。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
require File.expand\_path('../proj\_creator', __FILE__)
require File.expand\_path('../file\_migration', __FILE__)
require File.expand\_path('../conf\_substitution', __FILE__)
require File.expand\_path('../create\_main\_workspace', __FILE__)
# # create program
# puts "\033[32m'=============START============='\033[0m\n"
# creator = ProCreator.new
# creator.start
#
# # migrate files
# puts "\033[32m'files setting...'\033[0m\n"
# mig = FileMigration.new
# mig.migration
#
# # replace key words
# puts "\033[32m'content setting...'\033[0m\n"
# subOp = ConfSubsitution.new
# subOp.start
#
# puts "\033[32m'pod install...'\033[0m\n"
# puts "\033[32m#{`pod install`}\033[0m\n"
#
#
rootpath = ARGV.shift
projName = ARGV[0]
bundleid = ARGV[1]
widgets = ARGV[2]
generator = WorkspaceGenerator.new(rootpath, projName, bundleid, widgets)
generator.create
执行shell脚本:
./createiOS.sh
生成后的项目结构如下图所示:
由项目结构可知,脚手架中对项目做了很好的分层处理,便于项目解耦。
二、xcode-select 命令
Print or change the path to the active developer directory. This directory controls which tools are used for the Xcode command line tools (for example, xcodebuild) as well as the BSD development commands (such as cc and make).
用-help
可查看xcode-select
存在哪些命令:
当安装多个xcode的版本,使用该工具使用指定的版本。
-p
或者--print-path
查看当前开发者目录,也即是xcode的版本目录。-s <path>
或--switch <path>
选择xcode版本。--install
安装;--version
查看版本;--reset
恢复默认;sudo rm -rf /Library/Developer/CommandLineTools
强制删除安装目录下的文件;
最后
面试一面会问很多基础问题,而这些基础问题基本上在网上搜索,面试题都会很多很多。最好把准备一下常见的面试问题,毕竟面试也相当与一次考试,所以找工作面试的准备千万别偷懒。面试就跟考试一样的,时间长了不复习,现场表现肯定不会太好。表现的不好面试官不可能说,我猜他没发挥好,我录用他吧。
开源分享:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】
96道前端面试题:
常用算法面试题:
前端基础面试题:
内容主要包括HTML,CSS,JavaScript,浏览器,性能优化
A-1715343718051)]
前端基础面试题:
内容主要包括HTML,CSS,JavaScript,浏览器,性能优化
- [外链图片转存中…(img-Gx9NOb7B-1715343718052)]