-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Description
pod install 后, 强制生成了dSYM。和预编译的dSYM冲突了, 每次都需要手动删除。
Multiple commands produce '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Products/DevDebug-iphoneos/PLMediaStreamingKit/PLMediaStreamingKit.framework.dSYM’
是否可以添加类似如下代码
# Specify different handling for debug and release
spec.user_target_xcconfig = {
'DEBUG_INFORMATION_FORMAT' => 'dwarf', # For debug
'ENABLE_BITCODE' => 'NO'
}
# Don't include dSYM files in the pod
spec.pod_target_xcconfig = {
'SKIP_INSTALL' => 'YES',
'COPY_PHASE_STRIP' => 'NO',
'STRIP_INSTALLED_PRODUCT' => 'NO'
}
# Only include dSYM files for release builds
spec.preserve_paths = ['Pod/Library/*.framework', 'Pod/Library/*.framework.dSYM']
spec.script_phases = {
:name => 'Copy dSYMs',
:script => 'if [ "${CONFIGURATION}" = "Release" ]; then\n cp -r "${PODS_ROOT}/PLMediaStreamingKit/Pod/Library/*.framework.dSYM" "${BUILT_PRODUCTS_DIR}/"\nfi',
:execution_position => :after_compile
}
end
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels