简体   繁体   中英

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:

/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. There were some changes I made in both AudioKit and the 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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