Tagged: compile RSS Toggle Comment Threads | Keyboard Shortcuts

  • Sujith Krishnan 11:57 am on December 2, 2010 Permalink | Reply
    Tags: compile, Compile Sources, copy Bundle Resources, Xcode   

    Excluding file from compilation in Xcode 

    By default, when you create a new file or import a file into Xcode, if the file type is recognized as a source file (.c, .m .js, etc), the file is added to the Compile Sources folder in the application target.
    You may not always prefer this default action – for example, if a JavaScript file is imported, Xcode does not know what to do with this file type so a compile warning is generated

    Read More

     
    • Fadi 1:51 pm on December 29, 2010 Permalink | Reply

      Hello Sujith Krishnan,

      can you please contact me on my email f.naaji@mnmtunes.com if you interested in a job.

      regards,
      Fadi

  • Sujith Krishnan 5:52 am on February 6, 2009 Permalink | Reply
    Tags: c, compile, conditional compilation, , ipod, objective c   

    Conditional compilation – easy way !! 

    I achieved this by adding a #define in .pch file for each project.

    and do #import based on that definition using #ifdef

    This is the pretty cool and easy way  if your are sharing single source code set across multiple target/build/project

    Just make use of different .pch file for different builds.

    You want to create <n>  number of .pch file for <n> targets. Assign corresponding  .pch file for each target’s info


     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel
Follow

Get every new post delivered to your Inbox.