seemoo-lab / openhaystack

Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network.
https://owlink.org
GNU Affero General Public License v3.0
8.03k stars 428 forks source link

Can't access the app account info. #192

Open NewajShovo opened 1 year ago

NewajShovo commented 1 year ago

Describe the bug Ran the openhaystack project and could successfully add the mail plugin. Printed account and iCloud info in ReportsFetcher.m file's fetchSearchpartyTokenFromAccounts method. I see the account info as null. N.B: I am keeping my Apple mail app open while running the app and also I have logged in with my iCloud account.

To Reproduce Steps to reproduce the behavior:

  1. Go to ReportsFetcher.m file inside OpenHaystack folder
  2. Add a log for accessing the info related to the account and iCloud. in fetchSearchpartyTokenFromAccounts method
  3. Run the OpenHaystack app.
  4. See the error

Expected behavior I should get the account's info correctly, as I have logged into my iCloud account.

Screenshots

Screenshot 2023-04-05 at 2 27 11 PM

macOS version: Ventura 13.2