简体   繁体   English

使用 v5 beta 构建 AudioKit Cookbook 时出错

[英]errors building AudioKit Cookbook with v5 beta

I'm trying to build AudioKit Cookbook with XCode Version 12.0.1 (12A7300), and I get these errors:我正在尝试使用 XCode 版本 12.0.1 (12A7300) 构建AudioKit Cookbook ,但出现以下错误:

/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/Shaker.swift:13:30: Value of type 'CallbackLoop' has no member 'start'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/Shaker.swift:13:45: Value of type 'CallbackLoop' has no member 'stop'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/Shaker.swift:40:14: Value of type 'CallbackLoop' has no member 'stop'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/DrippingSounds.swift:28:37: Value of type 'CallbackLoop' has no member 'frequency'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/DrippingSounds.swift:45:19: Value of type 'CallbackLoop' has no member 'start'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/DrippingSounds.swift:53:15: Value of type 'CallbackLoop' has no member 'stop'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/DrumSynthesizers.swift:15:30: Value of type 'CallbackLoop' has no member 'start'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/DrumSynthesizers.swift:15:45: Value of type 'CallbackLoop' has no member 'stop'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/DrumSynthesizers.swift:55:14: Value of type 'CallbackLoop' has no member 'stop'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/Flute.swift:13:30: Value of type 'CallbackLoop' has no member 'start'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/Flute.swift:13:45: Value of type 'CallbackLoop' has no member 'stop'
/Users/ali/Documents/Development/Cookbook/Cookbook/Cookbook/Recipes/Flute.swift:43:14: Value of type 'CallbackLoop' has no member 'stop'

You need to update your AudioKit Swift Package to the latest.您需要将 AudioKit Swift 包更新到最新版本。 There were some changes I made in both AudioKit and the Cookbook.我在 AudioKit 和 Cookbook 中都做了一些更改。 I guess I should make master based off v5-master and develop off of v5-develop to prevent this from happening to people in the future.我想我应该在 v5-master 的基础上制作 master 并在 v5-develop 的基础上开发,以防止将来这种情况发生在人们身上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM