Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music is not accessible in IOS even though I have already taken the media library permission #139

Open
VocsyAniket opened this issue Dec 11, 2023 · 5 comments

Comments

@VocsyAniket
Copy link

VocsyAniket commented Dec 11, 2023

[Entitlements] MSVEntitlementUtilities - Process Runner PID[9743] - Group: (null) - Entitlement: com.apple.accounts.appleaccount.fullaccess - Entitled: NO - Error: (null)
[core] Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
[Default] <ICUserIdentityStoreACAccountBackend: 0x280e810e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
[core] Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
[Default] <ICUserIdentityStoreACAccountBackend: 0x280e810e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
[Default] [ICUserIdentityStore] - initializing account histories with activeAccountDSID = nil, existingActiveAccountID = nil, timestamp = 1982457057559
[core] "Error returned from daemon: Error Domain=com.apple.accounts Code=9 "(null)""
[Default] ACAccountStore 0x281f93690 - Error retrieving iTunesStore accounts. err=Error Domain=com.apple.accounts Code=9 "(null)"
[Default] ACAccountStore 0x281f93690 - Error retrieving local store account. err=Error Domain=com.apple.accounts Code=9 "(null)"
[Default] [ICUserIdentityStore] Failed to fetch local store account with error: Error Domain=com.apple.accounts Code=9 "(null)".
@dhavalsabhaya1
Copy link

Facing the same issue on iphone 12 pro max (ios 17.2).
Have you figured it out??

@usarthurchoi
Copy link

On iOS 17.2.1, I am getting those errors or warning from both native Swift app and Flutter app using open_audio_query. However, I was able to access and play songs without an issue using open_audio_query although my problems were something else. My info.plist has the following

<key>NSAppleMusicUsageDescription</key>
<string>SoundScape requires access to media library</string>

Music was accessible even though I got the same warnings or errors. My iPhone is 17.2.1

@waqadArshad
Copy link

waqadArshad commented Jul 25, 2024

Same issue @LucJosin any suggestions?

2024-07-25 23:03:06.382 💚 DEBUG SwiftOnAudioQueryPlugin.handle():90 - Ended method call (setLogConfig)
2024-07-25 23:03:06.384 💚 DEBUG SwiftOnAudioQueryPlugin.handle():25 - Started method call (permissionsStatus)
2024-07-25 23:03:06.385 💙 INFO SwiftOnAudioQueryPlugin.handle():30 - Method call: permissionsStatus
2024-07-25 23:03:06.388 💚 DEBUG SwiftOnAudioQueryPlugin.handle():90 - Ended method call (permissionsStatus)
2024-07-25 23:03:06.934 💚 DEBUG SwiftOnAudioQueryPlugin.handle():25 - Started method call (querySongs)
2024-07-25 23:03:06.934 💙 INFO SwiftOnAudioQueryPlugin.handle():30 - Method call: querySongs
2024-07-25 23:03:06.934 💚 DEBUG SwiftOnAudioQueryPlugin.handle():70 - Checking permissions...
2024-07-25 23:03:06.934 💚 DEBUG SwiftOnAudioQueryPlugin.handle():73 - Application has permissions: true
MSVEntitlementUtilities - Process Runner PID[2018] - Group: (null) - Entitlement: com.apple.accounts.appleaccount.fullaccess - Entitled: NO - Error: (null)
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
<ICUserIdentityStoreACAccountBackend: 0x3024e4cd0> Failed to initialize active account, error=Error Domain=com.apple.accounts Code=7 "(null)"
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
<ICUserIdentityStoreACAccountBackend: 0x3024e4cd0> Failed to initialize primary apple account, error=Error Domain=com.apple.accounts Code=7 "(null)"
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
[ICUserIdentityStore] - initializing account histories with activeAccountDSID = nil, activeLockerAccountDSID = nil, timestamp = 3919393576352
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
[ICUserIdentityStore] Failed to fetch local store account with error: Error Domain=com.apple.accounts Code=7 "(null)".
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
Attempted to register account monitor for types client is not authorized to access: {(
    "com.apple.account.iTunesStore"
)}
<ICMonitoredAccountStore: 0x3009425e0> Failed to register for account monitoring. err=Error Domain=com.apple.accounts Code=7 "(null)"
2024-07-25 23:03:06.997 💚 DEBUG AudioQuery.querySongs():30 - Query config:
2024-07-25 23:03:06.997 💚 DEBUG AudioQuery.querySongs():31 - 	sortType: 0
2024-07-25 23:03:06.998 💚 DEBUG SwiftOnAudioQueryPlugin.handle():90 - Ended method call (querySongs)

@waqadArshad
Copy link

@VocsyAniket @dhavalsabhaya1 you guys found a solution?

@Pritykyada
Copy link

anyone found that solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants