Post

Replies

Boosts

Views

Activity

Reply to How to compile arm .s, x86 .s (and .c, .m ) files to a single universal .app in Xcode project ?
Partial solution: let d_tst the directory holding main.c, arm.s, intel.s and source_c a folder of other C files cd d_tst gcc main.c intel.s ./source_c/.c -o x86_app -target x86_64-apple-macos10.12 gcc main.c arm.s ./source_c/.c -o arm_app -target arm64-apple-macos11 lipo -create -output universal_app x86_app arm_app But this work only for command tool with terminal. How to make a universal application with Xcode project and gui (and intel.s, arm.s)? Or to link in a such project ?
Jun ’23