The screen goes black after flux opens
-
It seems like when xcode installs the app and than runs the app , the screen goes black(Of the app). But if we cancel the Running process, it works great
-
Same thing happened to me on my iPhone 6S on the latest iOS. I re-downloaded the Xcode project and tried again. It worked. Good luck, unique1o1!
P.S. I also changed target build to iPhone and 9.1. Dunno if that helped me get a working version.
-
deleting from my iPad, cleaning project in Xcode and rebuilding fixed this for me.
-
Anyone who gets this to happen twice in a row, please post details (Xcode version, iOS version, etc.) Want to fix it!
-
Happened to me twice in a row. Works great on my iPhone, but having trouble on iPad.
Xcode 7.1.1 (7B1005)
iPad mini 2 iOS 9.1
Mac running 10.11.1 -
This is non-retina? Wondering if the constraints are blowing up somewhere for that screen.
-
No, it's retina.
-
Update - I had not fully deleted the previous version and two f.lux apps were present on the iPhone 5s. One worked and one didn't. Deleted the broken one and everything works fine now. Also saw f.lux team mention below that the problems I experienced with the app were related to the app not finding it's location. Very happy to finally have f.lux.
On an iphone 5s I first got the black screen. Then I rebuilt 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.
It worked just fine on my iPhone 6s
-
Don't work on an iphone4 with iOS 7.1.2 Xcode 7.0.1
install is ok but when running black screen and in Xcode trace2015-11-11 18:17:37.557 iflux[457:60b] -[UIApplication registerUserNotificationSettings:]: unrecognized selector sent to instance 0x14d91d50
2015-11-11 18:17:37.569 iflux[457:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIApplication registerUserNotificationSettings:]: unrecognized selector sent to instance 0x14d91d50'
*** First throw call stack:
(0x2fb8ef83 0x3a33fccf 0x2fb92917 0x2fb91203 0x2fae0768 0xf263b 0xf13d7 0x3241b587 0x3241aedb 0x3241556b 0x323b16e9 0x323b0851 0x32414ca9 0x349c9aed 0x349c96d7 0x2fb59a67 0x2fb59a03 0x2fb581d7 0x2fac2ebf 0x2fac2ca3 0x32413ed1 0x3240f14d 0xf07ef 0x3a84cab7)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)libsystem_kernel.dylib`__pthread_kill:
0x3a9021e8 <+0>: mov r12, #328
0x3a9021ec <+4>: svc #0x80
-> 0x3a9021f0 <+8>: blo 0x3a902208 ; <+32>
0x3a9021f4 <+12>: ldr r12, [pc, #0x4] ; <+24>
0x3a9021f8 <+16>: ldr r12, [pc, r12]
0x3a9021fc <+20>: b 0x3a902204 ; <+28>
0x3a902200 <+24>: bicseq lr, r5, r0, lsr #28
0x3a902204 <+28>: bx r12
0x3a902208 <+32>: bx lr -
@peter2006 This is why it says iOS8+.
-
Anyone running on iOS9 get a stack trace or an error log?
thanks...
-
@herf Here you go. Is that what you're asking?
-
Check dependencies
Warning: Multiple build commands for output file /Users/~/Library/Developer/Xcode/DerivedData/iflux-gltbsggclfzfoqacthmajufhcgpg/Build/Products/Debug-iphoneos/iflux.app/iflux -
ProcessInfoPlistFile /Users/~/Library/Developer/Xcode/DerivedData/iflux-gltbsggclfzfoqacthmajufhcgpg/Build/Products/Debug-iphoneos/iflux.app/Info.plist Info.plist
cd /Users/~/Documents/f.lux-xcode-master
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-infoPlistUtility /Users/~/Documents/f.lux-xcode-master/Info.plist -genpkginfo /Users/~/Library/Developer/Xcode/DerivedData/iflux-gltbsggclfzfoqacthmajufhcgpg/Build/Products/Debug-iphoneos/iflux.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -requiredArchitecture arm64 -o /Users/~/Library/Developer/Xcode/DerivedData/iflux-gltbsggclfzfoqacthmajufhcgpg/Build/Products/Debug-iphoneos/iflux.app/Info.plist
warning: User supplied UIDeviceFamily key in the Info.plist will be overwritten. Please use the build setting TARGETED_DEVICE_FAMILY and remove UIDeviceFamily from your Info.plist.
- Validate /Users/~/Library/Developer/Xcode/DerivedData/iflux-gltbsggclfzfoqacthmajufhcgpg/Build/Products/Debug-iphoneos/iflux.app
cd /Users/~/Documents/f.lux-xcode-master
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PRODUCT_TYPE=com.apple.product-type.application
builtin-validationUtility /Users/~/Library/Developer/Xcode/DerivedData/iflux-gltbsggclfzfoqacthmajufhcgpg/Build/Products/Debug-iphoneos/iflux.app
warning: All interface orientations must be supported unless the app requires full screen.
-
-
I have the same issue. I installed it on my own iPhone 6 running iOS 9.1 without a problem but when trying to install it on my friend's iPhone 6 running iOS 9.1, when running f.lux all I get is a dark screen. Also, XCode (7.1.1) then jumps to the following: http://i.imgur.com/WCayNx9.png
I don't know where I can find an error log if at all?
-
Wondering: did you happen to say 'no' to any prompts like location?
This may mean the black screen is a crash and people are staying there because they're running in Xcode.
-
I didn't even get any prompts, right when I start the flux app, the screen turns dark and nothing happens.
-
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.
-
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) -
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.
-
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.
-
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)