Talk:Updating extensions for iOS 7: Difference between revisions

Discussion page of Updating extensions for iOS 7
(see ongoing issues section)
(more detail)
Line 3: Line 3:
I run a CPDistrubutedMessagingCenter in a sendbox app, but I got "deny mach-register" in console, and the messagingCenter doesn't work, how to deal with it? ([[User:Kingsword]])
I run a CPDistrubutedMessagingCenter in a sendbox app, but I got "deny mach-register" in console, and the messagingCenter doesn't work, how to deal with it? ([[User:Kingsword]])


:See under [[Updating extensions for iOS 7#Ongoing issues]] - there's a note for ''"CPDistributedMessagingCenter, XPC and other IPC methods built on top of bootstrap registered mach services don't work, you get deny lookup in the Xcode console."'' and a workaround for it. [[User:Britta|Britta]] ([[User talk:Britta|talk]]) 11:04, 17 February 2014 (PST)
:From rpetrich on IRC (see the [[IRC]] page for how to ask questions there): "you shouldn't be registering mach services in sandboxed apps; rocketbootstrap allows exposing services _to_ sandboxed apps, but can't allow exposing services _from_ sandboxed apps without exposing a very large security flaw". For more context, see under [[Updating extensions for iOS 7#Ongoing issues]] - there's a note for ''"CPDistributedMessagingCenter, XPC and other IPC methods built on top of bootstrap registered mach services don't work, you get deny lookup in the Xcode console."'' [[User:Britta|Britta]] ([[User talk:Britta|talk]]) 11:04, 17 February 2014 (PST)

Revision as of 19:07, 17 February 2014

CPDistributeMessagingCenter deny mach-regisiter

I run a CPDistrubutedMessagingCenter in a sendbox app, but I got "deny mach-register" in console, and the messagingCenter doesn't work, how to deal with it? (User:Kingsword)

From rpetrich on IRC (see the IRC page for how to ask questions there): "you shouldn't be registering mach services in sandboxed apps; rocketbootstrap allows exposing services _to_ sandboxed apps, but can't allow exposing services _from_ sandboxed apps without exposing a very large security flaw". For more context, see under Updating extensions for iOS 7#Ongoing issues - there's a note for "CPDistributedMessagingCenter, XPC and other IPC methods built on top of bootstrap registered mach services don't work, you get deny lookup in the Xcode console." Britta (talk) 11:04, 17 February 2014 (PST)