Skip to content

Provisioning Profile Issue with Spotify SDK Integration #228

@viswajithka997

Description

@viswajithka997

!! 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions