Sean Schroeder
ย ยทย Entrepreneur || Builder

Local Run used to work, now it doesn't.

Troubleshooting

I was enjoying the speed of using local to debug and test versions, but it stopped working for iOS a couple of months ago, and I can't get it working again. I've spent hours and hours over the last couple days and am completely stumped.

Now, I'm trying to address some crashlytics issues that are difficult to diagnose and fix, but no local run for ios is holding me up.

Flutter doctor says everything is good, even the flutter doctor log is good...but I when I go to test an iPhone I get a series of errors.

Also, if I change files locally, won't they just get overwritten next time I test?

Any suggestions?

What have you tried so far?

I tried deleting the "/Users/{user}/Library/Application Support/io.flutterflow.prod.mac" folder. I ran flutter doctor several times, I've updated pods, deleted pods, reinstalled pods, etc.

Errors from log (everything is fine up until this point):

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target Runner to Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig or include the Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig in your build configuration (`Flutter/Release.xcconfig`).
[!] The Runner [Debug] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The Runner [Release] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The Runner [Profile] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in `Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The ImageNotification [Debug] target overrides the CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER build setting defined in `Pods/Target Support Files/Pods-ImageNotification/Pods-ImageNotification.debug.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The ImageNotification [Release] target overrides the CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER build setting defined in `Pods/Target Support Files/Pods-ImageNotification/Pods-ImageNotification.release.xcconfig'. This can lead to problems with the CocoaPods installation
[!] The ImageNotification [Profile] target overrides the CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER build setting defined in `Pods/Target Support Files/Pods-ImageNotification/Pods-ImageNotification.profile.xcconfig'. This can lead to problems with the CocoaPods installation
	- Use the $(inherited) flag, or
	- Remove the build settings from the target.
	- Use the $(inherited) flag, or
	- Remove the build settings from the target.
	- Use the $(inherited) flag, or
	- Remove the build settings from the target.
	- Use the $(inherited) flag, or
	- Remove the build settings from the target.
	- Use the $(inherited) flag, or
	- Remove the build settings from the target.
	- Use the $(inherited) flag, or
	- Remove the build settings from the target.
Launching lib/main.dart on iPhone 15 in debug mode...
Upgrading contents.xcworkspacedata
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Removing script build phase dependency analysis.
Adding input path to Thin Binary build phase.
Running pod install...                                              4.2s
Running Xcode build...                                          
Xcode build done.                                           79.3s
Failed to build iOS app
Error (Xcode): Undefined symbol: OBJCCLASS_$_FIRSnapshotListenOptions
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 15.
Did you check FlutterFlow's Documentation for this topic?
Yes
6
18 replies