Post

Replies

Boosts

Views

Activity

Is it OK to link libraries from /usr/lib?
I compiled a dynamic library for macOS (open source) When I checked with otool -L abc.dylib it shows that it links several other libraries from /usr/lib/ Is it OK, or Apple may remove these libraries in future versions of macOS? /usr/lib/libz.1.dylib /usr/lib/libiconv.2.dylib /usr/lib/libSystem.B.dylib /usr/lib/libbz2.1.0.dylib /usr/lib/libobjc.A.dylib
0
0
807
Mar ’21
Notarization of two apps - wrong result
When I notarize two apps the same time I get wrong DMG image for second app. I use a command for App1 and then for App2: xcrun altool --notarize-app --primary-bundle-id app1id -u my@email.com -p xxxxxxx --file App1.dmg xcrun altool --notarize-app --primary-bundle-id app2id -u my@email.com -p xxxxxxx --file App2.dmg Then I get an email with a successful notarization, I call xcrun stapler staple App1.dmg xcrun stapler staple App2.dmg DMG with App1 is correct. Signed and notarized. But after stapling DMG with App2 is wrong - it includes App2 and App1 (!) and DMG has increased file size! Of course, I've sent for a notarization only a single App2 in a DMG. What I'm doing wrong? This problem doesn't appear if I send App2 for notarization AFTER successful notarization of App1 and stapling DMG image. macOS 11.1 Big Sur, Apple DTK.
2
0
999
Feb ’21