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
Simulator/Device: Any iPhone Simulator (Note: Physical devices are working fine)
iOS Version: 16.4 & 17.0
Description
After rerunning the app in the iPhone 14 Pro Max simulator, I encountered an unknown argument error -arch arm64 that causes the build to fail. The issue persisted even after reverting all code to the last known working state.
Notably, the error seems to point to a failure in running a custom build command for oslog v0.2.0. As a workaround, removing the super_native_extensions package allows the app to build successfully.
I'm currently on the latest stable version of Flutter but have also tried the beta channel. Both branches of the super_native_extensions package were tested with no success in resolving the issue.
Steps to Reproduce
Add super_drag_and_drop to pub spec.yaml
Run the app on iPhone Simulator
Error Output
Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
main.dart:1
Xcode build done. 10.0s
Failed to build iOS app
Error (Xcode): unknown argument: '-arch arm64'
Error (Xcode): failed to run custom build command for oslog v0.2.0
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
Exited
Attempted Solutions
Reverted all code to last working state
Switched to the beta version of Flutter
Tested both branches of super_native_extensions
Removed super_native_extensions package (successful build but not a viable solution)
Any insights or solutions to resolve this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered:
Turns out using Xcode 14 also works. So that is definitely a viable solution for now but I am very curious why it was previously working fine in Xcode 15.
Environment
Description
After rerunning the app in the iPhone 14 Pro Max simulator, I encountered an unknown argument error
-arch arm64
that causes the build to fail. The issue persisted even after reverting all code to the last known working state.Notably, the error seems to point to a failure in running a custom build command for
oslog v0.2.0
. As a workaround, removing thesuper_native_extensions
package allows the app to build successfully.I'm currently on the latest stable version of Flutter but have also tried the beta channel. Both branches of the
super_native_extensions
package were tested with no success in resolving the issue.Steps to Reproduce
Error Output
Attempted Solutions
super_native_extensions
super_native_extensions
package (successful build but not a viable solution)Any insights or solutions to resolve this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: