• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Proper way to set up constants when building an iOS framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proper way to set up constants when building an iOS framework


  • Subject: Proper way to set up constants when building an iOS framework
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 12 Apr 2016 12:33:26 -0400

Do you guys have any tips on setting up a constants file when building a framework?

I just moved in our SecurityConstants.h and KeychainWrapper, went to build my framework and now it's full of duplicate symbol build errors in the .o files.

All the constants are NSString * const and defined in a .h file, which is is included where needed.

Are there special approaches that I need to take when working with a framework on iOS that don't cause issues within a standalone app that would prevent this?

Thanks in advance.

Alex Zavatone
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Proper way to set up constants when building an iOS framework
      • From: Charles Jenkins <email@hidden>
  • Prev by Date: Re: WKWebView and cookies
  • Next by Date: Re: Proper way to set up constants when building an iOS framework
  • Previous by thread: Re: WKWebView and cookies
  • Next by thread: Re: Proper way to set up constants when building an iOS framework
  • Index(es):
    • Date
    • Thread