DerivedData/ShortcutRecorder/Build/Intermediates.noindex/ShortcutRecorder.build/Debug//ShortcutRecorder-generated-files.hmap DerivedData/ShortcutRecorder/Index/DataStore Werror=non-modular-include-in-framework-module Wnon-modular-include-in-framework-module fmodules-validate-once-per-build-session fbuild-session-file=./DerivedData/ModuleCache.noindex/Session.modulevalidation fmodules-cache-path=./DerivedData/ModuleCache.noindex Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang Same file via Xcode and ShortcutRecorder.xcodeproj: o /private/tmp/example/.build/x86_64-apple-macosx/debug/ShortcutRecorder.build/SRCommon.m.o c /private/tmp/example/.build/checkouts/ShortcutRecorder/Sources/ShortcutRecorder/SRCommon.m MF /private/tmp/example/.build/x86_64-apple-macosx/debug/ShortcutRecorder.build/SRCommon.m.d include /private/tmp/example/.build/x86_64-apple-macosx/debug/ShortcutRecorder.build/DerivedSources/resource_bundle_accessor.h I/private/tmp/example/.build/checkouts/ShortcutRecorder/Sources/ShortcutRecorder/include fmodules-cache-path=/private/tmp/example/.build/x86_64-apple-macosx/debug/ModuleCache I /private/tmp/example/.build/checkouts/ShortcutRecorder/Sources/ShortcutRecorder/include/ShortcutRecorder index-store-path /private/tmp/example/.build/x86_64-apple-macosx/debug/index/store F /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/Library/Frameworks isysroot /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.15.sdk Library/Developer/Toolchains//usr/bin/clang Here is the output of compiling SRCommon.m.o as part of the executable via `swift build`: When I build the framework using Xcode from ShortcutRecorder.xcodeproj the compiler does not insert these calls. I'm surprised to see these symbols as there are no C++ or Objective-C++ files in my project. Undefined symbols for architecture x86_64: However, when I'm trying to build it via swift build I get: To test it I generated an executable package with swift package init -type executable and then added a dependency as following. I'm using the 5.3 snapshot from June 2nd to add support for SPM to my pure Objective-C framework with resources:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |