Skip to content

Can't get a build with push notifications to work #1031

@transparentgeek

Description

@transparentgeek

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

On recommendation from Barry I'm submitting this issue.

I've followed the steps identified here: https://docs.flutterflow.io/settings-and-integrations/app-settings/push-notifications

When I do a deployment through Flutterflow i get the following logged errors:
`Codemagic Deploy Output
Failed Step: Flutter build ipa and automatic versioning

Found build number 3 from TestFlight version 1.0.1

💪 Building with sound null safety 💪

Archiving com.jaymccormack.rvlogbook...
Upgrading contents.xcworkspacedata
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Removing script build phase dependency analysis.
Automatically signing iOS for device deployment using specified development team in Xcode project: R69AA9XMLF
Running pod install... 8.0s
Running Xcode build...
Xcode archive done. 5.4s
Failed to build iOS app
Error (Xcode): Provisioning profile "Logbook and journey planner for your RV or caravan ios_app_store 1685931001" doesn't support the Push Notifications capability.
/Users/builder/clone/ios/Runner.xcodeproj

Error (Xcode): Provisioning profile "Logbook and journey planner for your RV or caravan ios_app_store 1685931001" doesn't include the aps-environment entitlement. Profile qualification is using entitlement definitions that may be out of date. Connect to network to update.
/Users/builder/clone/ios/Runner.xcodeproj

It appears that there was a problem signing your application prior to installation on the device.

Verify that the Bundle Identifier in your project is your signing id in Xcode
open ios/Runner.xcworkspace

Also try selecting 'Product > Build' to fix the problem.
Encountered error while archiving for device.

Build failed :|
Step 10 script Flutter build ipa and automatic versioning exited with status code 1`

Expected Behavior

Hoping for a successful build through to apple dev environment.

Steps to Reproduce

Execute a deployment in the FlutterFlow interface.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4shufq0ItOsbRe7ZCBb8J7/GAUHEB/UL84sctvaw4dfuOvPJoMYczRYklDSOqHfVFPfGKjgXEd7sGNueP1DO4oCEmcGKpSws8IUxDieD6XR5TROrWNOHNRO/JQCn6A1KTQnApTB7Fic1Vm3Tumed6QY3qCf9qOYwx5e6fDbOY=

Context

Trying to implement a test app with push notifications on iPhone.

Visual documentation

NA

Additional Info

No response

Environment

- FlutterFlow version: 3.10.4
- Platform: Web on MacOS in Edge
- Browser name and version: Edge 114.0.1823.55 (Official build) (x86_64)
- Operating system and version affected: macOS Ventura 13.4

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions