Skip to content

Fix: iOS simulator build failure #340

@CherryCIC

Description

@CherryCIC

(We may need to restore iOS project files in this issue, feel free to message me if you think this is needed and/ or require support)

Why

As a developer
I want to run the app on iOS without Flutter Stripe build errors
So that I can contribute to Cherry development regardless of platform

Acceptance Criteria

• Given a clean clone of the repo
When I open the iOS project in Xcode
Then the project builds and runs on the iOS simulator without errors
• Given the current pubspec.yaml setup
When I run flutter pub get && cd ios && pod install
Then there are no errors related to flutter_stripe or undefined names like 'internal'
• Given the repo state
When I check the .gitignore
Then I see that:
• ios/Pods/ remains ignored
• ios/Runner.xcodeproj and ios/Podfile.lock are not ignored
• ios/Runner/GoogleService-Info.plist is still ignored
• Given the project is configured correctly

When I commit the above iOS files
Then new developers can run the iOS app from a fresh clone with no local setup issues

Proposed Implementation

•	Fix the .gitignore to:
•	Keep ignoring ios/Pods/
•	Unignore ios/Runner.xcodeproj and ios/Podfile.lock
•	Continue ignoring ios/Runner/GoogleService-Info.plist (same logic as Android’s google-services.json)
•	Re-add and commit:
•	ios/Runner.xcodeproj
•	ios/Podfile.lock
•	For flutter_stripe issue:
•	Investigate Stripe version 12.1.1 and the 'internal' name error
•	Check Flutter SDK version compatibility with flutter_stripe
•	Fix by downgrading flutter_stripe or upgrading Flutter to a known working combo
•	Test on:
•	iOS simulator
•	Android (to confirm it’s not broken by the change)
•	Update the README under “Current iOS Status” with:
•	Working flutter_stripe version
•	Any minimum Flutter version required
•	Reminder that GoogleService-Info.plist is excluded for security and provided separately

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions