Post

Replies

Boosts

Views

Activity

Comment on Xcode: Perform Single-object Prelink in xcodebuild
I'm using CocoaPods to manage my project. In the pod_target_xcconfig of file .podspec, I added the following configurations: "GENERATE_PRELINK_OBJECT_FILE" => "YES", "LLVM_PRELINK_OBJECT" => "YES", "LLVM_LTO" => "YES_THIN", "OTHER_LDFLAGS" => "$(inherited) -flto=thin -Wl,-object_path_lto,$(TARGET_TEMP_DIR)/$(PRODUCT_NAME)_lto.o" However, when compiling with xcodebuild, prelink is still not working.
Oct ’25