沙盒Cocoa WebView禁用Silverlight

沙盒Cocoa WebView禁用Silverlight,cocoa,silverlight,uiwebview,mac-app-store,appstore-sandbox,Cocoa,Silverlight,Uiwebview,Mac App Store,Appstore Sandbox,在我的OSX应用程序中,我有一个Web视图,可以转到包含Silverlight内容的页面。在非沙盒模式下一切都很好,但只要我“沙盒”它,Silverlight内容就不会加载。。。只是一个空白的网络视图。还有人注意到了吗 我已经使用了授权文件并启用了所有可能的功能。常规web内容可以正常工作,但Silverlight内容不行。这里是我的设置,也许有人可以提供任何建议 <key>com.apple.security.app-sandbox</key> <true/&

在我的OSX应用程序中,我有一个Web视图,可以转到包含Silverlight内容的页面。在非沙盒模式下一切都很好,但只要我“沙盒”它,Silverlight内容就不会加载。。。只是一个空白的网络视图。还有人注意到了吗

我已经使用了授权文件并启用了所有可能的功能。常规web内容可以正常工作,但Silverlight内容不行。这里是我的设置,也许有人可以提供任何建议

 <key>com.apple.security.app-sandbox</key>
 <true/>

 <key>com.apple.security.network.client</key>
 <true/>

 <key>com.apple.security.network.server</key>
 <true/>

<!--  Here I tried using the temporary-exception entitlement to point to the Silverlight plugin, but it did not work :(  -->

 <key>com.apple.security.temporary-exception.files.absolute-path.read-write</key>
 <array>
      <string>/Library/Internet Plug-Ins/Silverlight.plugin/Contents/</string>
      <string>/Library/Internet Plug-Ins/Silverlight.plugin/Contents/MacOS/agcore</string>
      <string>/Library/Internet Plug-Ins/Silverlight.plugin/</string>
      <string>/Library/Internet Plug-Ins/Silverlight.plugin</string>
      <string>/Library/Internet Plug-Ins/</string>
      <string>/Library/Internet Plug-Ins</string>
 </array>

 <key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
 <array>
      <string>/Library/Internet Plug-Ins/</string>
 </array>

 <!--  I read somewhere online to try this but it did not work :(  -->
    <key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
 <array>
      <string>com.apple.WebKit.PluginAgent</string>
 </array>
com.apple.security.app-sandbox
com.apple.security.network.client
com.apple.security.network.server
com.apple.security.temporary-exception.files.absolute-path.read-write
/图书馆/互联网插件/Silverlight.plugin/Contents/
/库/互联网插件/Silverlight.plugin/Contents/MacOS/agcore
/图书馆/互联网插件/Silverlight.plugin/
/图书馆/互联网插件/Silverlight.plugin
/图书馆/互联网插件/
/图书馆/互联网插件
com.apple.security.temporary-exception.files.home-relative-path.read-write
/图书馆/互联网插件/
com.apple.security.temporary-exception.mach-lookup.global-name
com.apple.WebKit.PluginAgent
我是否需要对代码执行任何操作,以便Webview查看(并加载)Silverlight内容?我很困惑,因为它没有沙箱就可以正常工作,但我不能提交到Mac应用商店,除非它在沙箱中工作。任何帮助都将不胜感激。。。谢谢