We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.9.3
macOS 14.5 (23F79)
我使用了
add_files("src/xxxexport.txt") add_rules("utils.symbols.export_list")
来导出函数,然后就不能生成xcode工程了,具体是cmake就生成失败,错误代码在这里。
xmake/xmake/plugins/project/cmake/cmakelists.lua
Line 973 in 9eb191f
我添加了2行调试。
print("1",flag) flag = _escape_path_in_flag(target, flag) print("2",flag)
打印结果是这样的。
xmake project -k xcode checking for Xcode directory ... /Applications/Xcode.app checking for Codesign Identity of Xcode ... no checking for SDK version of Xcode for macosx (arm64) ... 14.5 checking for Minimal target version of Xcode for macosx (arm64) ... 14.5 1 -target 2 -target 1 arm64-apple-macos14.5 2 arm64-apple-macos14.5 1 -isysroot 2 -isysroot 1 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk 2 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk 1 -lz 2 -lz 1 { "-Wl,-exported_symbols_list", "build/.gens/xxx/macosx/arm64/release/rules/symbols/export_list.exp", __wrap_locked__ = true } 2 { "-Wl,-exported_symbols_list", "build/.gens/xxx/macosx/arm64/release/rules/symbols/export_list.exp", __wrap_locked__ = true } error: bad argument #1 to 'argv' (string expected, got table)
能正常生成cmake
error: bad argument #1 to 'argv' (string expected, got table)
The text was updated successfully, but these errors were encountered:
Bot detected the issue body's language is not English, translate it automatically.
Title: xmake project -k xcode reports an error after using export_list
Sorry, something went wrong.
No branches or pull requests
Xmake 版本
2.9.3
操作系统版本和架构
macOS 14.5 (23F79)
描述问题
我使用了
来导出函数,然后就不能生成xcode工程了,具体是cmake就生成失败,错误代码在这里。
xmake/xmake/plugins/project/cmake/cmakelists.lua
Line 973 in 9eb191f
我添加了2行调试。
打印结果是这样的。
期待的结果
能正常生成cmake
工程配置
附加信息和错误日志
error: bad argument #1 to 'argv' (string expected, got table)
The text was updated successfully, but these errors were encountered: