14.3 C
London
Saturday, September 7, 2024

ios – Flutter redefinition & fail to compile modules


Launching lib/predominant.dart on iPhone in debug mode…
Xcode construct executed. 4.8s
Did not construct iOS app
Error (Xcode): redefinition of module ‘AppleTextureEncoder’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:0:7

Error (Xcode): redefinition of module ‘Compression’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:5:7

Error (Xcode): redefinition of module ‘Darwin’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:10:7

Error (Xcode): redefinition of module ‘asl’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:792:7

Error (Xcode): redefinition of module ‘dnssd’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/dnssd.modulemap:0:7

Error (Xcode): redefinition of module ‘libunwind’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/libunwind.modulemap:0:7

Error (Xcode): redefinition of module ‘unwind’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/libunwind.modulemap:5:7

Error (Xcode): redefinition of module ‘os’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:798:7

Error (Xcode): redefinition of module ‘os_object’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:841:7

Error (Xcode): redefinition of module ‘os_workgroup’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:845:7

Error (Xcode): redefinition of module ‘libkern’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:855:7

Error (Xcode): redefinition of module ‘kcdata’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/kcdata.modulemap:0:7

Error (Xcode): redefinition of module ‘notify’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:870:7

Error (Xcode): redefinition of module ‘zlib’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:875:7

Error (Xcode): redefinition of module ‘SQLite3’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/module.modulemap:881:7

Error (Xcode): redefinition of module ‘CommonCrypto’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/CommonCrypto/module.modulemap:0:7

Error (Xcode): redefinition of module ‘libxml2’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/libxml2/libxml/module.modulemap:0:7

Error (Xcode): redefinition of module ‘ICU’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/unicode/module.modulemap:0:7

Error (Xcode): redefinition of module ‘Dispatch’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/embody/dispatch/module.modulemap:0:7

Error (Xcode): too many errors emitted, stopping now

Error (Xcode): couldn’t construct module ‘CoreGraphics’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h:16:9

Error (Xcode): couldn’t construct module ‘CoreGraphics’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h:25:9

Error (Xcode): couldn’t construct module ‘CoreGraphics’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h:13:9

Error (Xcode): couldn’t construct module ‘CoreGraphics’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:21:9

Error (Xcode): couldn’t construct module ‘CoreGraphics’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:18:9

Error (Xcode): couldn’t construct module ‘UIKit’
/Customers/username/Desktop/listing/demo/construct/ios/Debug-iphonesimulator/Flutter.framework/Headers/FlutterAppDelegate.h:7:8

Error (Xcode): couldn’t construct module ‘CoreAudio’
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:25:9

Error (Xcode): couldn’t construct module ‘Flutter’
/Customers/username/Desktop/listing/demo/ios/Runner/GeneratedPluginRegistrant.h:9:8

Error (Xcode): didn’t emit precompiled header ‘/Customers/username/Library/Developer/Xcode/DerivedData/Runner-cubwxuuxnlzwfqflguxojeurzhux/Construct/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_1W69QWNC8JOCM-clang_1YE1HF0U0WLTP.pch’ for bridging header ‘/Customers/username/Desktop/Think about Cup/demo/ios/Runner/Runner-Bridging-Header.h’

Couldn’t construct the appliance for the simulator.
Error launching utility on iPhone.

Exited (1).

I’ve tried deleting the derived information file nevertheless it nonetheless doesn’t work. I learn totally different options however I’m nonetheless confused what I can do to unravel this error. I’m not skilled with the iOS software program improvement structure. Can somebody clarify this error, what is definitely the foundation of the error and the way I can resolve this? The flutter app works on android, internet, macOS, something outdoors of iOS.

Latest news

Pup-ular Mechanics

Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here