简体   繁体   English

如何使用xcodebuild命令行工具在Windows系统中构建iOS项目

[英]how to build iOS project in windows system using xcodebuild command line tool

I want to build my project in windows system using xcodebuild command line tool 我想使用xcodebuild命令行工具在Windows系统中构建我的项目

xcodebuild build-for-testing test-without-building -project /xxx/xxxx/xx/xxxx.xcodeproj -scheme xxxx -destination id=UDIDOfDevice xcodebuild测试构建测试,无需构建-project /xxx/xxxx/xx/xxxx.xcodeproj -scheme xxxx -destination id = UDIDOfDevice

but it gives error : 'xcodebuild>' is not recognized as an internal or external command. 但出现错误:'xcodebuild>'无法识别为内部或外部命令。

Same command work in macOS 在macOS中使用相同的命令

xcodebuild is packaged with Xcode, which is a macOS-only app. xcodebuild与Xcode打包在一起,这是一个仅限macOS的应用程序。 Thus, xcodebuild is also macOS-only. 因此, xcodebuild也仅适用于macOS。 You cannot build an iOS app on Windows with xcodebuild 您无法使用xcodebuild在Windows上构建iOS应用

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

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