Skip to content

Instantly share code, notes, and snippets.

@steve228uk
Created November 13, 2017 12:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steve228uk/494a9e531a7fd838b77bbd3f9589d580 to your computer and use it in GitHub Desktop.
Save steve228uk/494a9e531a7fd838b77bbd3f9589d580 to your computer and use it in GitHub Desktop.
//
// SampleCode.xcconfig
//
// The `SAMPLE_CODE_DISAMBIGUATOR` configuration is to make it easier to build
// and run a sample code project. Once you set your project's development team,
// you'll have a unique bundle identifier. This is because the bundle identifier
// is derived based on the 'SAMPLE_CODE_DISAMBIGUATOR' value. Do not use this
// approach in your own projects—it's only useful for sample code projects because
// they are frequently downloaded and don't have a development team set.
SAMPLE_CODE_DISAMBIGUATOR=${DEVELOPMENT_TEAM}
// This should then be used in the Info.plist
Product Bundle Identifier = com.example.apple-samplecode.${PRODUCT_NAME}${SAMPLE_CODE_DISAMBIGUATOR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment