PodToBUILD
PodToBUILD copied to clipboard
pod add build setting
it is not working when i add xcode build setting flag like this: s.pod_target_xcconfig = {'METAL_LIBRARY_FILE_BASE' =>, 'HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)" "$(PODS_TARGET_SRCROOT)/3rd_party/flatbuffers/include" ''} s.user_target_xcconfig = { 'OTHER_LDFLAGS' => '-force_load $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME'}
@mapleyuan - Do you know how these changes affect the actual compiler / linker invocations?
We have specific XCConfig options handled in https://github.com/pinterest/PodToBUILD/blob/9f12b02543218671f2c459ecb8c4fdbede5db987/Sources/PodToBUILD/XCConfig.swift
You can likely just put up a PR for METAL_LIBRARY_FILE_BASE
and OTHER_LDFLAGS
following the patterns there.