为编译添加install_name_tool
脚本,解决每次手动运行的繁琐
install_name_tool
的作用?
见 https://blog.csdn.net/shengpeng3344/article/details/102592191
添加一个新的脚本文件
New Run Script Phase
由于Copy Files
设置的为Frameworks
路径,所以下面脚本都在Frameworks
路径处理,脚本内容为
# Type a script or drag a script file from your workspace to insert its path.
#Copy Files ... replace to cp -r xxx.dylib
UNIX_TARGET=