You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation bug from building with iOS Simulator hosted by M1 (SoC)
Probably, dylib for ios-sim on arm64 is missing.
Launching lib/main.dart on iPhone 15 Pro in debug mode...
Running pod install... 1,252ms
Running Xcode build...
└─Compiling, linking and signing... 10.4s
Xcode build done. 35.3s
Failed to build iOS app
Error (Xcode): Building for 'iOS-simulator', but linking in dylib
(../ios/Frameworks/libthorvg.dylib) built for 'iOS'
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.
The text was updated successfully, but these errors were encountered:
Previously, iOS binary is built with lipo (Fat Binary). In the Fat Binary, simulator binary for Apple Silicon cannot be merged in single binary due to the same architecture with iPhone OS.
The ideal approach is to build a xcframework, which is more optimal and suitable as a universal binary.
Installation bug from building with iOS Simulator hosted by M1 (SoC)
Probably,
dylib
for ios-sim on arm64 is missing.The text was updated successfully, but these errors were encountered: