Reveal 4.0集成(纯手动)

2018-01-17  本文已影响114人  EdenChow

1.获取RevealServer.framework 文件


C4403791-CF94-42E8-9EE6-E391C14D9601.png

2.RevealServer.framework 文件 如何获取?

在你Mac电脑打开你的已安装好的Reveal 软件, 57D7D365-6CB3-4145-B5D9-48BD70EDBF99.png

3.把 RevealServer.framework 文件 拖动到工程文件的根目录

180401BE-878B-4FF6-A22F-0ACC1C682388.png

4.工程配置(内容为:-ObjC -weak_framework RevealServer

A727E298-8DC2-4B5F-9453-B866392DFEB4.png

5.工程配置 Build Settings -> Framework Search Paths ->Debug
添加 $(PROJECT_DIR)

1F7A697A-69B5-4619-9370-A31C115303D7.png

6.设置脚本


87297CF8-A0B2-4F96-B912-08CB9E286FDB.png
export REVEAL_SERVER_FILENAME="RevealServer.framework"

# Update this path to point to the location of RevealServer.framework in your project.
export REVEAL_SERVER_PATH="${SRCROOT}/${REVEAL_SERVER_FILENAME}"

# If configuration is not Debug, skip this script.
[ "${CONFIGURATION}" != "Debug" ] && exit 0

# If RevealServer.framework exists at the specified path, run code signing script.
if [ -d "${REVEAL_SERVER_PATH}" ]; then
"${REVEAL_SERVER_PATH}/Scripts/copy_and_codesign_revealserver.sh"
else
echo "Reveal Server not loaded: RevealServer.framework could not be found."
fi
上一篇下一篇

猜你喜欢

热点阅读