Post

Replies

Boosts

Views

Activity

Reply to "JIT session error: Symbols not found" when running swift command-line tool
Just spent a couple of days trying to figure this out to no avail. Mine is a similar one in that i am using an own generated Module. Which i build using xcodebuild xcodebuild archive -workspace ${workspace} -scheme ${scheme} \ -sdk macosx13.0 \ -arch arm64e \ -arch arm64 \ -arch x86_64 \ -archivePath ${output_path} \ ONLY_ACTIVE_ARCH=NO \ SKIP_INSTALL=NO \ BUILD_LIBRARY_FOR_DISTRIBUTION=YES \ Then xcodebuild -create-xcframework \ -framework ${framework_path} \ -output "${shared_path}/${scheme}.xcframework" This works fine on intel macs (Even after building with xcode 14 beta). But now fails on M1 macs with JIT session error: Symbols not found: [ _$s...... I don't think It has to do with the arch setup as the same build previously work with xcode 13 for both M1 and Intel., The recently released XCode 14 beta 4 does not seem to fix this. Hopefully we get a solution by RC as this is clearly a bug in the toolchain
Jul ’22