Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit df74230

Browse files
committed
- Adding codesign --deep to podspec to ensure embedded framework is signed.
1 parent 85f5626 commit df74230

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

DrawKit.podspec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,18 @@ Pod::Spec.new do |s|
2626

2727
s.public_header_files = "DKDrawKit.framework/Headers/*.h"
2828
s.preserve_paths = "DKDrawKit.framework"
29+
2930
s.vendored_frameworks = "DKDrawKit.framework"
3031
s.resource = "DKDrawKit.framework"
3132

33+
s.resource = "DKDrawKit.framework"
34+
3235
s.frameworks = "Cocoa", "QuartzCore"
3336
s.requires_arc = false
34-
s.xcconfig = { "FRAMEWORK_SEARCH_PATHS" => "$\"(PODS_ROOT)/DrawKit/**\"", "LD_RUNPATH_SEARCH_PATHS" => "@loader_path/../Frameworks" }
37+
s.xcconfig = {
38+
"FRAMEWORK_SEARCH_PATHS" => "$\"(PODS_ROOT)/DrawKit/**\"",
39+
"LD_RUNPATH_SEARCH_PATHS" => "@loader_path/../Frameworks",
40+
"OTHER_CODE_SIGN_FLAGS" => "--deep"
41+
}
3542

3643
end

0 commit comments

Comments
 (0)