Closed evfemist closed 4 years ago
Update: This happens on iOS7, even in Simulator
If you remove the font styling, does it work? (i.e. is it font related?)
nope, but I have tried oldest version in cocoapods - 2.1 and same issue here, but earlier same code works. So this issue related to Xcode or Yosemite
Have spend some time again. Here what I found: Here is the test class which generates app freeze and kill. But if I remove first two lines or last two lines app works fine.
.test {
background-color: red;
border-radius: 3;
font-family: $button-text-font;
font-size: $button-text-size;
}
In the storyboard I have two viewControllers, first has 3 buttons, second has 2 buttons. All buttons has styleClass='test'. By tap on button in first controller - second controller appears modally. Issue reproduced if I show/hide controller several times. Here is the video: https://www.dropbox.com/s/8jexoz1oeq4kscx/FreezeIssue.mov?dl=0
I have a linke similiar to *{ font-family: $font-family-base; }
This started locking up startup with iOS 8.1 only. I'm building with XCode 6.0.1 on 10.9.4 I have other font-family entries such as
view {
font-family: $font-family-base;
}
This isn't locking up our app.
@JoeMatt It's not appropriate to use * { } with freestyle, that tries to style every single view type the app creates, even private views. It is never recommended to use this approach. Style your individual views by id or class.
On Mon, Oct 20, 2014 at 2:27 PM, Joe Mattiello notifications@github.com wrote:
I have a linke similiar to
- { font-family: $font-family-base; }
This started locking up startup with iOS 8.1 only. I'm building with XCode 6.0.1 on 10.9.4 I have other font-family entries such as
view { font-family: $font-family-base; }
This isn't locking up our app.
— Reply to this email directly or view it on GitHub https://github.com/Pixate/pixate-freestyle-ios/issues/153#issuecomment-59842702 .
@evfemist if you hit pause in the debugger when it locks up, what does it show?
@pcolton here is the debug video https://www.dropbox.com/s/a1s19b3kpehpbi4/PixateDebug.mov?dl=0 Seems like problem in +[UIView(PXStyling) updateStyles:recursively:] *video looks better if you save them to disk
I am using version 2.1.4 and I found that app could not be loaded on iPhone 4 with iOS 7 with "App failed to launch in time reason". Here is Time Profiler screenshot with the "button in storyboard" and "button scss" sceenshots. Unfortunately I didn't found exactly steps to reproduce. Would appreciate any help.