Re: Issues with WKWebView: "Requestor is not a platform binary"

2015-07-27 Thread Rick Mann
Huh, interesting. I'll see what I can suss out. I borrowed someone else's code. > On Jul 27, 2015, at 22:36 , Jens Alfke wrote: > > I'll bet the OS is killing your server/listener socket. It does that after an > app's been suspended a while. You'll need to close the socket on suspend and > reo

Re: Issues with WKWebView: "Requestor is not a platform binary"

2015-07-27 Thread Jens Alfke
I'll bet the OS is killing your server/listener socket. It does that after an app's been suspended a while. You'll need to close the socket on suspend and reopen it on activation. --Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Re: Codesigning issues

2015-07-27 Thread Graham Cox
By the way, I also verified the app with spctl, and it checks out: Last login: Tue Jul 28 09:51:10 on ttys000 Grahams-iMac:~ grahamcox$ spctl -a -v /Users/grahamcox/Projects/Mapdiva\ Built\ Apps/Artboard_1.9.8_NS_GM3.app /Users/grahamcox/Projects/Mapdiva Built Apps/Artboard_1.9.8_NS_GM3.app: acc

Issues with WKWebView: "Requestor is not a platform binary"

2015-07-27 Thread Rick Mann
In order to make an offline viewer for my company's WebGL webapp, I've built an iOS app that embeds a little web server, and serves up the models directly to the WKWebView that requests them. This works well, but in 9b4 it is exhibiting a new behavior. After a time, which seems to do with leavin

Codesigning issues

2015-07-27 Thread Graham Cox
Hi all, I’m having an issue with codesigning a version of one of our Mac apps with a Developer ID. It all seems to go perfectly smoothly, but some of our users (and some in-house testing) have reported that the app does not launch - it just bounces in the dock forever UNLESS the system is set t

Re: 'Bool' is not convertible to 'BooleanLiteralConvertible'

2015-07-27 Thread Marco S Hyman
On Jul 27, 2015, at 3:06 PM, Quincey Morris wrote: > The problem is that kSecReturnData is a CFString, which is not a type that’s > bridged automatically in the construction of a dictionary. The following > works for me in a playground (b4): > > let d1 = [ kSecReturnData as NSString : t

Re: 'Bool' is not convertible to 'BooleanLiteralConvertible'

2015-07-27 Thread Quincey Morris
On Jul 27, 2015, at 15:08 , Rick Mann wrote: > > Is it bridged automatically anywhere else? Seems like a lot of ad-hoc and > inconsistent support for bridging. I dunno, really. Support for CF things (and C things and unmanaged pointers) seems to vary release by release, so I don’t try to keep

Re: 'Bool' is not convertible to 'BooleanLiteralConvertible'

2015-07-27 Thread Rick Mann
> On Jul 27, 2015, at 15:06 , Quincey Morris > wrote: > > CFString, which is not a type that’s bridged automatically in the > construction of a dictionary Interesting. Is it bridged automatically anywhere else? Seems like a lot of ad-hoc and inconsistent support for bridging. -- Rick Mann

Re: 'Bool' is not convertible to 'BooleanLiteralConvertible'

2015-07-27 Thread Quincey Morris
On Jul 27, 2015, at 14:57 , Rick Mann wrote: > > error: 'Bool' is not convertible to 'BooleanLiteralConvertible' >let d1 = [ kSecReturnData : true ] >^~~~ > error: '_' is not convertible to 'CFString' >let d2 = [ kSecReturnData : Bool(booleanLiteral: true)

'Bool' is not convertible to 'BooleanLiteralConvertible'

2015-07-27 Thread Rick Mann
In the following code, import Foundation let d1 = [ kSecReturnData : true ] let d2 = [ kSecReturnData : Bool(booleanLiteral: true) ] let d3 = [ kSecReturnData as String : Bool(booleanLiteral: true) ] let d4 : [NSObject:AnyObject] = [ kSecReturnData : true ] error: 'Bool' is n

Re: Updating a screensaver from 10.6 to 10.10

2015-07-27 Thread Stephane Sudre
• You may also need|have to consider moving away from Garbage Collection. 10.10 (or 10.11?) is the last version to support it. • You need to codesign the screen saver on 10.9.5 or later, otherwise, it won't be GateKeeper v2 compatible and the user won't be able to double-click it in the Finder to