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
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Is it possible to check a code signature of another application bundle on Objective C?
Our app has Auto Update function. We need to check the downloaded APP bundle from a ZIP to make sure that it's our application (valid signature and our name in the signature) before run it.
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.