最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ios - ERROR - warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than

programmeradmin2浏览0评论

I have a Titanium iOS app and when I try to build it with VSCode it gives me these kind or errors:

[ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'DEPLOYTYPE=production')

[ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'DISABLE_TI_LOG_SERVER=1')

[ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'TI_VERSION=12.6.3')

[ERROR] 2025-03-14 12:54:47.042 xcodebuild[4541:6117275] Writing error result bundle to /var/folders/6x/j0195v2563lbc4s7w34c6kcc0000gn/T/ResultBundle_2025-14-03_12-54-0047.xcresult

[ERROR] xcodebuild: error: The file “BuildProductsPath” couldn’t be opened because there is no such file.: The operation couldn’t be completed. No such file or directory

Do you have an idea about why I get the error or what should I check?

I have a Titanium iOS app and when I try to build it with VSCode it gives me these kind or errors:

[ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'DEPLOYTYPE=production')

[ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'DISABLE_TI_LOG_SERVER=1')

[ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'TI_VERSION=12.6.3')

[ERROR] 2025-03-14 12:54:47.042 xcodebuild[4541:6117275] Writing error result bundle to /var/folders/6x/j0195v2563lbc4s7w34c6kcc0000gn/T/ResultBundle_2025-14-03_12-54-0047.xcresult

[ERROR] xcodebuild: error: The file “BuildProductsPath” couldn’t be opened because there is no such file.: The operation couldn’t be completed. No such file or directory

Do you have an idea about why I get the error or what should I check?

Share Improve this question edited Mar 14 at 11:22 Kiryl Famin 7204 silver badges19 bronze badges asked Mar 14 at 11:07 tsusertsuser 92 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

As mentioned in the other post:

Please build with -l trace and check that log for errors to find the real issue.

Make sure your iOS modules are up-to-date. Check https://www.fromzerotoapp/use-modules-in-your-app/ how to find the versions on Github or how to rebuild them yourself if needed.

The error is a general error and the real issue might be hidden in the trace log.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论