Forum Navigation
You need to log in to create posts and topics.

Re: Targeting 10.13 sdk on M1, Monterey 12.3

Posted by: paboyle1703 <paboyle1703@...>

Maybe build to Intel rather than Universal ?


On Mar 17, 2022, at 12:58, Bernie <[email protected]> wrote:



I don't know how long this problem has been around but a simple FB app (HandleEvents only) fails to build with Base SDK set to 10.13 on my M1 Mac:

Linking
  ld: in '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print', malformed universal file: slice content is not mach-o or a static library
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  
CompileFiles() within CompileSource() returned error: 256
Compilation failed in TranslateAndBuild: CompileSource returned error: 256


Builds fine on an Intel Mac running Catalina 10.15.7 so I copied the 10.13 SDK from that Mac to the M1 but still fails. All other SDKs (10.9-10.12 and 10.14-12.3) work fine.

Xcode 13.3

Thoughts?

Bernie



--
To unsubscribe, send ANY message to: [email protected] To access the list archives, go to: http://freegroups.net/groups/futurebasic/



Peter Boyle
FB 7.0.12
OSX 10.14.6
Xcode 10.2
iMac 21.5 Late 2015 
2.8 GHz Intel Core i5


































--
To unsubscribe, send ANY message to: [email protected] To access the list archives, go to: http://freegroups.net/groups/futurebasic/