new in flutter issue with iOS simulator

1,625 views
Skip to first unread message

anneewo

unread,
Dec 15, 2019, 2:48:29 AM12/15/19
to Flutter Development (flutter-dev)
Hello everyone,
I'm a real beginner trying to learn dev with flutter, step by step. I'm really willing to research to solve issues, and it worked till now, but this one I don't find any solution by myself, so I'm going to bother you with something that must be quite basic, and I'm sorry for that!
My issue is that I installed flutter SDK, I'm on macOS Catalina, after struggling a bit everything's ok now and flutter doctor is happy and found no issues anymore. I installed an iOS simulator and an Android emulator, and running the app on the Pixel_2 emulator works perfectly, but on the iOS simulator I get this message from the console:

Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done.                                           30,7s
Failed to build iOS app
Error output from Xcode build:
    ** BUILD FAILED **


Xcode's output:
    /Users/anne/Documents/flutter_apps/my_first_flutter_app/build/ios/Debug-iphonesimulator/Runner.app: resource fork, Finder information, or similar detritus not allowed
    Command CodeSign failed with a nonzero exit code
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

Maybe it's relevant to say that the iOS simulator worked perfectly for a bit.

I updated Flutter and Xcode, but no changes...
Many thanks if someone can see clearly through this!

Jason Phan

unread,
Dec 16, 2019, 8:26:39 AM12/16/19
to anneewo, Flutter Development (flutter-dev)
Hi Anne, 

Did you sign the iOS project? If not, check step 2 under Deploy to iOS Devices -https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices


Kiss a turtle,
Jason


--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/dfd8f0db-f45e-4c65-96ae-6b7fb158d541%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages