The screen goes black after flux opens
After launching f.lux I get a black screen
xcode: Version 7.1.1 (7B1005)
iphone 6 plus: 9.1 (13b143)
Macbook air: 10.11.1 (15B42)
Black screen after brief splash screen as well. No prompts either, but home button returns to home screen.
iPhone 5 and iPad Air 2
iOS 9.1 (13B143)
Xcode Version 7.1 (7B91b)
Macbook Pro mid 2012
OSX Yosemite 10.10.5 (14F1021)
On an iPad Air (1) with Xcode 7.1.1 (7B1005)/IOS 9.1 (13B143)/OSX 10.11.1
.I built and reinstalled it and get f.lux to open - but it doesn't work. I press preview or darkroom and the display brightness/color does not change in any way. I press Disable and it greys out the settings, and press Enable to re-display the settings - but they don't seem to have any effect
2015-11-12 07:36:55.081 iflux[642:114264] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
"<NSLayoutConstraint:0x154545530 V:|-(20)-[UIInputSetContainerView:0x154519c60] (Names: '|':UITextEffectsWindow:0x15453edb0 )>",
"<NSLayoutConstraint:0x154602540 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x154519c60] (Names: '|':UITextEffectsWindow:0x15453edb0 )>"
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x154545530 V:|-(20)-[UIInputSetContainerView:0x154519c60] (Names: '|':UITextEffectsWindow:0x15453edb0 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2015-11-12 07:36:55.097 iflux[642:114264] Got display 55017000
2015-11-12 07:36:55.097 iflux[642:114264] Got table with 1003
2015-11-12 07:36:55.097 iflux[642:114264] 0.000000 0.000000 1024.000000 768.000000
2015-11-12 07:36:55.215 iflux[642:114264] f.lux setup
2015-11-12 07:36:55.659 iflux[642:114264] <CATransformLayer: 0x154666050> - changing property masksToBounds in transform-only layer, will have no effect
2015-11-12 07:36:55.660 iflux[642:114264] <CATransformLayer: 0x154664270> - changing property masksToBounds in transform-only layer, will have no effect
2015-11-12 07:36:55.661 iflux[642:114264] <CATransformLayer: 0x15467e090> - changing property masksToBounds in transform-only layer, will have no effect
herf last edited by
@peter2006 this happens when your location isn't found.
we should add an error..
ok i enabled location and notification It's OK thanks but i dislike the location obligatory
So, on iOS 9.1 with an iPhone 6, I also only get a black screen after the loading screen, but:
In the App settings, I can only set the permissions for background updates. It doesn´t show up in privacy > location, nor in the notifications area of the settings. Deployment Target in xCode 7.1.1 was set to 9.1 and iPhone, and permissions for my "developer" profile were given in profiles.
iPhone 6 (iOS 9.1 build 13B143), trying to install via Xcode (7.1.1 build 7B1005).
After pressing Cmd+R it starts running on the device, but on the Xcode it opens main.m and highlights the line
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
It also shows something I think that is the log:
2015-11-12 21:37:03.895 iflux[10193:4804126] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Containers/Bundle/Application/F14BBACA-DBB9-482F-B560-083261E86C4A/iflux.app> (loaded)' with name 'LaunchScreen''
*** First throw call stack:
(0x185440f48 0x199ff3f80 0x185440e90 0x18ae98c88 0x18ae9b408 0x18ac7ce18 0x18aa48fc4 0x18ac7bcb8 0x18ac78f50 0x18f25f7c4 0x18f25fb44 0x1853f8544 0x1853f7fd8 0x1853f5cd8 0x185324ca0 0x18aa421c8 0x18aa3cffc 0x1000ecaf8 0x19a8428b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
Sorry, but I'm not very keen in programming. What's funny is that yesterday I have successfully installed f.lux on my iPad 4 running the same build of iOS via the same Xcode version.
I have an iPhone 5 running 9.1 and I also get the black screen after launch. By mistake I chose not to let it use my location, but now there is no option to allow it in Settings. And deleting, recompile and reinstall doesn't help unfortunately.
Besides that, thank you f.lux team for letting iOS users use the app! My eyes are looking forward to it. :-)
I've got the exact same issue here. It works great on my iPhone 5S running iOS 9.1, but it fails to open (it shows the splash screen and goes to the black screen already mentioned) on my iPad 3 running iOS 9.1 as well. I didn't fail to give permission to anything or to trust my AppleID profile on Settings.
I compiled it and sideloaded it on XCode 7.1 running on OS X 10.11.1 so, as you can see, I've got everything updated to the latest versions…
Fortunately, I don't use my iPad much at night anyway (in fact, it's so heavy that I haven't used it much anymore since I've bought my iPhone), but it'd be nice to have f.lux on all my devices. I really suspect that exposure to backlights has affected my sleeping patterns lately, and f.lux, if it actually works, will be a godsend.
I managed to successfully load this app to my iPad 3 (9.1) on my first try. No pop up requests for location or notifications were made, they were turned on automatically. Also, no prompt for security clearance to make the app open, but I knew to manually accept my profile.
Unfortunately, when I attempted to load it to my iPhone 6 (9.1) Xcode threw its toys out of the pram. It crashed with a multitude of errors on two separate installs and I had to delete and re-download the files from here, twice. On my third go I got the app onto my iPhone, but after the splash page it went black. I could exit the app, no problem. I have deleted it and tried twice more. Each time I am left with the black screen and no explanation. I am looking forward to the fix.
Reset everything, started from scratch from a clean download from this site... sideloaded onto my iPhone 6 again. Still no joy. :s
Oh, and using Xcode 7.1.1 (7B1005), downloaded today. That is three times I've successfully side loaded the app onto my phone, only for it to go black after the splash screen. I really am keen to get the app working you see!
Device: iPhone 5C
Firmware: iOS 9.1 (13B143)
Computer: MacBook Air El Capitan Version 10.11.1
Xcode: Version 7.1.1 (7B1005)
Tried 3 times but still get the black screen. No chance to allow/deny prompts. The developer profile is trusted. There is no options in the App Settings to allow location or notifications.
I successfully loaded f.lux on my iPhone 6 Plus and friend's iPhone 5S, both running iOS 9.1, using the same computer and version of Xcode. But the my friend's iPhone 5C can't get past the black screen.
+1 I get this on Xcode 7.1.1 on an old iPhone 5S running iOS 9.1 built on OSX El Capitan 10.11.1
I was finally able to successfully install on my iphone 6 plus.
here's what I did:
Command+R and it installed correctly.
I hope this helps.
That worked for me too: Product-> Clean
cklosowski last edited by
I was seeing this same behavior on iPhone 6, iOS 9.2 Beta 3 and Xcode Beta 7.2. I had to do the Product > Clean, then the build worked perfectly!
richardjohn22 last edited by richardjohn22
The Product> Clean trick worked for me too. Now running on both my devices.
It is not running well, though, and during the evening it would not accept my choice of colour temperature... had to disable :(
Do you think we will still get any fixes for this, or is it dead in the water now? Such a pity
EDIT: That is the broken 'bedtime mode' kicking in. 'Set to dawn' is the advised fix
Scott Newton last edited by
I loaded f.lux on my iphone 6 running iOS 9.1 to test and ensure that this worked before I un-jailbroke my iPad to update it to 9.1. Worked flawlessly on iPhone, but experienced the black screen after install issue when loading on iPad.
tl;dr - Doing product -> clean (⇧⌘k) then rebuilding (⌘r) fixed the issue.
I had this experience today, I installed iFlux on my old iPhone 6, then switched to my new iPhone 6s and installed it receiving the same issue posted.
After verifying the install, reinstalling, trying an alternate profile and verifying the location services I did the following.
Create a unique copy of iFlux XCode code project for the new device and go through the process again.
This fixed my problem.
So the 4 things that need to be verified for the install to work properly.
- ensure that you are using iOS version 9.1 (or later)
- trust the application installer
- enable location services
- Create a unique copy of the iFlux XCode code project for each device you plan to installing it on. Then use that code project instance to install on the new device ... note: you may need to use unique names for each version (I did this by default), I may have also cleaned and rebuilt the solution