anthonya1999/GoodNight

Force Close after using newest Version?

Closed this issue · 5 comments

Hi,

the app force closes if I want to activate one of the 4 Adjustments.
It was working fine the last days. I have updated the source and now it force closes. I discarded all changes in Xcode and deleted the app and used git pull, but it still crashes :/

Can I get the old version (maybe 2 days ago)?

Thanks in advance!

I am experiencing the same issue and came to report it as well.

Turning any of the adjustments on or off (except for White Point when no other adjustments are enabled) causes a crash in recent changes.

Running latest iOS 9.2 13C75.

What iOS version are you using? What devices?
Could you run the version from xcode and when it crashes give me the output from the console window in the lower right corner? (If the console is not visible go to "View -> Debug Area -> Activate Console" or hit "Shift+Cmd+C"), plus tell me what exactly you did when this crash occurred.

iPhone 6S on iOS 9.2

After app started, I tapped on Temperature and then on Enabled to enable it and then it crashed (force close).

Console Output:
2015-12-30 13:47:42.998 GoodNight[2659:958404] *** Assertion failure in +[GammaController setGammaWithTableAndRed:green:blue:], /Users/hi/Documents/GoodNight/GoodNight/GammaController.m:130
2015-12-30 13:47:42.999 GoodNight[2659:958404] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: file != NULL'
*** First throw call stack:
(0x181d85900 0x1813f3f80 0x181d857d0 0x1826f899c 0x10006dda8 0x10006d5b8 0x10006e29c 0x10006facc 0x18272c334 0x18267f100 0x18266f348 0x18272e728 0x1000e1bb0 0x1000ee6c8 0x1000e58a0 0x1000f07e0 0x1000f04d8 0x1819ed470 0x1819ed020)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

@samluxh This is the same error as in #63 and is a problem with your configuration.
Please check, that all IDs (BundleIdentifier for App and Widget as well as all references to AppGroup IDs) are set up correctly!

It is working now, thank you. I had to change App Groups.
Steps 8-13 in https://github.com/anthonya1999/GoodNight/blob/master/Help/README.md

Can be closed :)