Group Group Group Group Group Group Group Group Group

Challenge: Multiple Devices | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/8458722-testing-in-ios/lessons/21

I’m following your work on this challenge, and when I run this on my simulator, I my test fails because portrait mode cannot be detected.

EX: My Debugger

" Printing description of isPortrait:

(Bool) isPortrait = <variable not available>

(lldb)"

Thanks!

Sounds strange! Where are you printing the description?

I’m at the same point where you are stopping.

The only idea I have is that you’re using a different code optimization level than I was. But I changed that a few times and I still couldn’t reproduce the problem.

Due to indentation difference, I know that you’re not using the exact final project from the materials. I recommend comparing your version with that one, using Git. If you need help with that, upload it and I’ll have a look!