Why does running build_frameworks.sh fail?

巧了我就是萌 提交于 2021-01-28 00:04:02

问题


Running the build_frameworks.sh script sometimes results in this cryptic error. Why does it do it and how can I fix it

~/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/

回答1:


The build_frameworks.sh script must be run from the Frameworks/ directory! cd into that directory to run the script and you should have better success. :)




回答2:


As of AudioKit 4.0.3, this problem is gone:

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

Via https://github.com/AudioKit/AudioKit/commit/c85fbc714c172338f9586074315602dda8051d71



来源:https://stackoverflow.com/questions/46921133/why-does-running-build-frameworks-sh-fail

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!