This is happening with my HomewidgetExtension target (as I checked in Xcode) which I implemented using home_widget plugin.
I tried pod deintegrate/install/update, deleting and restoring flutter, flutter upgrade etc but it was not helpful.
Flutter version:2.10.3
Xcode version: 13.3
macOS Monterey
Please help me.
flutter run results:
`Launching lib/main.dart on iPhone SE (3rd generation) in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 42.5s
Failed to build iOS app
Error output from Xcode build:
↳
2022-03-28 20:49:33.569 xcodebuild[5209:41927] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-03-28 20:49:33.569 xcodebuild[5209:41927] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/v5/kpr5p68x3pq_y1zffc3fycq00000gn/T/flutter_tools.DnSqEu/flutter_ios_build_temp_dirDdzw4s/temporary_xcresult_bundle
ld: framework not found Flutter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
Error (Xcode): Framework not found Flutter
Could not build the application for the simulator.
Error launching application on iPhone SE (3rd generation).`
Related
My Flutter app is working fine for Android devices and simulators and when I try "flutter run" with iOS simulator... I get the following error...
Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
Running pod install... 1,891ms
Running Xcode build...
└─Compiling, linking and signing... 6.4s
Xcode build done. 40.2s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/9k/fjjtmhcd3l7gjlmf46bwrhqh0000gn/T/flutter_tools.ooU1om/flutter_ios_build_temp_dirGCaWjd/temporary_xcresult_bu
ndle
/Users/rishigesan/Documents/GitHub/atreus/vway_taxi/ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal error: module
'audioplayers_darwin' not found
#import audioplayers_darwin;
I can't figure out what to be done to resolve this issue...
I am a flutter newbie and I get this error when trying to run/build for iOS. I tried to clean Xcode, clean flutter, remove flutter, remove iOS folder, remove and re-download Xcode, but still.
No difference when trying to build from Xcode or vscode terminal.
what gets logged :
Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
Xcode build done. 7.3s
Failed to build iOS app
Error output from Xcode build:
↳
2022-07-28 17:04:40.105 xcodebuild[34247:421486] Requested but did not find extension point with identifier
Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in
com.apple.dt.IDEWatchSupportCore
2022-07-28 17:04:40.105 xcodebuild[34247:421486] Requested but did not find extension point with identifier
Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/sy/mftlbsd5489gl3102v5z7fwm0000gp/T/flutter_tools.RmfxI1/flutter_ios_build_temp_dirho9O3B/temporary_xcresult_bundle
Command CompileSwiftSources failed with a nonzero exit code
Command CompileSwiftSources failed with a nonzero exit code
ld: framework not found installDir
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
Result bundle written to path:
/var/folders/sy/mftlbsd5489gl3102v5z7fwm0000gp/T/flutter_tools.RmfxI1/flutter_ios_build_temp_dirho9O3B/temporary_xcresult_bundle
Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code
Error (Xcode): Framework not found installDir
Could not build the application for the simulator.
Error launching application on iPhone 11.
Try to do this:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
I checked my notes and found similar case in my experience.
Try to run these commands twice:
xcrun -sdk iphoneos --show-sdk-path
xcrun -sdk iphoneos --show-sdk-version
xcrun -sdk iphoneos --show-sdk-build-version
xcrun -sdk iphoneos --show-sdk-platform-path
xcrun -sdk iphoneos --show-sdk-platform-version
First run I got error, next time it works.
after I did integrate google maps flutter I couldn't run the by android studio but it runs successfully by the Xcode
Error output from Xcode build:
objc[16091]: Class AMSupportURLConnectionDelegate is implemented in both /usr/Lib/Libamsupport.dylib
(0x1ee18f130) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice
„framework/Versions/A/MobiLeDevice (ex1067bc2c8). One of the two will be used. Which one is undefined.
objc(16091]: Class AMSupportURLSession is implemented in both /us/Lib/Libamsupport.dylib (Oxlee18f180) and
/Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice(0x1067bc318)
One of the two will be used. Which one is undefined.
** BUILD FAILED **
Flutter Performance
Flutter Outine
Flutter Inspector
E TODO
Xcode's output:
Ld: building for 10S Simulator, but Linking in object file built for 10S, file
"/Users/hamada/StudioProjects/3XTravel/ios/Pods/GoogLeMaps/Maps/Frameworks/GoogLeMaps.framework/GoogleMaps'
for architecture arm64
clang: error: Linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: PLanning
note: Build preparation complete
note: Building targets in dependency order
/Users/hamada/StudioProjects/3X Travel/ios/Pods/Pods.xcodeproi: warning: The iOS Simulator deployment
target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported depLoyment target versions
is
9.0 to 15.2.99. (in target
"FMDB" from project
Pods")
/Users/hamada/StudioProjects/3X Travel/ios/Pods/Pods.xcodeproj: warning: The 10S Simulator depLoyment
Running "flutter pub get" in my_app... 362ms
Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
└─Compiling, linking and signing... 1,375ms
Xcode build done. 6.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
ld: framework not found Flutter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Try this
Delete the flutter folder at the FLUTTER PATH, and recopy the same path in the flutter folder.
This is the output when trying to build the basic application when creating a new file. Launching lib/main.dart on iPhone XR in debug mode...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
While building module 'Flutter' imported from /Users/davywavy/Desktop/Flutter Projects/premium/ios/Runner/GeneratedPluginRegistrant.h:8:
In file included from :1:
In file included from /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Flutter.framework/Headers/Flutter.h:37:
In file included from /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:140:58: warning: this block declaration is not a prototype [-Wstrict-prototypes]
completionHandler:(nonnull void (^)())completionHandler;
^
void
1 warning generated.
1 warning generated.
ld: framework not found Flutter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build systemnote: Planning buildnote: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone XR.
Exited (sigterm)
I have tried fixing my path flutter upgrade, flutter doctor -v everything looks right.
Launching lib/main.dart on iPhone XR in debug mode...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
error: /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Debug.xcconfig: unable to open file (in project "Runner") (in target 'Runner')
error: /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Debug.xcconfig: unable to open file (in project "Runner") (in target 'Runner')
error: /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Debug.xcconfig: unable to open file (in project "Runner") (in target 'Runner')
error: /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Debug.xcconfig: unable to open file (in project "Runner") (in target 'Runner')
error: /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Debug.xcconfig: unable to open file (in project "Runner") (in target 'Runner')
error: /Users/davywavy/Desktop/Flutter Projects/premium/ios/Flutter/Debug.xcconfig: unable to open file (in project "Runner") (in target 'Runner')
note: Using new build systemnote: Planning buildnote: Using build description from disk
Could not build the application for the simulator.
Error launching application on iPhone XR.
Exited (sigterm)
new output