Manuel_Rodrigues
Manuel_Rodrigues

Reputation: 560

Titanium app gives error about Swift flags when trying to run the project

I have a Titanium app for iOS. So far It was working ok, but suddenly it started giving me this errors:

[ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'DEPLOYTYPE=development') [ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'LOG__ID=e06779ed-4e79-4f3a-84d0-ab3d79067099') [ERROR] warning: conditional compilation flags do not have values in Swift; they are either present or absent (rather than 'DEBUG=1') [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.1.2') [ERROR] ** BUILD FAILED ** [ERROR] The following build commands failed: [ERROR] Ld /Users/myuser/Documents/Appcelerator_Studio_Workspace/myProject/build/iphone/build/Products/Debug-iphonesimulator/myProject.app/myProject normal (in target 'myProject' from project 'myProject') [ERROR] (1 failure) Process exited with 1

I have searched in my projects build folder in the .xcodeproj file for these flags and have found them. I have tried to edit them, but every time I try to run my project the file gets recompiled and the flags ar back again.

How can I solve that problem?

Thanks

Upvotes: 1

Views: 237

Answers (1)

miga
miga

Reputation: 4055

Please build your app with -l trace and search for errors generated in those logs. The real error is above that block.

Did you update Xcode to 14.3?

In case you use iOS modules make sure they are up to date.

Upvotes: 1

Related Questions