Hi, I’m currently trying to port our app to 10.12 using Xcode 8 beta 2. Our app here still supports Mac OS X 10.9, so I need to target that platform. I’ve been having trouble with compiling or running the app. The problems seems to stem from changes in the System libraries. I can compile with macOS 10.12 and it runs fine on that platform. However, trying to run it on 10.11 fails because of newly introduced syscalls, namely clock_gettime. Here’s an excerpt of my crash log: Dyld Error Message: Symbol not found: _clock_gettime Referenced from: /Applications/Lima.app/Contents/MacOS/ecore Expected in: /usr/lib/libSystem.B.dylib clock_gettime is used in from libevent. libevent builds using autoconf and checked for glock_gettime, and otherwise used a workaround. If I try to compile from 10.11 using the 10.12 SDK, I get the following error at link time. ld: file not found: /usr/lib/system/libsystem_symptoms.dylib for architecture x86_64 This library is linked from libSystem in the 10.12 SDK. Strangely, the problematic syscall – clock_gettime – is marked in the 10.12 SDK as introduced with 10.12, but the linker only links it as a weak symbol, which causes the crash at run-time. I’m trying to find a way to either build for 10.12 from 10.11, or build from 10.12 and run for lower versions. Any ideas? |
ecore_2016-07-19-090339_iChrales.crash
Description: Binary data
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to arch...@mail-archive.com