Closed dkikimov closed 3 years ago
I got this erorr:
=== BUILD TARGET Pods-Runner OF PROJECT Pods WITH CONFIGURATION Release ===
ld: '/Users/ies/Desktop/work/ntop/ivo_lite/build/ios/Release-iphoneos/FMDB/libFMDB.a(FMDatabasePool.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated
library from the vendor, or disable bitcode for this target. file '/Users/ies/Desktop/work/ntop/ivo_lite/build/ios/Release-iphoneos/FMDB/libFMDB.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How can I fix it?
I had the same problem
ld: framework not found App
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Same error :V dammmn
xcodebuild: error: The workspace named "Runner" does not contain a scheme named "Runner". The "-list" option can be used to find the names of the schemes in the workspace.
Oops; flutter has exited unexpectedly: "Exit code 65 from: /usr/bin/env xcrun xcodebuild -configuration Debug -quiet -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/oulfe/project/sheger/build/ios -sdk iphonesimulator -arch x86_64 FLUTTER_SUPPRESS_ANALYTICS=true -showBuildSettings".
I got this erorr:
=== BUILD TARGET Pods-Runner OF PROJECT Pods WITH CONFIGURATION Release === ld: '/Users/ies/Desktop/work/ntop/ivo_lite/build/ios/Release-iphoneos/FMDB/libFMDB.a(FMDatabasePool.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file '/Users/ies/Desktop/work/ntop/ivo_lite/build/ios/Release-iphoneos/FMDB/libFMDB.a' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
How can I fix it?
For me the solution was to go to the build settings in Xcode and set 'Enable bitcode' to No (under 'Build Options)
Same here.
xcodebuild: error: The workspace named "Runner" does not contain a scheme named "Runner"
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.12.8-pre.11, on Mac OS X 10.14.6 18G103, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.40.1)
[✓] Connected device (3 available)
Same here.
xcodebuild: error: The workspace named "Runner" does not contain a scheme named "Runner"
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, v1.12.8-pre.11, on Mac OS X 10.14.6 18G103, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 10.3) [✓] Chrome - develop for the web [✓] Android Studio (version 3.5) [✓] VS Code (version 1.40.1) [✓] Connected device (3 available)
I am having this same issue,
Does anyone have an update on the fix?
@Allan-Nava @McLarenCollege the bitcode issue seems unrelated. Please file a new issue.
@lanxuexing That one is definitely unrelated. Please file a new issue.
@KatsuShooter @Cameron-keith @blackbeario Can one of you open ios/Runner.xcworkspace
in Xcode and attach a screenshot of Product > Scheme > Edit Scheme to see what you have?
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
open
ios/Runner.xcworkspace
Hi, I have the same issue. Following the above steps, when I click "Edit Schemes" it doesn't show anything, it seems there are no schemes created. What should I do?
@guihackmann That's different from the Xcode project that gets generated by flutter
. Do you know how you got into that state? Did you edit it at some point? Do you see any schemes in ios/Runner.xcodeproj
?
@guihackmann That's different from the Xcode project that gets generated by
flutter
. Do you know how you got into that state? Did you edit it at some point? Do you see any schemes inios/Runner.xcodeproj
?
I think I just come across the same issue, and before that I clicked "Localize". It appeared on the right hand side column if you open ios/Runner.xcworkspace
(edited) Not sure if it's the same as what others experience, but hope it gives you some clue! And I'm curious for an answer too. My fix was to rebuild the app, but I know there should be another way! Thanks.
`
@sscast @guihackmann
Can one of you open
ios/Runner.xcworkspace
in Xcode and attach a screenshot of Product > Scheme > Edit Scheme to see what you have?
@sscast @guihackmann
Can one of you open
ios/Runner.xcworkspace
in Xcode and attach a screenshot of Product > Scheme > Edit Scheme to see what you have?
I don't have screenshot as I have rebuilt it. I remember if i open ios/Runner.xcworkspace
it's empty, but I can open the Runner with ios/Runner.xcodeproj/
I'm not sure how these workspace/project files were corrupted, but a newly created flutter create
app isn't. If you see this, please file a new issue and completely fill out the template. Check your source control and see if you have any stray edits to ios/Runner*
files.
Closing, I don't think this is actionable.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Trying to build IOS app. It works brilliantly on Android, but when i tried to build it for iOS i had an error.
Why can it be?
Flutter doctor