Using Xcode 9 on macOS 10.15b7

Currently I am developing software that must interfaces with legacy 32-bit applications (that run on older versions of macOS), but I still need to support 64-bit applications running on later versions of macOS as well. As a result, I am building a 32-bit/64-bit fat bundle (Intel only at least). For macOS 10.14, I could have Xcode 9 and Xcode 10 installed side-by-side. I would use Xcode 9 for building (because Xcode 10 deprecated building 32-bit), and then use Xcode 10 for notarisation etc.


I upgraded my Mac to macOS 10.15 beta 7, but now Xcode 9 does not run, I get the following crash:


Process:               Xcode [1882]
Path:                  /Applications/Xcode9.app/Contents/MacOS/Xcode
Identifier:            Xcode
Version:               9.4.1 (14161)
Build Info:            IDEFrameworks-14161000000000000~3 (9F2000)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [1882]
User ID:               501

Date/Time:             2019-09-06 11:35:09.316 +1000
OS Version:            Mac OS X 10.15 (19A546d)
Report Version:        12
Anonymous UUID:        5C8F0FB0-1DEA-467E-2318-F40A71A4C5F6


Time Awake Since Boot: 3100 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    DYLD, [0x4] Symbol missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Symbol not found: _OBJC_IVAR_$_NSFont._fFlags
  Referenced from: /Applications/Xcode9.app/Contents/MacOS/../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
  Expected in: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 in /Applications/Xcode9.app/Contents/MacOS/../SharedFrameworks/DVTKit.framework/Versions/A/DVTKit


Has anyone had any success running Xcode 9 on macOS 10.15?

Replies

I would use Xcode 9 for building …, and then use Xcode 10 for notarisation


what do you expect from this notarization which is not using the built product ?

> what do you expect from this notarization which is not using the built product ?


I'm not sure what you mean. The 32-bit/64-bit binaries are built and signed using Xcode 9, and then packaged into a .dmg file, and then the altool and the stapler tool (from Xcode 10) are used to notarize that .dmg file.


This guide here implies that having multiple versions of Xcode is supported but that only Xcode 10 or later can be used for notarization: https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution/customizing_the_notarization_workflow?language=objc

I would not expect Xcode 9.x to be compatible w/macOS 10.15.x, but you may want to ask via the macOS 10.15 beta forum (doesn't sound like a 'getting started' level scenario).


Good luck.