Xcode5免证书真机调试

1个回应

  1. chaohubian
    2014-10-05

    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    if [ “${PLATFORM_NAME}” ==”iphoneos” ] || [ “${PLATFORM_NAME}” == “ipados”]; then
    /Applications/Xcode.app/Contents/Developer/iphoneentitlements/gen_entitlements.py “my.company.${PROJECT_NAME}” “${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent”;
    codesign -f -s “iPhone Developer” –entitlements “${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/${PROJECT_NAME}.xcent” “${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/”
    fi

    这里的”${PLATFORM_NAME}” ==”iphoneos” 等号左右必须有隔空分开,不然会报failed to get the task for process XXX错误!!!我调试了一下午得出的结论。。。

留言

你必须才能发表评论。

移动 桌面