<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The recent <a href="http://trac.webkit.org/projects/webkit/changeset/195795" class="">r195795</a> changed how WebKit XPC services work for development.<div class=""><br class=""></div><div class=""><div class="">I expect this change to not have any impact on most of your workflows, but read on for the details, and be on the lookout for any things that might have broken anyway.</div></div><div class=""><br class=""></div><div class=""><div class="">The most noticeable effect of this change is that XPC services will no longer inherit all of the UI process’s environment variables automatically. To set an environment variable <font face="Menlo" class=""><span style="font-size: 11px;" class="">EXAMPLE</span></font> to <font face="Menlo" class=""><span style="font-size: 11px;" class="">VALUE</span></font> in the XPC services, you’ll need to set <font face="Menlo" class=""><span style="font-size: 11px;" class="">__XPC_EXAMPLE</span></font> to <font face="Menlo" class=""><span style="font-size: 11px;" class="">VALUE</span></font> in the UI process’s environment. In cases where our tools need to control the XPC services’ environment, the tools have been updated to do use the <font face="Menlo" class=""><span style="font-size: 11px;" class="">__XPC_ prefix</span></font>. And setting <font face="Menlo" class=""><span style="font-size: 11px;" class="">__XPC_DYLD_FRAMEWORK_PATH</span></font> or <font face="Menlo" class=""><span style="font-size: 11px;" class="">__XPC_DYLD_LIBRARY_PATH</span></font> for the services isn’t necessary, since they know to look for frameworks and libraries relative to where they are.</div></div><div class=""><br class=""></div><div class="">Engineering builds will no longer contain both a normal variant and a <font face="Menlo" class=""><span style="font-size: 11px;" class="">.Development</span></font> variant of each of the WebKit XPC services. Instead, they will contain only a normal variant of each service. However, the service name and bundle identifier will continue to have the <font face="Menlo" class=""><span style="font-size: 11px;" class="">.Development</span></font> suffix.</div></body></html>