Re: KIF launches app, but screen is black

75 views
Skip to first unread message

Tony Mann

unread,
Mar 11, 2015, 4:09:21 PM3/11/15
to kif-fr...@googlegroups.com
The app runs normally without KIF? Can you trace through the code and figure out how KIF is blocking your app from starting properly?

Tony

On Feb 23, 2015, at 10:32 AM, mikelupo via KIF iOS Automated Testing Framework <kif-fr...@googlegroups.com> wrote:

Hi there,
I'm taking KIF into use via cocoapods on an existing xcode project. This is the first time KIF has been used on this project.
The build completes and the app is installed. The app launches (I see the splash screen) but after the splash screen is timed out, the main screen that I expect to see does not appear. The screen is essentially black.
The expected viewDidLoad method is not called, but the dealloc method is indeed called. 

Has anyone experienced this issue and if so, what are the ways to resolve?

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups "KIF iOS Automated Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kif-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mike...@aol.com

unread,
Mar 13, 2015, 11:55:51 AM3/13/15
to kif-fr...@googlegroups.com
@Tony, it wasn't KIF. The app had a conditional preprocessor statement that was getting hit in the souce code of the app that I was testing.  That was the cause. 
Sorry for the confusion (and late reply)

Rachel

unread,
Jun 10, 2017, 12:39:52 PM6/10/17
to KIF iOS Automated Testing Framework
Hi Mike, I am currently having the same issue as you are where the app runs normally but once tests are started the simulator will show the splash screen followed by the black screen. Would you be able to give me more details on how you fixed your problem? Thank you!

Michael Lupo

unread,
Jun 10, 2017, 3:33:48 PM6/10/17
to kif-fr...@googlegroups.com
My problem was a developer issue. They were displaying a black screen in a particular instance when the unit test framework was detected. Since KIF is a unit test framework I was hitting that code in our app. Once we understood that we fixed it in our app. 
Hope that helps
Mike

Sent from my iPhone

Rachel

unread,
Jun 14, 2017, 2:45:16 AM6/14/17
to KIF iOS Automated Testing Framework
Thanks so much Michael! Turns out that was exactly the problem. 

Michael Lupo

unread,
Jun 14, 2017, 5:28:02 AM6/14/17
to kif-fr...@googlegroups.com
What are the chances of that happening to someone else? :)

Anthony Mann

unread,
Jun 14, 2017, 1:42:50 PM6/14/17
to kif-fr...@googlegroups.com
Based on stats so far...100%!

Tony

mike...@aol.com

unread,
Jun 14, 2017, 2:12:30 PM6/14/17
to kif-fr...@googlegroups.com
I shouldn't have asked! LOL

Rachel

unread,
Jun 14, 2017, 7:51:17 PM6/14/17
to KIF iOS Automated Testing Framework
Looks like developers think alike! :D
Reply all
Reply to author
Forward
0 new messages