Skip to content
Discussion options

You must be logged in to vote

The most likely fix is that the simulator build is still using Xcode 9.3 under the hood even if you installed newer tools. That produces pods compiled against the wrong SDK and the compiler cannot find the cloud_firestore module. Point the command line tools to the current Xcode, clear DerivedData and pods, then rebuild so everything targets the iOS 18 simulator SDK.

Open a terminal and run this exactly

set -euo pipefail
xcode-select --switch /Applications/Xcode.app
xcodebuild -version
xcrun --sdk iphonesimulator --show-sdk-version
rm -rf ~/Library/Developer/Xcode/DerivedData
cd ios
rm -rf Pods Podfile.lock Runner.xcworkspace .symlinks
cd ..
flutter clean
flutter pub get
cd ios
pod repo u…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

@masterAI359
Comment options

@Aqib121201

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development
3 participants