Search results for

NSCocoaErrorDomain Error Code 4

170,024 results found

Post

Replies

Boosts

Views

Activity

Writing video and audio via AVAssetWriter
Hi All,I'm not sure if this is in the correct place since the new forums organisation, mods feel free to move if not.So i am Using AVFoundation to capture video and audio from an external device and to write to a ProRes encoded *.mov file.I started with an application that only writes video buffers to a file, and this works fine, producing a ProRes encoded .mov as expected.However when i add the Audio AssetWriterInput to the AssetWriter, the file that gets created appears to be invalid.I have checked all the return values for each step of the operation, and everything appears to be ok, it's not until i call finishWriting on the assetWriter at the very end of things that i get an error. Sadly checking this error reveals the -11800 AVErrorUnkown error, which isn't much help.Now, a few things to note- I am trying to create a file with multiple tracks of uncompressed audio. Eg 48Khz, 16-bit, however for the sake of simplicity currently my sample only uses 1 track, which means only 1 AVA
10
0
14k
Jun ’15
Reply to Mail.app keeps crashing
As as me. Here's the error log.Process: Mail [14455]Path: /Applications/Mail.app/Contents/MacOS/MailIdentifier: com.apple.mailVersion: ???Build Info: Mail-3054000000000000~1Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Mail [14455]User ID: 501Date/Time: 2015-06-09 15:49:27.381 +0800OS Version: Mac OS X 10.11 (15A178w)Report Version: 11Anonymous UUID: 37B38C53-1044-6C10-0E8C-BAD68E644D0ASleep/Wake UUID: 9CE95D61-7A1A-45BC-88E5-C0EEB367AE90Time Awake Since Boot: 7900 secondsTime Since Wake: 3600 secondsCrashed Thread: 0Exception Type: EXC_BREAKPOINT (SIGTRAP)Exception Codes: 0x0000000000000002, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:dyld: launch, loading dependent librariesDyld Error Message: Library not loaded: /System/Library/PrivateFrameworks/AccountsUI.framework/Versions/A/AccountsUI Referenced from: /Applications/Mail.app/Contents/MacOS/Mail Reason: image not foundBinary Images: 0x7fff62c3e000 - 0x7fff62c7476f dyld (360
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Crash - Kern_Invalid_address
Hey everyone. I wasn't sure which section to put this in but this was the most relevent i could find.Im new to all this and this is my first app so bare with me.I've created an app using Unity and then built it through xcode. When submitting to the app store i got 3 crash reports. I've tried to understand them but I cant seem to get my head around what they mean.All 3 crash reports are fairly simmilar with the following error: Exception Subtype: KERN_INVALID_ADDRESS at ... I will post one example below. If you want the other 2 reports then just ask!Thanks for your help!Incident Identifier: 938FFF53-56A2-4A1D-BF23-4E24567BA101CrashReporter Key: 3286a932eadfb6a4501de9b1e0044450b3f54fb3Hardware Model: xxxProcess: Box [1376]Path: /private/var/mobile/Containers/Bundle/Application/00E4561A-F30C-4C48-B2BD-355A71A4D971/Box.app/BoxIdentifier: Bob.BobVersion: 1 (1)Code Type: ARM (Native)Parent Process: launchd [1]Date/Time: 2015-06-02 17:16:47.033 -0700Launch Time: 2015-06-02 17:16:42.956 -0700OS Vers
2
0
1.8k
Jun ’15
Reply to Will not let me enroll.
I had the same problem. Enter my personal and romanized information over and over again. Then I changed some of my personal information in my Apple ID and now I can confirm all my data but then get We are unable to process your request.An unknown error occurred.I then changed my country and address back in the Apple ID but still get the error.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Menu item actions not firing
I originally posted this in the old Developer Forums, but didn't get a response there.I have an app written in Swift with a WatchKit 1 (i.e. not beta) extension. I have a few different actions that I want to connect to menu items.The problem is, more often than not, hitting the menu item fails to fire the action. Sometimes it works once; usually it doesn't work at all. Buttons connected to the same actions work perfectly, but I don't want visible buttons in the UI for these features. The problem is not with the code in the action failing to have an effect—a breakpoint in the action is not hit. Has anyone seen anything like this before? Any idea what might be causing it?
2
0
869
Jun ’15
xcode 7 beta run on device
Hi, I've read this morning that we can use the new xcode 7 beta and to run / debug or apps directly on the device _without_ the need of a app developer program subscription. But when i try this out it turns that the IDE is complaining about my account not having the subscription done.* first issue:failed to code sign <app name>.No valid signing identities (i.e. certificate and private key pair) matching the team ID “<my id>” were found.Xcode can attempt to fix this issue.* second issue, when i press the fix button:The selected team does not have a program membership that is eligible for this feature. If you need assistance, please contact Apple Developer Program Support.https://developer.apple.com/supportCan anyone help me on this, as I really want to try my work before program subscription.Thanks in advance.
1
0
1.5k
Jun ’15
NSDateFormatter replacing colons with dots
Hi allI just put iOS 9 on a device and downloaded my app from the app store.The affected code is swift code.When i use a dateformatter with format:yyyy-MM-dd'T'HH:mm:ss.SSSSSZZZIt translates to2015-05-30T10.52.00.00000+0200 instead of 2015-05-30T10:52:00.00000+0200Anyone else experiencing this?I am using a very specific format here, the colons are specified directly, its pretty crazy they would turn into dots...I have not download the new xcode yet so i haven't seen it in debug mode, but this is what is sent to my backend server from iOS 9.Thanks in advance
4
0
681
Jun ’15
Reply to Redeem Code
I could not redeem the code from within Safari as it kept taking me to my Top Sites instead of launching the App Store. The only way I found to get around it was use Chrome browser, login to the Developer site and select the download link. This launched the App Store and redeemed the code. However even though my code is redeemed I still have no updates showing in the App Store despite several refreshes.Maybe I just need to be patient although I would like to know why none oif the worked in Safari Version 8.0.7 (10600.7.7)
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
xcodebuild
I have a question regarding xcodebuild. I have created a static library and I want to build it and create my .a file without using Xcode. I run xcodebuild from the terminal and it runs without generating an error and tells me that the code is built but there are no files generated in product folder. Any thoughts?
1
0
970
Jun ’15
Generics in Cocoa and half-way bridging
The NSAttributedString(string:attributes:) constructor has been updated with generics in Swift 2.0 so that the attributes parameter is of the type [String : AnyObject]?However, this means that the following code doesn't work anymore: let font = CTFontCreateWithName(Monaco, 10, nil) let string = NSAttributedString(string: foo, attributes: [kCTFontAttributeName : font])The problem here is that kCTFontAttributeName has the type CFString, which is not automatically bridged to String, even though it's going to be immediately converted back to a CFString.The workaround is to convert it manually: let font = CTFontCreateWithName(Monaco, 10, nil) let string = NSAttributedString(string: foo, attributes: [String(kCTFontAttributeName) : font])
3
0
484
Jun ’15
TableViewCell scrambled when setting UILabel.text in cellForRowByIndexPath
Hi Folks! I've been struggling with an issue for some time, where when I generate new cells in a tableview, the cells are scrambled.I assumed my cells wern't being dequeued properly, but having commented almost everything in the cellForRowAtIndexPath method, it worked fine.Adding the code back line by line, it appers that the followling lines cause the problem.UILabel *label;label = (UILabel *)[cell viewWithTag:1];label.text = [NSString stringWithFormat:@%d, numerator[indexPath.row]];I set the value of a UITextField in the same function without it causing a problem, so I'm somewhat baffled by this.Is there a problem setting the label text in this function, or am I doing something else wrong?Thank!Screwtape.
1
0
135
Jun ’15