金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

build

build 是面向软件开发的 Agent Skill,来自 iPlug2/iPlug2。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Build an iPlug2 plugin project for different formats and platforms using xcodebuild or Visual Studio

SKILL.md

下载 MD ↓
namebuild
descriptionBuild an iPlug2 plugin project for different formats and platforms using xcodebuild or Visual Studio

Build iPlug2 Plugin

Use this skill when the user wants to build their plugin project.

macOS Build (xcodebuild)

cd [ProjectFolder]
xcodebuild -project "./projects/[ProjectName]-macOS.xcodeproj" -target [TARGET] -configuration [CONFIG] 2> ./build_errors.log

Targets: APP, AU, VST2, VST3, CLAP, AAX, AUv3, AUv3App, All Configurations: Debug, Release, Tracer

Build Locations (from common-mac.xcconfig)

  • APP: ~/Applications/[PluginName].app
  • VST3: ~/Library/Audio/Plug-Ins/VST3/
  • AU: ~/Library/Audio/Plug-Ins/Components/
  • CLAP: ~/Library/Audio/Plug-Ins/CLAP/

Open in Xcode (recommended for debugging)

open ./[ProjectName].xcworkspace

iOS Build

xcodebuild -project "./projects/[ProjectName]-iOS.xcodeproj" -target AUv3App -configuration Release

Windows Build

Open the .sln file in Visual Studio:

[ProjectName].sln

Build from IDE or command line:

msbuild [ProjectName].sln /p:Configuration=Release /p:Platform=x64

Tips

  • Build one target at a time; All may fail if SDKs are missing
  • Check build_errors.log for issues
  • AUv3 requires building AUv3App target (packages plugin as App Extension)
  • Recommend AUv2 over AUv3 for new users (simpler setup)

来源:iPlug2/iPlug2 · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本