Skip to content

Instantly share code, notes, and snippets.

@arai-ta
Last active May 11, 2017 15:08
Show Gist options
  • Save arai-ta/79c9961ae7811e905d6e5c55571b0284 to your computer and use it in GitHub Desktop.
Save arai-ta/79c9961ae7811e905d6e5c55571b0284 to your computer and use it in GitHub Desktop.
iOS機器(iPhone, iPad)でWi-Fiに自動接続しないようにする ref: http://qiita.com/arai-ta/items/ea02b048d1f3dda8a64c
<?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>
<key>ConsentText</key>
<dict>
<key>default</key>
<string><!-- ここにインストール前の確認メッセージを入れます --></string>
</dict>
<key>PayloadContent</key>
<array>
<dict>
<key>AutoJoin</key>
<false/><!-- 自動接続しないならtrueとするっぽい -->
<key>CaptiveBypass</key>
<false/>
<key>EncryptionType</key>
<string>WPA2<!-- 暗号化方式 --></string>
<key>HIDDEN_NETWORK</key>
<true/><!-- 非公開ネットワークならtrueとするっぽい -->
<key>IsHotspot</key>
<false/>
<key>Password</key>
<string><!-- APのパスワードを平文で入れます --></string>
<key>PayloadDescription</key>
<string>Wi-Fi 設定を構成します</string>
<key>PayloadDisplayName</key>
<string>Wi-Fi</string>
<key>PayloadIdentifier</key>
<string>com.apple.wifi.managed.<!-- UUID(1) --></string>
<key>PayloadType</key>
<string>com.apple.wifi.managed</string>
<key>PayloadUUID</key>
<string><!-- UUID(1) --></string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>ProxyType</key>
<string>None</string>
<key>SSID_STR</key>
<string><!-- AP名を入れます --></string>
</dict>
</array>
<key>PayloadDescription</key>
<string><!-- プロファイルの説明を入れます --></string>
<key>PayloadDisplayName</key>
<string><!-- プロファイルの表示名を入れます --></string>
<key>PayloadIdentifier</key>
<string><!-- ホスト名.UUID(2) --></string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string><!-- UUID(2) --></string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment