Skip to content

Instantly share code, notes, and snippets.

@MotiurRahman
Created September 24, 2019 03:25
Show Gist options
  • Save MotiurRahman/5faec627d14c302065176d6410bbd82a to your computer and use it in GitHub Desktop.
Save MotiurRahman/5faec627d14c302065176d6410bbd82a to your computer and use it in GitHub Desktop.
ModuleFile
//
// PLACE ANY BUILD DEFINITIONS IN THIS FILE AND THEY WILL BE
// PICKED UP DURING THE APP BUILD FOR YOUR MODULE
//
// see the following webpage for instructions on the settings
// for this file:
// https://developer.apple.com/library/content/featuredarticles/XcodeConcepts/Concept-Build_Settings.html
//
//
// How to manually add a Framework (example)
// Note: Titanium SDK 6.2.2+ detects and links frameworks automatically
//
// OTHER_LDFLAGS=$(inherited) -framework Foo
//
// Adding a framework for a specific version(s) of iOS, e.g iOS 11:
//
// OTHER_LDFLAGS[sdk=iphoneos11*]=$(inherited) -framework Foo
// OTHER_LDFLAGS[sdk=iphonesimulator11*]=$(inherited) -framework Foo
//
//
// How to add a compiler define:
//
// OTHER_CFLAGS=$(inherited) -DFOO=1
//
//
// IMPORTANT NOTE: always use $(inherited) in your overrides
//
OTHER_LDFLAGS=$(inherited) -framework Foundation -framework HealthKit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment