Search results for

LLDB crash

29,559 results found

Post

Replies

Boosts

Views

Activity

OS X Photos extension: object cannot be nil
I'm trying to get started creating a Photos extension for OS X. After changing UIViewController to NSViewController and UIImage to NSImage in the template, opening Photos, hitting Edit, I select my extension in the list of plugins, but then the extension crashes before viewDidLoad is called. This is logged:2015-06-28 12:30:23.927 extension[1911:678982] An uncaught exception was raised2015-06-28 12:30:23.927 extension[1911:678982] *** setObjectForKey: object cannot be nil (key: <__NSConcreteUUID 0x7fb993d1fe30> 04015FC0-C1BB-4DF8-A48F-7C89B4642AC2)What can I do to resolve this?
4
0
694
Jun ’15
nsattributed text center
Hi Developer,Simple tableviewCell and label as AttributedText.set the Label to centerthis will my Storyboard crash later..Error from Xcode is ,could not opend Storyboard -1.Solution isnowremove this in xml file <paragraphStyle center />or change it to Plainand storyboard seems to be OK.???????
0
0
179
Jun ’15
Reply to Xcode7 code completion broken
How broken is syntax highlighting? If all the text is black, then SourceKit has crashed. If the keywords are colored, but nothing user-defined is colored, then the file isn't being indexed.Xcode 7 still seems to fail to display some errors (either live in the editing pane, or in the errors navigator, or both). Try building your project and see if that produces errors you haven't seen yet. Fixing the errors (and rebuiliding again afterwards) should allow you to get back on track.
Jun ’15
Reply to Swift 2: throwing errors in computed properties
I think a better workaround is to change the getter into a function with no parameters.However, I suggest you think long and hard before you propagate errors (via throws) as in your example. When the propagated error is something that can't happen, there's really no point in distorting the entire chain of calls to handle errors, since there's really nothing you can do about them. How (for example) can a utility random number generator fail in a way that isn't a programmer error?I know that proponents of exception handling like to think that if you propagate the exception up to the top level, cleaning up via catch blocks on the way up, the app can continue. But in the case of that kind of error, there's a good argument to say that the app should not be allowed to continue. If the choice is a crash or a future data corruption of potentially unlimited scope, which would the user rather have?[Also, I know it's not your main point, but if you do want to swallow the error as above, it's a crummy idea to us
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Problem with NSKeyedUnarchiver between iPhone and simulator.
Hi,I have successfully established a connection between an iPhone and the simulator, via the use of NSStream.I use a packet size of 512kb. While the stream content stays below this value, everything runs smoothly. I can send stream content from the iPhone to the simulator and vice versa. When the stream content exceeds te aforementioned size, I can successfully send FROM the simulator TO the iPhone, but NOT vice versa i.e. I cannot send FROMthe iPhone to the simulator. Instead, the simulator crashes and posts the following message:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSKeyedUnarchiver initForReadingWithData:]: incomprehensible archive (0x62, 0x70, 0x6c, 0x69, 0x73, 0x74, 0x30, 0x30)'I am using OSX Yosemite 10.10.3, and iOS 8.3.Could someone please help?
0
0
214
Jun ’15
Reply to when I type this line of code into swift I get an error. Please help!
Hello. How is the SKSpriteNode named ball created? Does it exist at the time the crashing code executes? What does childNodeWithName return if no such node is found? Does it return nil? According to the docs 'childNodeWithName' returns an SKNode? which is either the node or nil if no such node was found. If it is returning nil, then that could be the problem. However, I'm going out on a bit of a limb here because I have no evidence for some of my guesses.I think I would double check that the ball is being created correctly before I arrive in didMoveToView. I'd also be inclined to break that childNodeWithName(BallCategoryName) as! SKSpriteNode into multiple pieces: the first one to find the ball, then make sure it is not nil, then cast it, but cast it in such a way that if it fails to cast it doesn't crash. I think the 'if let...' construction would help a bit with both the nil checking and the casting.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
dylibs in iOS9 Beta 2
Hi,I’m developing an app for iOS 9. The app will be used in enterprise store.I’m using the latest XCode 7 Beta on iPhone 5s with iOS 9 Beta 2.The app links against 3rd party libraries.The issue is that when using 32-bit executable on a 64-bit device, the executable fails to load 32-bit dylib.All other permutations work (running 64-bit exec on 64-bit device that uses dlopen to load 64-bit dylib, running 32-bit exec on 32-bit device that uses dlopen to load 32-bit dylib).Using dlopen instead of linking causes an infinite loop of error messages about dyld_image_path_containing_address failing.Is that a bug in iOS 9?Following is the crash report:Incident Identifier: 95456095-55FD-491F-A03E-772EFCDBE2ECCrashReporter Key: c88fd232ed978666a388616a2e76dc21560026c0Hardware Model: iPhone6,1Process: app [218]Path: /private/var/mobile/Containers/Bundle/Application/692E4FAD-FA81-4743-B4FA-739309B3D26B/app.app/appIdentifier: com.myapp.appVersion: 4.5.024641 (4.5.0)Code Type: ARM (Native)Parent Process: launchd [1]
4
0
4.1k
Jun ’15
Reply to Playground not displaying output
Still have this problem with the Playground, only difference is that the only output is a warning that the playground have not been able to find the Souces Folderdyld: warning: could not load inserted library '/var/folders/3v/19_tyvk91l7_x9dkrx2xll140000gn/T/com.apple.dt.Xcode.pg/auxiliarymodules/DCB16DFC-2D1D-433D-A4E7-6401B2D83756/Toolbox_Sources.framework/Toolbox_Sources' because image not foundPlayground execution failed: /var/folders/3v/19_tyvk91l7_x9dkrx2xll140000gn/T/./lldb/5291/playground3.swift:1:8: error: no such module 'Toolbox_Sources'import Toolbox_Sources
Jun ’15
App crashs on 8.3 while launching the settings App
Hi,My App Crashes with some Crash logs while launching the Settings app in order for the user to change the Camera usage settings.When I run this codeBOOL canOpenSettings = (&UIApplicationOpenSettingsURLString != NULL); if (canOpenSettings) { NSURL *url = [[NSURL URLWithString:UIApplicationOpenSettingsURLString]autorelease]; [[UIApplication sharedApplication] openURL:url];The Settings App Launches and irrespective of wheather I change the settings or not the APP Relaunches and as I change the setting there is some part of code which executes sending Crash logs to our server.I know that when the settings change happen the APP gets SIGKILL and the app relaunches.But SIGKILL doesnt happen in 8.1 if I DONT change the settings and I can come back to my app and continue with my operations.How do I ensure that the behaviour of 8.1 is replicated on 8.3. Is there any change in the Settings APP over 8.1 which is causing this issue.Thanks in Advnace,Goodfellas team
2
0
693
Jun ’15
Reply to App crashs on 8.3 while launching the settings App
I think your problem is this line: NSURL *url = [[NSURL URLWithString:UIApplicationOpenSettingsURLString]autorelease];URLWithString will return you an autoreleased URL already, but then you are autoreleasing it again. This will over-release the object. A bigger question here (in all seriousness, I'm not trying to be snide) is why you're not using ARC? At this point in time there's really no reason that you shouldn't be using Automatic Reference Counting. These are exactly the types of crashing bugs that ARC can help prevent. I would strongly encourage you to switch to using ARC for all your code.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
_hideForKeyboardAppearance error when clicking on UITextView
I have a UITextView, and whenever I click on it, the app crashes with the following error:-[__NSSetM _hideForKeyboardAppearance]: unrecognized selector sent to instance 0x7fb8aa76cd60If I run the app multiple times, it always crashes at the same place, but the intercepting object that is throwing the unrecoginzed selector can be different. Sometimes it is UIImage instead of NSSetM, sometimes, it is a UIConstraint, etcEven if I don't assign the UITextView to a specific outlet in my class, or have it assigned to a delegate, I get the same behavior. This happens on both simulator and hardware.Any ideas what is going on?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
109
Jun ’15