PodToBUILD icon indicating copy to clipboard operation
PodToBUILD copied to clipboard

pod add build setting

Open mapleyuan opened this issue 5 years ago • 1 comments

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 avatar Dec 26 '19 14:12 mapleyuan

@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_BASEand OTHER_LDFLAGS following the patterns there.

rahul-malik avatar Feb 07 '20 15:02 rahul-malik