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

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

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744660530a4586434.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信