美文网首页
Reveal 4.0集成(纯手动)

Reveal 4.0集成(纯手动)

作者: EdenChow | 来源:发表于2018-01-17 17:48 被阅读114次

    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
    

    相关文章

      网友评论

          本文标题:Reveal 4.0集成(纯手动)

          本文链接:https://www.haomeiwen.com/subject/ejvuoxtx.html