Skip to content

Running this breaks my Xcode Runner! #634

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

Open
P-Jay357 opened this issue Mar 15, 2025 · 1 comment
Open

Running this breaks my Xcode Runner! #634

P-Jay357 opened this issue Mar 15, 2025 · 1 comment
Labels

Comments

@P-Jay357
Copy link

P-Jay357 commented Mar 15, 2025

ℹ️ Info

Running the command updates incorrect parameter, which breaks Xcode.

Also, the iOS production icos get generated but Xcode still points to AppIcon instead of the new AppIcon-production. It works with staging fine though.

💬 Description

It generates the files fine, but for some reason it also updates the ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS values in project.pbxproj to be AppIcon-staging, when it's originally just set to YES.

This then breaks the Xcode project and the change has to be reverted.

Also, for the iOS production icon, Xcode still points to the original AppIcon instead of the new AppIcon-production. Staging works great.

I have no issues on Android though!

📜 Pubspec.yaml

Staging:

flutter_launcher_icons:
  image_path: "assets/images/app_icons/staging.png"

  android: true
  min_sdk_android: 21 # android min sdk min:16, default 21

  ios: true
  remove_alpha_ios: true

Prod:

flutter_launcher_icons:
  image_path: "assets/images/app_icons/production.png"

  android: true
  min_sdk_android: 21 # android min sdk min:16, default 21

  ios: true
  remove_alpha_ios: true
@P-Jay357 P-Jay357 added the bug label Mar 15, 2025
@EmelyanovSI
Copy link

#612 (comment)

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

No branches or pull requests

2 participants