-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Closed
Copy link
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: crashStack traces logged to the consoleStack traces logged to the consoleplatform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
The stub debug App.framework has an x86_64 architecture but links macOS's /usr/lib/libSystem.B.dylib. Crashes when loading on simulator
dyld: Library not loaded: @rpath/App.framework/App
Referenced from: /Users/.../Library/Developer/CoreSimulator/Devices/CB8FE155-8F9C-48EE-A8E7-773318A51146/data/Containers/Bundle/Application/C25C0857-CB0D-4050-9674-5799C61199CF/MyApp.app/MyApp
Reason: no suitable image found. Did find:
/Users/.../Library/Developer/CoreSimulator/Devices/CB8FE155-8F9C-48EE-A8E7-773318A51146/data/Containers/Bundle/Application/C25C0857-CB0D-4050-9674-5799C61199CF/MyApp.app/Frameworks/App.framework/App: mach-o, but not built for iOS simulator
Building for iOS Simulator, but linking in dylib file (/Users/.../Projects/MyApp/Flutter/Debug/App.framework/App) built for macOS
We need to build the stub dylib specifically for the simulator.
Metadata
Metadata
Assignees
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: crashStack traces logged to the consoleStack traces logged to the consoleplatform-iosiOS applications specificallyiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.