f.lux

    f.lux forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    The screen goes black after flux opens

    iOS
    29
    43
    47769
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      keeper last edited by keeper

      The same here (iPad mini, iOS 9.1, Xcode 7.1.1, non-retina, MD528FD/A). Screen simply goes blank and Xcode displays the errors popsmisdeal posted.

      1 Reply Last reply Reply Quote 0
      • C
        chris048 last edited by

        I'm getting the black screen too. No prompts or anything.

        iPhone 6 Plus
        iOS 9.2 beta 3
        OS X El Capitan 10.11 Beta (15A278b)
        Xcode Version 7.2 beta (7C62)

        1 Reply Last reply Reply Quote 0
        • T
          ThomH last edited by

          I have this issue too on an iPad 3 (so Retina iPad) with iOS 9.1. I compiled with Xcode 7.1 on El Capitan. Just downloaded the project afresh, so no changes made. I never got any pop-ups on my iPad asking for any permissions. Flux is also not showing up in any of the permission views in Settings. Just first run it went black and never did anything besides showing the splash screen briefly. On my iPhone 5S with iOS 9.1 it works great by the way, so nice job!

          I couldn't properly debug the app, but when I used Xcode's Capture View Hierarchy on Device functionality, it opened a view where it said Thread 1: signal SIGSTOP. It was pointing at the line "0x2aa14f14 <+144>: mov r0, r5" in UIApplicationMain. I'm not sure if this line is easy for you to identify, so I'll post a subset of the total view:

          0x2aa14ef4 <+112>: bl 0x2ac4b3f4 ; _UIApplicationMainPreparations
          0x2aa14ef8 <+116>: movw r0, #0x6e34
          0x2aa14efc <+120>: movt r0, #0x1049
          0x2aa14f00 <+124>: movw r2, #0x167a
          0x2aa14f04 <+128>: movt r2, #0x110b
          0x2aa14f08 <+132>: add r0, pc
          0x2aa14f0a <+134>: add r2, pc
          0x2aa14f0c <+136>: ldr r1, [r0]
          0x2aa14f0e <+138>: ldr r0, [r2]
          0x2aa14f10 <+140>: blx 0x2b31482c ; symbol stub for: ceilf$shim
          0x2aa14f14 <+144>: mov r0, r5 <----------- SIGSTOP signal pointing at this line.
          0x2aa14f16 <+146>: blx 0x2b31487c ; symbol stub for: objc_getProperty$shim
          0x2aa14f1a <+150>: mov r0, r4
          0x2aa14f1c <+152>: blx 0x2b31487c ; symbol stub for: objc_getProperty$shim
          0x2aa14f20 <+156>: movs r0, #0x0
          0x2aa14f22 <+158>: pop.w {r8, r10}
          0x2aa14f26 <+162>: pop {r4, r5, r6, r7, pc}
          0x2aa14f28 <+164>: movw r0, #0xe64
          0x2aa14f2c <+168>: movt r0, #0x110b
          0x2aa14f30 <+172>: movw r1, #0x3776
          0x2aa14f34 <+176>: movt r1, #0xeae
          0x2aa14f38 <+180>: add r0, pc
          0x2aa14f3a <+182>: add r1, pc
          0x2aa14f3c <+184>: blx 0x2b315dac ; symbol stub for: -[UILayoutGuide setIdentifier:]

          I hope that helps :) If you need any more info, please ask.

          1 Reply Last reply Reply Quote 0
          • S
            strider72 last edited by

            Worked great on my iPad Mini, but when I installed in my iPhone 5 or my wife's iPhone 5s, I got the same "blank screen on launch". No prompts at all — it briefly shows the Flux splash screen, then goes to black.

            Fortunately I can just press the Home button to get back to normal function of the iPhone. But no-go on F.lux itself.

            1 Reply Last reply Reply Quote 0
            • M
              moedavis last edited by

              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)

              1 Reply Last reply Reply Quote 0
              • M
                markis last edited by

                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)

                1 Reply Last reply Reply Quote 0
                • P
                  peter2006 last edited by peter2006

                  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.
                  Try this:
                  (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 1 Reply Last reply Reply Quote 0
                  • herf
                    herf @peter2006 last edited by

                    @peter2006 this happens when your location isn't found.
                    we should add an error..

                    1 Reply Last reply Reply Quote 0
                    • P
                      peter2006 last edited by

                      @herf
                      ok i enabled location and notification It's OK thanks but i dislike the location obligatory

                      1 Reply Last reply Reply Quote 0
                      • W
                        wagninger last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • M
                          mrm99 last edited by

                          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
                          (lldb)

                          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.

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rimaraf last edited by

                            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. :-)

                            1 Reply Last reply Reply Quote 0
                            • M
                              mainyehc last edited by mainyehc

                              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.

                              1 Reply Last reply Reply Quote 0
                              • R
                                richardjohn22 last edited by

                                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.

                                1 Reply Last reply Reply Quote 0
                                • R
                                  richardjohn22 last edited by

                                  Reset everything, started from scratch from a clean download from this site... sideloaded onto my iPhone 6 again. Still no joy. :s

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    richardjohn22 last edited by

                                    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!

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mirrored last edited by

                                      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 Reply Last reply Reply Quote 0
                                      • X
                                        xer0x last edited by

                                        +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

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          moedavis last edited by

                                          I was finally able to successfully install on my iphone 6 plus.

                                          here's what I did:

                                          Product-->Clean
                                          Command+R and it installed correctly.
                                          I hope this helps.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            sdavissm last edited by

                                            That worked for me too: Product-> Clean
                                            Command+R

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright © 2014 NodeBB Forums | Contributors