From the f.lux website:-
Sideloading f.lux on iOS with Xcode 7
In Xcode 7, you can install apps directly to your iOS device with a free account from Apple. So we decided to make a beta version of f.lux for people to try.
It’s a few more steps than installing the app store, but there are plenty of harder things even on Pinterest. So, here’s how to get f.lux installed on your iOS device.
- Mac, OSX 10.10 or greater
- 1 installed version of Xcode 7
- 1 Developer account (use your AppleID)
- 1 Download, f.lux for iOS, unzipped
First, mix the build ingredients together. Batter may be slightly lumpy.
- Open the “iflux.xcodeproj” project in Xcode
- Open Xcode > Preferences > Accounts and enter your iCloud or developer credentials
- Under Targets > iflux > General > Identity, add a word to the end of the Bundle Identifier to make it a unique name
- In the same place, under Identity > Team, select your iCloud account or Developer profile
While the batter chills, connect your iPhone or iPad and load the iflux build:
- From the Xcode Product menu, choose Destination and select your iOS device (f.lux doesn’t work in a Simulator)
- Push Cmd-R when you’re ready to have f.lux
- When you first run, you’ll be prompted to open Settings > General > Profile on your device, and trust your developer account
- Run again, and allow location and notifications (things don’t work so well without both of these)
By loading an app this way, there are no automatic updates or bug fixes, so this version does a daily update check. If one is available, a message will appear at the bottom of the app, so you can stay up to date when we make fixes.