Is there a way to run XCTests without actually launching my app? The app’s startup logic is interfering with my test scenario.
@danielpunkass Cocoa likes to call NSUserDefaults, which doesn’t like it when there’s no main .app bundle with an identifier.
-
-
@mjtsai@danielpunkass NSUserDefaults doesn't like it when there's no bundle ID. A bundle ID can be given to unbundle apps. - View other replies
-
-
@danielpunkass My code doesn’t depend on those, but framework code does. Tried swizzling to break dependencies but ran into trouble. - View other replies
-
@mjtsai Hmph. Well if you got as far as trying to swizzle then I trust there are difficult obstacles to overcome.
-
-
@mjtsai@danielpunkass I ocmock that class anyway.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Matt Drance
Daniel Jalkut
Michael Tsai
Rosyna Keller
Steven Woolgar