├── Check-WiFI
├── Assets.xcassets
│ ├── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Check_WiFI.xcdatamodeld
│ ├── .xccurrentversion
│ └── Check_WiFI.xcdatamodel
│ │ └── contents
├── Check-WiFI.entitlements
├── Info.plist
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── AppDelegate.swift
└── ViewController.swift
├── screenshots
└── WWDC19-CNCopyCurrentNetworkInfo().png
├── Check-WiFI.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
└── project.pbxproj
├── LICENSE
├── .gitignore
└── README.md
/Check-WiFI/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/screenshots/WWDC19-CNCopyCurrentNetworkInfo().png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HackingGate/iOS13-WiFi-Info/HEAD/screenshots/WWDC19-CNCopyCurrentNetworkInfo().png
--------------------------------------------------------------------------------
/Check-WiFI.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Check-WiFI/Check_WiFI.xcdatamodeld/.xccurrentversion:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Check-WiFI/Check-WiFI.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | com.apple.developer.networking.wifi-info
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Check-WiFI.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Check-WiFI/Check_WiFI.xcdatamodeld/Check_WiFI.xcdatamodel/contents:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 ERU
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Check-WiFI/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | NSLocationWhenInUseUsageDescription
38 | For detect Wi-Fi on iOS 13 or later
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xccheckout
23 | *.xcscmblueprint
24 |
25 | ## Obj-C/Swift specific
26 | *.hmap
27 | *.ipa
28 | *.dSYM.zip
29 | *.dSYM
30 |
31 | ## Playgrounds
32 | timeline.xctimeline
33 | playground.xcworkspace
34 |
35 | # Swift Package Manager
36 | #
37 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
38 | # Packages/
39 | # Package.pins
40 | # Package.resolved
41 | .build/
42 |
43 | # CocoaPods
44 | #
45 | # We recommend against adding the Pods directory to your .gitignore. However
46 | # you should judge for yourself, the pros and cons are mentioned at:
47 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
48 | #
49 | # Pods/
50 |
51 | # Carthage
52 | #
53 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
54 | # Carthage/Checkouts
55 |
56 | Carthage/Build
57 |
58 | # fastlane
59 | #
60 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
61 | # screenshots whenever they are needed.
62 | # For more information about the recommended setup visit:
63 | # https://docs.fastlane.tools/best-practices/source-control/#source-control
64 |
65 | fastlane/report.xml
66 | fastlane/Preview.html
67 | fastlane/screenshots/**/*.png
68 | fastlane/test_output
69 |
--------------------------------------------------------------------------------
/Check-WiFI/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Check-WiFI/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "20x20",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "20x20",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "29x29",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "29x29",
61 | "scale" : "2x"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "size" : "40x40",
66 | "scale" : "1x"
67 | },
68 | {
69 | "idiom" : "ipad",
70 | "size" : "40x40",
71 | "scale" : "2x"
72 | },
73 | {
74 | "idiom" : "ipad",
75 | "size" : "76x76",
76 | "scale" : "1x"
77 | },
78 | {
79 | "idiom" : "ipad",
80 | "size" : "76x76",
81 | "scale" : "2x"
82 | },
83 | {
84 | "idiom" : "ipad",
85 | "size" : "83.5x83.5",
86 | "scale" : "2x"
87 | },
88 | {
89 | "idiom" : "ios-marketing",
90 | "size" : "1024x1024",
91 | "scale" : "1x"
92 | }
93 | ],
94 | "info" : {
95 | "version" : 1,
96 | "author" : "xcode"
97 | }
98 | }
--------------------------------------------------------------------------------
/Check-WiFI/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // Check-WiFI
4 | //
5 | // Created by ERU on 2019/06/12.
6 | // Copyright © 2019 HackingGate. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
33 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
34 | }
35 |
36 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 | }
45 |
46 |
--------------------------------------------------------------------------------
/Check-WiFI/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // Check-WiFI
4 | //
5 | // Created by ERU on 2019/06/12.
6 | // Copyright © 2019 HackingGate. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import SystemConfiguration.CaptiveNetwork
11 | import CoreLocation
12 |
13 | class ViewController: UIViewController, CLLocationManagerDelegate {
14 |
15 | var locationManager = CLLocationManager()
16 | var currentNetworkInfos: Array? {
17 | get {
18 | return SSID.fetchNetworkInfo()
19 | }
20 | }
21 | @IBOutlet weak var ssidLabel: UILabel!
22 | @IBOutlet weak var bssidLabel: UILabel!
23 |
24 | override func viewDidLoad() {
25 | super.viewDidLoad()
26 |
27 | if #available(iOS 13.0, *) {
28 | let status = CLLocationManager.authorizationStatus()
29 | if status == .authorizedWhenInUse {
30 | updateWiFi()
31 | } else {
32 | locationManager.delegate = self
33 | locationManager.requestWhenInUseAuthorization()
34 | }
35 | } else {
36 | updateWiFi()
37 | }
38 | }
39 |
40 | func updateWiFi() {
41 | print("SSID: \(currentNetworkInfos?.first?.ssid ?? "")")
42 | ssidLabel.text = currentNetworkInfos?.first?.ssid
43 | bssidLabel.text = currentNetworkInfos?.first?.bssid
44 | }
45 |
46 | func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
47 | if status == .authorizedWhenInUse {
48 | updateWiFi()
49 | }
50 | }
51 |
52 | }
53 |
54 | public class SSID {
55 | class func fetchNetworkInfo() -> [NetworkInfo]? {
56 | if let interfaces: NSArray = CNCopySupportedInterfaces() {
57 | var networkInfos = [NetworkInfo]()
58 | for interface in interfaces {
59 | let interfaceName = interface as! String
60 | var networkInfo = NetworkInfo(interface: interfaceName,
61 | success: false,
62 | ssid: nil,
63 | bssid: nil)
64 | if let dict = CNCopyCurrentNetworkInfo(interfaceName as CFString) as NSDictionary? {
65 | networkInfo.success = true
66 | networkInfo.ssid = dict[kCNNetworkInfoKeySSID as String] as? String
67 | networkInfo.bssid = dict[kCNNetworkInfoKeyBSSID as String] as? String
68 | }
69 | networkInfos.append(networkInfo)
70 | }
71 | return networkInfos
72 | }
73 | return nil
74 | }
75 | }
76 |
77 | struct NetworkInfo {
78 | var interface: String
79 | var success: Bool = false
80 | var ssid: String?
81 | var bssid: String?
82 | }
83 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # iOS13-WiFi-Info
2 | Fix CNCopyCurrentNetworkInfo() does NOT work in iOS13 and later
3 |
4 | ## Get Wi-Fi SSID in iOS 12 and earlier
5 |
6 | [stackoverflow](https://stackoverflow.com/a/37856496/4063462)
7 |
8 | ```swift
9 | import Foundation
10 | import SystemConfiguration.CaptiveNetwork
11 |
12 | func getSSID() -> String? {
13 | var ssid: String?
14 | if let interfaces = CNCopySupportedInterfaces() as NSArray? {
15 | for interface in interfaces {
16 | if let interfaceInfo = CNCopyCurrentNetworkInfo(interface as! CFString) as NSDictionary? {
17 | ssid = interfaceInfo[kCNNetworkInfoKeySSID as String] as? String
18 | break
19 | }
20 | }
21 | }
22 | return ssid
23 | }
24 | ```
25 |
26 | >To use `CNCopyCurrentNetworkInfo()` in iOS 12 and later, enable the Access WiFi Information capability in Xcode. For more information, see [Access WiFi Information Entitlement](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_networking_wifi-info).
27 |
28 | ## CNCopyCurrentNetworkInfo() returns nil in iOS 13 and later
29 |
30 | Watch WWDC19 Session 713: [Advances in Networking, Part 2](https://developer.apple.com/videos/play/wwdc2019/713/).
31 |
32 | >Now you all know the important privacy to Apple. And one of the things we realized. Is that... Accessing Wi-Fi information can be used to infer location.
33 |
34 | >So starting now, to access that Wi-Fi information. You'll need the same kind of privileges that you'll need to get other location information.
35 |
36 | .png)
37 |
38 | Requires Capability: `Access Wi-Fi Information`
39 |
40 | Must also meet at least one of criteria below
41 |
42 | * Apps with permission to access location
43 | * Currently enabled VPN app
44 | * NEHotspotConfiguration (only Wi-Fi networks that the app configured)
45 |
46 | Otherwise, returns `nil`
47 |
48 | ## Get Wi-Fi SSID in iOS 13 and later
49 |
50 | Import [Core Location](https://developer.apple.com/documentation/corelocation) framework
51 |
52 | ```swift
53 | import CoreLocation
54 | ```
55 |
56 | Function to update UI
57 |
58 | ```swift
59 | func updateWiFi() {
60 | print("SSID: \(currentNetworkInfos?.first?.ssid)")
61 | ssidLabel.text = getSSID()
62 | }
63 | ```
64 |
65 | Ask location permission
66 |
67 | ```swift
68 | if #available(iOS 13.0, *) {
69 | let status = CLLocationManager.authorizationStatus()
70 | if status == .authorizedWhenInUse {
71 | updateWiFi()
72 | } else {
73 | locationManager.delegate = self
74 | locationManager.requestWhenInUseAuthorization()
75 | }
76 | } else {
77 | updateWiFi()
78 | }
79 | ```
80 |
81 | Implement [CLLocationManagerDelegate](https://developer.apple.com/documentation/corelocation/cllocationmanagerdelegate)
82 |
83 | ```swift
84 | class ViewController: UIViewController, CLLocationManagerDelegate {
85 | ...
86 | func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
87 | if status == .authorizedWhenInUse {
88 | updateWiFi()
89 | }
90 | }
91 | ...
92 | }
93 | ```
94 |
95 | ## Update your app
96 |
97 | If your app uses `CNCopyCurrentNetworkInfo()` and needs to solve the issue. Solve it now. There's no need to wait for Xcode 11 GM. The solution above is Xcode 10 compatible.
98 |
--------------------------------------------------------------------------------
/Check-WiFI/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
24 |
30 |
36 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/Check-WiFI.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 768257C022B0E5110036EB7B /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 768257BF22B0E5110036EB7B /* README.md */; };
11 | 76AF55AA22B0A02300DE3478 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76AF55A922B0A02300DE3478 /* AppDelegate.swift */; };
12 | 76AF55AF22B0A02300DE3478 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 76AF55AD22B0A02300DE3478 /* Main.storyboard */; };
13 | 76AF55B422B0A02400DE3478 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 76AF55B322B0A02400DE3478 /* Assets.xcassets */; };
14 | 76AF55B722B0A02400DE3478 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 76AF55B522B0A02400DE3478 /* LaunchScreen.storyboard */; };
15 | 76AF55C022B0A5A100DE3478 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76AF55BF22B0A5A100DE3478 /* SystemConfiguration.framework */; };
16 | CD843DAC22B0DA83000A6039 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD843DAB22B0DA83000A6039 /* ViewController.swift */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXFileReference section */
20 | 768257BF22B0E5110036EB7B /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
21 | 76AF55A622B0A02300DE3478 /* Check-WiFI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Check-WiFI.app"; sourceTree = BUILT_PRODUCTS_DIR; };
22 | 76AF55A922B0A02300DE3478 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
23 | 76AF55AE22B0A02300DE3478 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
24 | 76AF55B322B0A02400DE3478 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
25 | 76AF55B622B0A02400DE3478 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
26 | 76AF55B822B0A02400DE3478 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
27 | 76AF55BF22B0A5A100DE3478 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
28 | 76AF55C122B0A5C200DE3478 /* Check-WiFI.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "Check-WiFI.entitlements"; sourceTree = ""; };
29 | CD843DAB22B0DA83000A6039 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
30 | /* End PBXFileReference section */
31 |
32 | /* Begin PBXFrameworksBuildPhase section */
33 | 76AF55A322B0A02300DE3478 /* Frameworks */ = {
34 | isa = PBXFrameworksBuildPhase;
35 | buildActionMask = 2147483647;
36 | files = (
37 | 76AF55C022B0A5A100DE3478 /* SystemConfiguration.framework in Frameworks */,
38 | );
39 | runOnlyForDeploymentPostprocessing = 0;
40 | };
41 | /* End PBXFrameworksBuildPhase section */
42 |
43 | /* Begin PBXGroup section */
44 | 76AF559D22B0A02300DE3478 = {
45 | isa = PBXGroup;
46 | children = (
47 | 768257BF22B0E5110036EB7B /* README.md */,
48 | 76AF55A822B0A02300DE3478 /* Check-WiFI */,
49 | 76AF55A722B0A02300DE3478 /* Products */,
50 | 76AF55BE22B0A5A100DE3478 /* Frameworks */,
51 | );
52 | sourceTree = "";
53 | };
54 | 76AF55A722B0A02300DE3478 /* Products */ = {
55 | isa = PBXGroup;
56 | children = (
57 | 76AF55A622B0A02300DE3478 /* Check-WiFI.app */,
58 | );
59 | name = Products;
60 | sourceTree = "";
61 | };
62 | 76AF55A822B0A02300DE3478 /* Check-WiFI */ = {
63 | isa = PBXGroup;
64 | children = (
65 | 76AF55C122B0A5C200DE3478 /* Check-WiFI.entitlements */,
66 | 76AF55A922B0A02300DE3478 /* AppDelegate.swift */,
67 | CD843DAB22B0DA83000A6039 /* ViewController.swift */,
68 | 76AF55AD22B0A02300DE3478 /* Main.storyboard */,
69 | 76AF55B322B0A02400DE3478 /* Assets.xcassets */,
70 | 76AF55B522B0A02400DE3478 /* LaunchScreen.storyboard */,
71 | 76AF55B822B0A02400DE3478 /* Info.plist */,
72 | );
73 | path = "Check-WiFI";
74 | sourceTree = "";
75 | };
76 | 76AF55BE22B0A5A100DE3478 /* Frameworks */ = {
77 | isa = PBXGroup;
78 | children = (
79 | 76AF55BF22B0A5A100DE3478 /* SystemConfiguration.framework */,
80 | );
81 | name = Frameworks;
82 | sourceTree = "";
83 | };
84 | /* End PBXGroup section */
85 |
86 | /* Begin PBXNativeTarget section */
87 | 76AF55A522B0A02300DE3478 /* Check-WiFI */ = {
88 | isa = PBXNativeTarget;
89 | buildConfigurationList = 76AF55BB22B0A02400DE3478 /* Build configuration list for PBXNativeTarget "Check-WiFI" */;
90 | buildPhases = (
91 | 76AF55A222B0A02300DE3478 /* Sources */,
92 | 76AF55A322B0A02300DE3478 /* Frameworks */,
93 | 76AF55A422B0A02300DE3478 /* Resources */,
94 | );
95 | buildRules = (
96 | );
97 | dependencies = (
98 | );
99 | name = "Check-WiFI";
100 | productName = "Check-WiFI";
101 | productReference = 76AF55A622B0A02300DE3478 /* Check-WiFI.app */;
102 | productType = "com.apple.product-type.application";
103 | };
104 | /* End PBXNativeTarget section */
105 |
106 | /* Begin PBXProject section */
107 | 76AF559E22B0A02300DE3478 /* Project object */ = {
108 | isa = PBXProject;
109 | attributes = {
110 | LastSwiftUpdateCheck = 1020;
111 | LastUpgradeCheck = 1020;
112 | ORGANIZATIONNAME = HackingGate;
113 | TargetAttributes = {
114 | 76AF55A522B0A02300DE3478 = {
115 | CreatedOnToolsVersion = 10.2.1;
116 | SystemCapabilities = {
117 | com.apple.AccessWiFi = {
118 | enabled = 1;
119 | };
120 | };
121 | };
122 | };
123 | };
124 | buildConfigurationList = 76AF55A122B0A02300DE3478 /* Build configuration list for PBXProject "Check-WiFI" */;
125 | compatibilityVersion = "Xcode 9.3";
126 | developmentRegion = en;
127 | hasScannedForEncodings = 0;
128 | knownRegions = (
129 | en,
130 | Base,
131 | );
132 | mainGroup = 76AF559D22B0A02300DE3478;
133 | productRefGroup = 76AF55A722B0A02300DE3478 /* Products */;
134 | projectDirPath = "";
135 | projectRoot = "";
136 | targets = (
137 | 76AF55A522B0A02300DE3478 /* Check-WiFI */,
138 | );
139 | };
140 | /* End PBXProject section */
141 |
142 | /* Begin PBXResourcesBuildPhase section */
143 | 76AF55A422B0A02300DE3478 /* Resources */ = {
144 | isa = PBXResourcesBuildPhase;
145 | buildActionMask = 2147483647;
146 | files = (
147 | 76AF55B722B0A02400DE3478 /* LaunchScreen.storyboard in Resources */,
148 | 76AF55B422B0A02400DE3478 /* Assets.xcassets in Resources */,
149 | 768257C022B0E5110036EB7B /* README.md in Resources */,
150 | 76AF55AF22B0A02300DE3478 /* Main.storyboard in Resources */,
151 | );
152 | runOnlyForDeploymentPostprocessing = 0;
153 | };
154 | /* End PBXResourcesBuildPhase section */
155 |
156 | /* Begin PBXSourcesBuildPhase section */
157 | 76AF55A222B0A02300DE3478 /* Sources */ = {
158 | isa = PBXSourcesBuildPhase;
159 | buildActionMask = 2147483647;
160 | files = (
161 | CD843DAC22B0DA83000A6039 /* ViewController.swift in Sources */,
162 | 76AF55AA22B0A02300DE3478 /* AppDelegate.swift in Sources */,
163 | );
164 | runOnlyForDeploymentPostprocessing = 0;
165 | };
166 | /* End PBXSourcesBuildPhase section */
167 |
168 | /* Begin PBXVariantGroup section */
169 | 76AF55AD22B0A02300DE3478 /* Main.storyboard */ = {
170 | isa = PBXVariantGroup;
171 | children = (
172 | 76AF55AE22B0A02300DE3478 /* Base */,
173 | );
174 | name = Main.storyboard;
175 | sourceTree = "";
176 | };
177 | 76AF55B522B0A02400DE3478 /* LaunchScreen.storyboard */ = {
178 | isa = PBXVariantGroup;
179 | children = (
180 | 76AF55B622B0A02400DE3478 /* Base */,
181 | );
182 | name = LaunchScreen.storyboard;
183 | sourceTree = "";
184 | };
185 | /* End PBXVariantGroup section */
186 |
187 | /* Begin XCBuildConfiguration section */
188 | 76AF55B922B0A02400DE3478 /* Debug */ = {
189 | isa = XCBuildConfiguration;
190 | buildSettings = {
191 | ALWAYS_SEARCH_USER_PATHS = NO;
192 | CLANG_ANALYZER_NONNULL = YES;
193 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
194 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
195 | CLANG_CXX_LIBRARY = "libc++";
196 | CLANG_ENABLE_MODULES = YES;
197 | CLANG_ENABLE_OBJC_ARC = YES;
198 | CLANG_ENABLE_OBJC_WEAK = YES;
199 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
200 | CLANG_WARN_BOOL_CONVERSION = YES;
201 | CLANG_WARN_COMMA = YES;
202 | CLANG_WARN_CONSTANT_CONVERSION = YES;
203 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
204 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
205 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
206 | CLANG_WARN_EMPTY_BODY = YES;
207 | CLANG_WARN_ENUM_CONVERSION = YES;
208 | CLANG_WARN_INFINITE_RECURSION = YES;
209 | CLANG_WARN_INT_CONVERSION = YES;
210 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
211 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
212 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
213 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
214 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
215 | CLANG_WARN_STRICT_PROTOTYPES = YES;
216 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
217 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
218 | CLANG_WARN_UNREACHABLE_CODE = YES;
219 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
220 | CODE_SIGN_IDENTITY = "iPhone Developer";
221 | COPY_PHASE_STRIP = NO;
222 | DEBUG_INFORMATION_FORMAT = dwarf;
223 | ENABLE_STRICT_OBJC_MSGSEND = YES;
224 | ENABLE_TESTABILITY = YES;
225 | GCC_C_LANGUAGE_STANDARD = gnu11;
226 | GCC_DYNAMIC_NO_PIC = NO;
227 | GCC_NO_COMMON_BLOCKS = YES;
228 | GCC_OPTIMIZATION_LEVEL = 0;
229 | GCC_PREPROCESSOR_DEFINITIONS = (
230 | "DEBUG=1",
231 | "$(inherited)",
232 | );
233 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
234 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
235 | GCC_WARN_UNDECLARED_SELECTOR = YES;
236 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
237 | GCC_WARN_UNUSED_FUNCTION = YES;
238 | GCC_WARN_UNUSED_VARIABLE = YES;
239 | IPHONEOS_DEPLOYMENT_TARGET = 12.2;
240 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
241 | MTL_FAST_MATH = YES;
242 | ONLY_ACTIVE_ARCH = YES;
243 | SDKROOT = iphoneos;
244 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
245 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
246 | SWIFT_VERSION = 4.0;
247 | };
248 | name = Debug;
249 | };
250 | 76AF55BA22B0A02400DE3478 /* Release */ = {
251 | isa = XCBuildConfiguration;
252 | buildSettings = {
253 | ALWAYS_SEARCH_USER_PATHS = NO;
254 | CLANG_ANALYZER_NONNULL = YES;
255 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
256 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
257 | CLANG_CXX_LIBRARY = "libc++";
258 | CLANG_ENABLE_MODULES = YES;
259 | CLANG_ENABLE_OBJC_ARC = YES;
260 | CLANG_ENABLE_OBJC_WEAK = YES;
261 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
262 | CLANG_WARN_BOOL_CONVERSION = YES;
263 | CLANG_WARN_COMMA = YES;
264 | CLANG_WARN_CONSTANT_CONVERSION = YES;
265 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
266 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
267 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
268 | CLANG_WARN_EMPTY_BODY = YES;
269 | CLANG_WARN_ENUM_CONVERSION = YES;
270 | CLANG_WARN_INFINITE_RECURSION = YES;
271 | CLANG_WARN_INT_CONVERSION = YES;
272 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
273 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
274 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
275 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
276 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
277 | CLANG_WARN_STRICT_PROTOTYPES = YES;
278 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
279 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
280 | CLANG_WARN_UNREACHABLE_CODE = YES;
281 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
282 | CODE_SIGN_IDENTITY = "iPhone Developer";
283 | COPY_PHASE_STRIP = NO;
284 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
285 | ENABLE_NS_ASSERTIONS = NO;
286 | ENABLE_STRICT_OBJC_MSGSEND = YES;
287 | GCC_C_LANGUAGE_STANDARD = gnu11;
288 | GCC_NO_COMMON_BLOCKS = YES;
289 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
290 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
291 | GCC_WARN_UNDECLARED_SELECTOR = YES;
292 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
293 | GCC_WARN_UNUSED_FUNCTION = YES;
294 | GCC_WARN_UNUSED_VARIABLE = YES;
295 | IPHONEOS_DEPLOYMENT_TARGET = 12.2;
296 | MTL_ENABLE_DEBUG_INFO = NO;
297 | MTL_FAST_MATH = YES;
298 | SDKROOT = iphoneos;
299 | SWIFT_COMPILATION_MODE = wholemodule;
300 | SWIFT_OPTIMIZATION_LEVEL = "-O";
301 | SWIFT_VERSION = 4.0;
302 | VALIDATE_PRODUCT = YES;
303 | };
304 | name = Release;
305 | };
306 | 76AF55BC22B0A02400DE3478 /* Debug */ = {
307 | isa = XCBuildConfiguration;
308 | buildSettings = {
309 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
310 | CODE_SIGN_ENTITLEMENTS = "Check-WiFI/Check-WiFI.entitlements";
311 | CODE_SIGN_STYLE = Automatic;
312 | DEVELOPMENT_TEAM = 77CB32R5F4;
313 | INFOPLIST_FILE = "Check-WiFI/Info.plist";
314 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
315 | LD_RUNPATH_SEARCH_PATHS = (
316 | "$(inherited)",
317 | "@executable_path/Frameworks",
318 | );
319 | PRODUCT_BUNDLE_IDENTIFIER = "com.hackinggate.Check-WiFI";
320 | PRODUCT_NAME = "$(TARGET_NAME)";
321 | SWIFT_VERSION = 4.0;
322 | TARGETED_DEVICE_FAMILY = "1,2";
323 | };
324 | name = Debug;
325 | };
326 | 76AF55BD22B0A02400DE3478 /* Release */ = {
327 | isa = XCBuildConfiguration;
328 | buildSettings = {
329 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
330 | CODE_SIGN_ENTITLEMENTS = "Check-WiFI/Check-WiFI.entitlements";
331 | CODE_SIGN_STYLE = Automatic;
332 | DEVELOPMENT_TEAM = 77CB32R5F4;
333 | INFOPLIST_FILE = "Check-WiFI/Info.plist";
334 | IPHONEOS_DEPLOYMENT_TARGET = 11.0;
335 | LD_RUNPATH_SEARCH_PATHS = (
336 | "$(inherited)",
337 | "@executable_path/Frameworks",
338 | );
339 | PRODUCT_BUNDLE_IDENTIFIER = "com.hackinggate.Check-WiFI";
340 | PRODUCT_NAME = "$(TARGET_NAME)";
341 | SWIFT_VERSION = 4.0;
342 | TARGETED_DEVICE_FAMILY = "1,2";
343 | };
344 | name = Release;
345 | };
346 | /* End XCBuildConfiguration section */
347 |
348 | /* Begin XCConfigurationList section */
349 | 76AF55A122B0A02300DE3478 /* Build configuration list for PBXProject "Check-WiFI" */ = {
350 | isa = XCConfigurationList;
351 | buildConfigurations = (
352 | 76AF55B922B0A02400DE3478 /* Debug */,
353 | 76AF55BA22B0A02400DE3478 /* Release */,
354 | );
355 | defaultConfigurationIsVisible = 0;
356 | defaultConfigurationName = Release;
357 | };
358 | 76AF55BB22B0A02400DE3478 /* Build configuration list for PBXNativeTarget "Check-WiFI" */ = {
359 | isa = XCConfigurationList;
360 | buildConfigurations = (
361 | 76AF55BC22B0A02400DE3478 /* Debug */,
362 | 76AF55BD22B0A02400DE3478 /* Release */,
363 | );
364 | defaultConfigurationIsVisible = 0;
365 | defaultConfigurationName = Release;
366 | };
367 | /* End XCConfigurationList section */
368 | };
369 | rootObject = 76AF559E22B0A02300DE3478 /* Project object */;
370 | }
371 |
--------------------------------------------------------------------------------