Code Monkey home page Code Monkey logo

Comments (7)

lukeredpath avatar lukeredpath commented on July 2, 2024

Could you post your entire spec source (feel free to leave out non relevant specs as ling as the crash still occurs) and I will investigate. Thanks.

from kiwi.

samanthamjohn avatar samanthamjohn commented on July 2, 2024

https://github.com/samjohn/kiwi-label-explosion

thanks!

from kiwi.

allending avatar allending commented on July 2, 2024

Probably Kiwi. I'll check.

On Jun 26, 2011, at 5:42 AM, [email protected] wrote:

I added a UILabel to one of my views and although it worked in the iPhone simulator it blew up in kiwi halting the thread. It happened on the line:

UILabel *label = [[[UILabel alloc] init] autorelease];

I narrowed it down to the init, as [UILabel alloc] did not cause the app to crash.

Is this a bug in kiwi or is there something I've failed to load? As far as I know it did not crash on init of other UIKit objects.

Thanks

Reply to this email directly or view it on GitHub:
https://github.com/allending/Kiwi/issues/33

from kiwi.

lukeredpath avatar lukeredpath commented on July 2, 2024

I was able to reproduce this using a standard SenTestCase so I'm not sure it's related directly to Kiwi.

It would be interesting to know what the problem is though.

from kiwi.

samanthamjohn avatar samanthamjohn commented on July 2, 2024

Hmm, yeah I will let you know if I figure it out. Thanks for looking into it!

from kiwi.

lukeredpath avatar lukeredpath commented on July 2, 2024

As a pointer, this definitely seems to be related to the difference between what Apple used to distinguish as "logic tests" which were run by a script and "application tests" which were run by injecting the bundle into the app.

This seems to have all changed in Xcode 4 but I can't figure out how "application tests" are supposed to run. Searching on the Apple dev forums reveals others having similar issues with UIKit causing test suite crashes.

from kiwi.

Crebs avatar Crebs commented on July 2, 2024

Did you ever find out a solution to this. I'm running into that same issue. When I init a UILabel in a unit test - I get a crash.

from kiwi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.