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

Provisioning Profile Issue with Spotify SDK Integration #228

Open
viswajithka997 opened this issue Dec 14, 2024 · 0 comments
Open

Provisioning Profile Issue with Spotify SDK Integration #228

viswajithka997 opened this issue Dec 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@viswajithka997
Copy link

!! Attention !!

FILL IN ALL SECTIONS OF THIS TEMPLATE OR YOUR ISSUE WILL BE CLOSED WITHOUT INVESTIGATION

This is a Flutter package that wraps the native iOS and Android Spotify "remote" SDKs as well as the Spotify Web Playback SDK for web. Since it wraps the native SDKs, it has the same features and limitations. Please use the search functionality in the native SDK repos to find corresponding issues before opening an issue here. If your issue is derived from the native SDKs, you should open an issue there and not in this repo.

Is this a how-to question?

No.

Is this a native Spotify SDK issue?

No, this issue occurs in the Flutter package.

Have you searched for existing issues?

Yes.

Are you using a Free or Premium Spotify account?

Premium.

Are you aware of the limitations of Free Spotify accounts?

Yes.

Expected behavior

The flutter build ipa command should successfully generate an .ipa file for the iOS app, even with the spotify_sdk dependency included in the pubspec.yaml.

Describe the bug

When attempting to create an .ipa file using the flutter build ipa command, the build fails with the following error:

vbnet
Copy code
error: exportArchive "Runner.app" requires a provisioning profile with the Push Notifications and Sign in with Apple features.
I have already enabled the required capabilities (Push Notifications and Sign in with Apple) in Xcode. The build succeeds and the .ipa file is generated if I remove the spotify_sdk dependency from the pubspec.yaml. This indicates that the issue is specifically related to the spotify_sdk package.

Steps to Reproduce

Add spotify_sdk to the pubspec.yaml.
Enable Push Notifications and Sign in with Apple capabilities in Xcode.
Run flutter build ipa.
Observe the build error.
Screenshots

N/A (can include screenshots of the error from the terminal or Xcode if necessary).

Spotify_sdk Flutter package version

Version: 3.0.2
Target Platform, Version & Device

OS & Version: iOS 18
Device: MacBook Pro running Xcode 16.2
Development OS

OS: macOS Sequoia
Additional context

This issue does not occur when the spotify_sdk dependency is removed from the pubspec.yaml. The provisioning profile has been correctly configured to include the required capabilities. This behavior seems to be specific to the spotify_sdk Flutter package.

Please give me a fix as soon as possible

Screenshot 2024-12-14 at 12 57 57 PM
@viswajithka997 viswajithka997 added the bug Something isn't working label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant