https://bugs.kde.org/show_bug.cgi?id=420351

            Bug ID: 420351
           Summary: Grantlee fails to package under macOS due to a dot in
                    lib/granglee/major.minor folder name
           Product: grantlee
           Version: unspecified
          Platform: Other
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: steve...@gmail.com
          Reporter: m...@dawidwrobel.com
            Blocks: 419272
  Target Milestone: 0.2

SUMMARY

Grantle saves some of the libs in a lib/grantlee/major.minor folder. While I
don't think it is a good practice on any platform, it in particular causes the
macOS packaging to fail due to limitations imposed by Xcode codesign tool:

"(..) If you do do this, do not use periods in the directory names. The code
signing machinery interprets directories with periods in their names as code
bundles and will reject them if they don't conform to the expected code bundle
layout" 
(per
https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG201)

STEPS TO REPRODUCE
1. Attempt to package a blueprint that depends on grantlee (directly or
indirectly), e.g. kmymoney 

OBSERVED RESULT
codesign fails to sign with "bundle format unrecognized, invalid, or
unsuitable"

EXPECTED RESULT
codesign to pass properly


ADDITIONAL INFORMATION
Reported upstream: https://github.com/steveire/grantlee/issues/64
Originally reported for kmymoney: https://bugs.kde.org/show_bug.cgi?id=419272


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=419272
[Bug 419272] Apps that put folders with dots in /Frameworks/ folder will fail
to sign
-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to