A device runs no tool-hosted test bundle, so the package's tests run on one hosted in TestHost/: a minimal application (an empty window) and an Xcode project whose unit-test target compiles the same test files against this package by its path, with the corpus in its resources and local networking allowed for the loopback origin and relay. The package itself is unchanged for consumers. The tests import WaiSink plainly (they use only its public interface) and read the corpus from Bundle.module in the package, from their own bundle in the host. Co-Authored-By: Claude Opus 5.5 <[email protected]>
12 lines
381 B
Text
12 lines
381 B
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<!-- The tests' origin and the sink's relay listen on the loopback interface, over HTTP. -->
|
|
<key>NSAppTransportSecurity</key>
|
|
<dict>
|
|
<key>NSAllowsLocalNetworking</key>
|
|
<true/>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|