XcodeGen-调试目标/模式的预操作

时间:2019-01-04 02:23:03

标签: xcodegen

我有这个项目 https://github.com/johndpope/swift-models/tree/stable/Inference

name: SwiftTorch
options:
  bundleIdPrefix: com.swiftTorch
configFiles:
  Debug: debug.xcconfig
  Release: debug.xcconfig

targets:
  SwiftTorch:
    type: tool
    platform: macOS
    deploymentTarget: "10.13"
    sources: 
        - Sources
    SUPPORTED_PLATFORMS: macosx
schemes:
  Debug:
    build:
      targets:
        SwiftTorch: all
    run:
      targets:
        SwiftTorch: all
      preActions:
        - script: conda activate gymai2

enter image description here

我想根据屏幕截图创建一些预执行操作 (基本上是conda / python源激活环境)

0 个答案:

没有答案