2

运行build_frameworks.sh脚本有时会导致这个神秘的错误。为什么会这样,我该如何解决

~/Code/AudioKit/AudioKit () ./Frameworks/build_frameworks.sh 
cat: ../VERSION: No such file or directory
Building frameworks for platforms: iOS macOS tvOS
Ignoring configuration file 'simulator.xcconfig' because it could not be loaded.
        Reason: File could not be parsed due to preprocessing errors:
    The file “simulator.xcconfig” couldn’t be opened because there is no such file. (/Users/username/Code/AudioKit/AudioKit/simulator.xcconfig)Build settings from command line:
    BUILD_DIR = /Users/username/Code/AudioKit/AudioKit/build
    SDKROOT = iphonesimulator11.0

xcodebuild: error: '../AudioKit/iOS/AudioKit For iOS.xcodeproj' does not exist.
~/Code/AudioKit/AudioKit () cd Frameworks/
4

2 回答 2

4

build_frameworks.sh脚本必须从目录运行Frameworks/cd进入该目录运行脚本,你应该有更好的成功。:)

于 2017-10-24T22:44:08.640 回答
1

从 AudioKit 4.0.3 开始,这个问题就消失了:

⋊> ~/D/AudioKit on develop ⨯ ./Frameworks/build_frameworks.sh           23:46:08
This script needs to be run from the Frameworks folder

通过https://github.com/AudioKit/AudioKit/commit/c85fbc714c172338f9586074315602dda8051d71

于 2017-10-27T06:49:02.873 回答