How can I work with code completion in Xcode 4 when I create a new project
using a Template and have a static library.

I created a new template that uses static library but when I create a new
project the code completion doesn't work for static library. I can build and
run the new project well.

This is an example how to add static library in a template with XCode 4.

   <key>Configurations</key>

 <dict>

  <key>Debug</key>

 <dict>

  <key>HEADER_SEARCH_PATHS</key>

   <string>/Users/xxx/xxx/headers</string>

  <key>LIBRARY_SEARCH_PATHS</key>

  <string>/Users/xxx/xxx/lib/4.2/Debug-iphonesimulator</string>

   <key>OTHER_LDFLAGS</key>

  <string>-all_load -lxml2 -lMyLib</string>

 </dict>

  <key>Release</key>

  <dict>

   <key>HEADER_SEARCH_PATHS</key>

     <string>/Users/xxx/xxx/headers</string>

   <key>LIBRARY_SEARCH_PATHS</key>

    <string>/Users/xxx/xxx/lib/4.2/Debug-iphonesimulator</string>

   <key>VALIDATE_PRODUCT</key>

    <string>YES</string>

   <key>OTHER_LDFLAGS</key>

    <string>-all_load -lxml2 -lMyLib</string>

  </dict>

 </dict>

    Thanking you in advance.
-- 
Guillermo Moral
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to