Search results for

LLDB crash

29,555 results found

Post

Replies

Boosts

Views

Activity

Reply to Watchkit app hangs (spins forever) - activePlugInForIdentifier: returned nil for application
Update:I've stripped down the application to a single page with a label. No assets. No network requests.Again, it launches fine with local builds and spins forever and eventually crashes with enterprise builds.I checked out the logs and sure enough there is an error:Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 The operation couldn’t be completed. (Cocoa error 4097.) (connection to service named com.***.watchkitextension) <Notice>: (Error) WatchKit: <SPCompanionAppServer.m __51-[SPCompanionAppServer sendToRemoteInterface:call:]_block_invoke519:914> activePlugInForIdentifier: returned nil for application com.***.watchkitappI've googled the error code quite a bit but nothing concrete has surfaced.Anyone @ Apple have any idea of what is going on?
Topic: App & System Services SubTopic: General Tags:
Jun ’15
SpriteKit Integration with UIKit
I have a strange issue where I have a single view controller running different spriteKit scenes. In any of the given scenes, the method I am using to attach the subView is by passing an NSNotification to the view controller a reference to the view created in the scene.If I navigate through my scenes to the UITextField without loading any UIWebViews, I have no issue. But if I load a UIWebView first, destroy it and then load the UITextField, i get the following crash:[UIWebView respondsToSelector:]: message sent to deallocated instanceStructure:Single View Controller creates and destroys all SKScenesUIWebView Creation:in the SKScene the view is created, and then a reference of the window is passed to the view controller via notification:[[NSNotificationCenter defaultCenter] postNotificationName:@addWebView object:window];The viewController then adds the window to the scene as follows(by way of a registered observer):- (void)addWebView:(UIWebView*)update { [self.view addSubview:update]; }Similarly the U
2
0
936
Jun ’15
App crashes when reloading contents of WKWebView
Hey all,I'm getting the strangest crash when the contents of a WKWebView are either reloaded or a new URL is loaded after the fact. This is occuring only on iOS 9 Beta 1, and can't be reproduced in iOS 8.See below for what I think is the culprit:WebKit`WebKit::ViewGestureController::didRestoreScrollPosition: -> 0x188d51fa0 <+0>: ldr w8, [x0, #16] 0x188d51fa4 <+4>: cmp w8, #1 0x188d51fa8 <+8>: b.ne 0x188d51fbc ; <+28> 0x188d51fac <+12>: ldrb w8, [x0, #213] 0x188d51fb0 <+16>: cbz w8, 0x188d51fbc ; <+28> 0x188d51fb4 <+20>: strb wzr, [x0, #213] 0x188d51fb8 <+24>: b 0x188d51f40 ; WebKit::ViewGestureController::removeSwipeSnapshotIfReady() 0x188d51fbc <+28>: ret The exception seems to be EXC_BAD_ACCESS (code=1, address=0x10) at main:16, and I have no idea how to resolve it.Thanks in advance!Josh
4
0
1.4k
Jun ’15
Segueway not being found
I am using Swift 2.0. I have a Swift framework that also has a storyboard. My Swift app that is using this framework can display the view controller within the framework, but when a segueway within the framework is performed, the app crashes saying the segue MySegue cannot be found. This code has worked under Obj C for years and Swift 1.x.Any thoughts ?Thank you,Gene
1
0
314
Jun ’15
xcode 7 beta simulator crashes on start
I am having a 100% failure trying to open the Simulator in xcode 7 beta. Either when I try to run an app or open the simulator from Open developer tool, it immediately crashes with this message:Process: Simulator [9467]Path: /Applications/Xcode-beta.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/SimulatorIdentifier: com.apple.iphonesimulatorVersion: 9.0 (602)Build Info: Indigo-602000000000000~29Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Simulator [9467]User ID: 501Date/Time: 2015-06-15 20:33:46.294 -0700OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: 015164CE-38DB-27C6-9EF3-447DD92F2AB7Time Awake Since Boot: 2200 secondsCrashed Thread: 0Exception Type: EXC_BREAKPOINT (SIGTRAP)Exception Codes: 0x0000000000000002, 0x0000000000000000Application Specific Information:dyld: launch, loading dependent librariesDYLD_INSERT_LIBRARIES=/usr/lib/libignitor2.dylibDyld Error Message: could not load inserted library '/usr/lib/libignitor2.dylib' because no s
3
0
753
Jun ’15
Reply to How do I get a list of all possible values of a Swift enum?
I couldn't add init?(rawValue:) to the protocol for some reason. Hence the init?(index:) initializerDoes anyone know how to use the 'where' clause to tell if an enum has Int rawValues? I tried several approaches, but couldn't get any to work. It would be nice to remove the boilerplate init...This works:protocol EnumerableEnum: RawRepresentable { static func allValues() -> [Self] } extension EnumerableEnum where RawValue == Int { static func allValues() -> [Self] { var idx = 0 return Array(anyGenerator { return Self(rawValue: idx++) }) } } enum TestEnum: Int, EnumerableEnum { // <-- Will not compile unless it has Int RawValues. case A, B, C } print(TestEnum.allValues())Accessing static properties from a protocol extension seems to crash the compiler at the moment, hence the static functionYes, it seems like a compiler bug:protocol EnumerableEnum: RawRepresentable { static var allValues: [Self] { get } } extension EnumerableEnum where RawValue == Int { static var allValues: [Self] { get { var
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Break on throw?
Yes, it was mentioned in What’s New in LLDB. The debugger command is:br s -E swiftIt seems that it is not yet possible to enable this breakpoint in the Xcode 7 UI so you have to type it manually in the debugger when you run your program (or put it in your ~/.lldbinit).
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Error : Assertion failed: ((conforms || firstArchetype->getIsRecursive() || isOpenedAnyObject(replacement) || replacement->is<GenericTypeParamType>()) && "Constraint system missed a conformance?")
Occurs when you do this with extensions :protocol Ordered { func precedes(other: Self) -> Bool } class Number { var value: Double = 0 } extension Number: Ordered { func precedes(other: Number) -> Bool { return self.value < other.value } } extension Ordered where Self: Comparable { func precedes(other: Self) -> Bool { return self < other } }Reported in navigator as Command failed due to signal: Abort trap: 6Either of those extensions compiles fine by itself, crash only occurs when they both exist together.Workaround :extension Ordered where Self: Number { func precedes(other: Number) -> Bool { return self.value < other.value } }Radar21401180HTH
1
0
160
Jun ’15
Xcode 7 view controller in embedded framework
Hi,I create a test project:Xcode7SwiftModule is main programSection1 is an embedded frameworkHere my Main.storyboard with the FirstViewControllerThe last element it's a Storyboard Reference object define like this:In Section1 (my embedded framework) I have another storyboard Section1.storyboard with the SecondViewControllerI can build my test project, display the FirstViewController but when I click on Go to Section1ViewController the application crash with the message:2015-06-16 15:05:32.920 Xcode7SwiftModule[7494:1712281] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Section' in bundle NSBundle </...../Developer/CoreSimulator/Devices/C0FD9F5E-F49E-44A8-8464-C96560ED312C/data/Containers/Bundle/Application/480FA9F7-F979-47A8-A5F6-138A5D98855E/Xcode7SwiftModule.app> (loaded)'It's like the Storyboard Reference object ignore the path in the bundle field (?!?!?)How I can create the link between my FirstViewController in the m
2
0
1.3k
Jun ’15