Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Working in the Swift 3!!!!!!!! #2

Open
Cemoo opened this issue Nov 15, 2016 · 0 comments
Open

Not Working in the Swift 3!!!!!!!! #2

Cemoo opened this issue Nov 15, 2016 · 0 comments

Comments

@Cemoo
Copy link

Cemoo commented Nov 15, 2016

I did the upgrade you didn t do and run the code but there is error in the ScreenCapture.swift class and in the captureScreen function. Error is

2016-11-15 14:29:43.128 Test_v2[6157:122664] Couldn't posix_spawn: error 13
2016-11-15 14:29:43.130 Test_v2[6157:122664] (
0 CoreFoundation 0x00007fff8f1704f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff96dcef7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff8f1d74bd +[NSException raise:format:] + 205
3 Foundation 0x00007fff8d661add -[NSConcreteTask launchWithDictionary:] + 3134
4 Test_v2 0x00000001000033f4 TFC7Test_v214ViewController13captureRegionfT11destinationCSo5NSURL_S1 + 804
5 Test_v2 0x0000000100002483 TFC7Test_v214ViewController5btnSSfP_T + 115
6 Test_v2 0x0000000100002643 TToFC7Test_v214ViewController5btnSSfP_T + 67
7 libsystem_trace.dylib 0x00007fff9290e07a _os_activity_initiate + 75
8 AppKit 0x00007fff9180cdbd -[NSApplication sendAction:to:from:] + 460
9 AppKit 0x00007fff9181ef12 -[NSControl sendAction:to:] + 86
10 AppKit 0x00007fff9181ee3c __26-[NSCell _sendActionFrom:]_block_invoke + 131
11 libsystem_trace.dylib 0x00007fff9290e07a _os_activity_initiate + 75
12 AppKit 0x00007fff9181ed99 -[NSCell _sendActionFrom:] + 144
13 libsystem_trace.dylib 0x00007fff9290e07a _os_activity_initiate + 75
14 AppKit 0x00007fff9181d3be -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2693
15 AppKit 0x00007fff91865f04 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 744
16 AppKit 0x00007fff9181bae8 -[NSControl mouseDown:] + 669
17 AppKit 0x00007fff91d703c9 -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6322
18 AppKit 0x00007fff91d713ad -[NSWindow _reallySendEvent:isDelayedEvent:] + 212
19 AppKit 0x00007fff917b0539 -[NSWindow sendEvent:] + 517
20 AppKit 0x00007fff91730a38 -[NSApplication sendEvent:] + 2540
21 AppKit 0x00007fff91597df2 -[NSApplication run] + 796
22 AppKit 0x00007fff91561368 NSApplicationMain + 1176
23 Test_v2 0x0000000100004aa4 main + 84
24 libdyld.dylib 0x00007fff938165ad start + 1
)

why it is coming?? Also there is nıo any documentation because of the new version of Swift also there is no any decrements about Screen captures. Please help!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant