Osstatus Error 5402
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 412 Star 11,810 Fork 1,759 fastlane/fastlane Code Issues 338 Pull requests 50 Projects 0 osstatus error codes Pulse Graphs New issue error when trying to run tests on Jenkins osstatus error -43 foxtel go 2.0 with scan #5402 Closed CurlyHeir opened this Issue Jul 15, 2016 · 3 comments Projects None yet what is osstatus error Labels None yet Milestone No milestone Assignees No one assigned 3 participants CurlyHeir commented Jul 15, 2016 i'm trying to set up continuous integration, on jenkins v2.0
Osstatus Error -43 Mac
with latest fastlane, when i want to run tests on simulator i'm getting error. Complete output when running fastlane, including the stack trace and command used �[33m>�[0m �[39;1mCheck Dependencies�[0m �[33m>�[0m �[39;1mRunning script�[0m 'Check Pods Manifest.lock' �[33m>�[0m �[39;1mRunning script�[0m 'Embed Pods Frameworks' �[33m>�[0m �[39;1mRunning script�[0m 'Copy Pods Resources' �[33m>�[0m �[39;1mBuild�[0m Succeeded 2016-07-15 02:05:15.414 xcodebuild[68897:19176659] [MT] iPhoneSimulator: Could not launch simulator: -10810 how to fix osstatus error -43. xcodebuild: error: Failed to build workspace Integration-example with scheme IntegrationTests. Reason: The operation couldn’t be completed. (OSStatus error -10810.) invalid byte sequence in US-ASCII [02:05:15]: �[33m�[33mVariable Dump:�[0m�[0m [02:05:15]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios integrationTest"} [02:05:15]: �[31minvalid byte sequence in US-ASCII�[0m Configuration Files Please copy the complete content of your Fastfile and any other configuration files you use below: Fastfile: lane :integration do scan( clean: true, device: "iPhone 6s" ) end Scanfile: workspace "Integration-example.xcworkspace" scheme "IntegrationTests" whole repo with this example is here: https://github.com/CurlyHeir/ios-jenkins-test-runs/commits?author=CurlyHeir rammangai87 commented Jul 15, 2016 We need to do few configuration change in the CI Machine to allow Jenkins to control GUI. Like - Changing Jenkins to LaunchAgent rather than Daemon - etc., There is no fastlane issue in this. CurlyHeir commented Jul 15, 2016 @rammangai87 thx for fast response, could you tell me how to configure this? CurlyHeir closed this Jul 15, 2016 rvi commented Aug 21, 2016 • edited This article is really helpful, explaining how to set up Jenkins as a LaunchAgent, removing SessionCreate from Jenkins plist etc.. : http://www.cimgf.com/2015/05/26/ 👍 1
here for a quick overview of the site Help Center Detailed answers to any questions you might have http://stackoverflow.com/questions/24576808/osstatus-error-12769 Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like osstatus error you, helping each other. Join them; it only takes a minute: Sign up OSStatus error -12769? up vote 0 down vote favorite So I've been trying to use AVAssetExportSession to trim a square video. But for some reason I just keep getting this error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo=0x1a03be70 {NSLocalizedDescription=The operation osstatus error -43 could not be completed, NSUnderlyingError=0x1a04c5e0 "The operation couldn’t be completed. (OSStatus error -12769.)", NSLocalizedFailureReason=An unknown error occurred (-12769)} From Apple's website I found out that -11800 is an unknown error, but what about OSStatus error -12769? I searched everywhere on the internet and I had not seen any question/problem related to this error code. Please help. Thanks! My code here: AVAsset *asset = [[AVURLAsset alloc]initWithURL:self.originalVidUrl options:nil]; AVAssetTrack *clipVideoTrack = [[asset tracksWithMediaType:AVMediaTypeVideo] objectAtIndex:0]; if (clipVideoTrack.naturalSize.width==clipVideoTrack.naturalSize.height) { NSLog(@"Square video"); NSArray *presets = [AVAssetExportSession exportPresetsCompatibleWithAsset:asset]; if ([presets containsObject:AVAssetExportPresetHighestQuality]) { self.exportSession = [[AVAssetExportSession alloc]initWithAsset:asset presetName:AVAssetExportPresetHighestQuality]; self.exportSession.outputURL = [NSURL fileURLWithPath: self.tmpVidPath]; self.exportSession.outputFileType = AVFileTypeMPEG4; CMTime start = ... CMTime duration = ... CMTimeRange range = CMTimeRangeMake(start, duration); self.exportSession.timeRange = range; [self.exportSession exportAsynchronouslyWithCompletionHandler:^{ switch ([self.exportSession status]) { case AVAssetExportSessionStatusFailed: NSLog(@"%@",self.exportSession.error); break; case AVAssetExportSessionStatusCancelled: NSLog(@"Export canceled"); break; default: NSLog(@"Export Success, File Saved."); break; } }]; } } P.S. this code works for videos taken with the native camera app (i.e. non-square/non-processed videos). ios objective-c avassetexportsession avasset share|improve this question edited Jul 4 '14 at 15