-
Notifications
You must be signed in to change notification settings - Fork 88
iOS Substitutions
Naming your file at the app or module directory level any of the below will substitute its contents into the described areas upon compilation for iOS.
Additional Objective-C code.
Additional Objective-C++ code.
C #define macros.
A list of frameworks to include when compiling, in the format -framework <your-framework>.
A list of framework paths to include when compiling, in the format -F<framework-path>
Additional Objective-C code that will be included in the main UIApplicationDelegate. This file is commonly used to override other methods of UIApplicationDelegate (excluding application:didFinishLaunchingWithOptions:, applicationWillResignActive:, applicationDidBecomeActive:, applicationDidEnterBackground:, applicationWillEnterForeground:, applicationWillTerminate:, and dealloc), as listed here.
Objective-C code to be executed in the main UIApplicationDelegate's override of application:didFinishLaunchingWithOptions:. This will be inserted before the call to trigger the EVENT_INIT event in Scheme. Its UIApplication* argument is named application and its NSDictionary* argument is named launchOptions.
XML that will be inserted into the app's Info.plist file under the key UIBackgroundModes; that is, it will be inserted as marked below by @HERE@.
<key>UIBackgroundModes</key>
<array>
@HERE@
</array>XML that will be inserted into the app's Info.plist file under the key UIRequiredDeviceCapabilities, similar to how IOS_xml_backgroundmodes is inserted.
XML that will be inserted into the app's Info.plist file under the <dict> tag. Entries will need a <key> entry followed by its value entry, commonly an <array>, a <dict>, or a <string>. For instance, in ShareVitalSigns, to add the URL schemes svs-rr, svs-rrtaps, and svs-rrate, we have the following in this file:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>org.ecemgroup.sharevitalsigns</string>
<key>CFBundleURLSchemes</key>
<array>
<string>svs-rr</string>
<string>svs-rrtaps</string>
<string>svs-rrate</string>
</array>
</dict>
</array>-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip