Reveal 4.0集成(纯手动)

1.获取RevealServer.framework 文件


Reveal 4.0集成(纯手动)_第1张图片
C4403791-CF94-42E8-9EE6-E391C14D9601.png

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

在你Mac电脑打开你的已安装好的Reveal 软件,
Reveal 4.0集成(纯手动)_第2张图片
57D7D365-6CB3-4145-B5D9-48BD70EDBF99.png

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

Reveal 4.0集成(纯手动)_第3张图片
180401BE-878B-4FF6-A22F-0ACC1C682388.png

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

Reveal 4.0集成(纯手动)_第4张图片
A727E298-8DC2-4B5F-9453-B866392DFEB4.png

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

Reveal 4.0集成(纯手动)_第5张图片
1F7A697A-69B5-4619-9370-A31C115303D7.png

6.设置脚本


Reveal 4.0集成(纯手动)_第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

你可能感兴趣的:(Reveal 4.0集成(纯手动))