iOS Question Access Wi-Fi Information not working even if added everything

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone, I'm getting a very annoying problem... I want to get the currently connected WiFi SSID, so following the instructions here on the forum i put the entitlement in the Project Attributes section
B4X:
#Entitlement: <key>com.apple.developer.networking.wifi-info</key><true/>

And also
B4X:
#PlistExtra: <key>NSLocationWhenInUseUsageDescription</key><string>Used to display the current navigation data.</string>
#PlistExtra: <key>NSLocationUsageDescription</key><string>Used to display the current navigation data.</string>

Then I add the checkmark on Apple Developer
Screenshot 2024-12-03 alle 20.50.20.png


Regenerated the mobileprovision (the one you see in the image above)


But I still get this error!!! (I'm using local builder)

B4X:
Build description path: /Users/antonellobarbone/Documents/B4iBuildServer/UploadedProjects/<user id>/build/XCBuildData/17cb8edef07c968cac7d0072bad9bee3.xcbuilddata
/Users/antonellobarbone/Documents/B4iBuildServer/UploadedProjects/<user id>/B4iProject.xcodeproj: error: Provisioning profile "xxxx" doesn't support the Access Wi-Fi Information capability. (in target 'B4iProject' from project 'B4iProject')
/Users/antonellobarbone/Documents/B4iBuildServer/UploadedProjects/<user id>/B4iProject.xcodeproj: error: Provisioning profile "xxxx" doesn't include the com.apple.developer.networking.wifi-info entitlement. (in target 'B4iProject' from project 'B4iProject')

Thanks in advance
 

Mike1970

Well-Known Member
Licensed User
Longtime User
I found the problem, I forgot I had two B4i_Keys folder... it was getting the wrong mobileprovision file...
 
Upvote 0
Solution
Top