I think my flutter is looking for certain xcode resources at the wrong path from when I had xcode-beta.
Notice it says Xcode-beta.app here:
Unable to locate a bundle at URL file:///Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profi les/DeviceTypes/iPhone SE (3rd generation).simdevicetype
Where do I update this path?
full error:
2022-06-18 23:24:33.191 xcodebuild[87140:10387974] 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-06-18 23:24:33.191 xcodebuild[87140:10387974] 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
2022-06-18 23:24:33.369 xcodebuild[87140:10387987] Unable to locate a bundle at URL
file:///Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profi
les/DeviceTypes/iPhone SE (3rd generation).simdevicetype/
2022-06-18 23:24:33.369 xcodebuild[87140:10387987] Unable to locate a bundle at URL
file:///Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profi
les/Runtimes/iOS.simruntime/
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:19E93EFA-2B83-48DD-A04A-311B6B96EDA5 }
The requested device could not be found because no available devices matched the request.
Available destinations for the "Runner" scheme:
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006001-001260D90C89801E }
Ineligible destinations for the "Runner" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
And add this to the podfile:
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
This has truly given me the most grief out of any issue in my career.
CodePudding user response:
In Xcode 13 Go to General => builds phases => Bundle React Native code and images, delete every file in input files and input files lists and also in output files and output files list. as shown in the following screenshot.
then uncheck Run script "Based on dependency analysis"[![enter image description here][1]][1]