I have an application having two target, I want to define a macro having different value for different target.how can i do that? both are release version
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Each target has it’s own “Build settings” in Xcode, there you have the “Preprocessing”-category (Look for where ‘DEBUG=1’ is defined) where you can set custom macros that will be unique for the target.