Posts

Post not yet marked as solved
2 Replies
822 Views
Hello all, Having this scenario:I have sh script running as daemon which controls .app. Basically it makes sure that application is always running.The .app needs to have accessibility permissions so inside it I show popup asking user to enable accessibility and opening the accessibility panel in order to give the .app permissions.My problem is in the list displayed in accessibility preferences it appears the .sh with its icon and not my .app with the icon I have added to it.So I have two questions:Is possible to change the icon to .sh script?Why is OSX asking to give accessibility permissions to the script instead of the .app?Thanks in advance
Posted
by Rulovic.
Last updated
.
Post not yet marked as solved
6 Replies
7.8k Views
Hello,I am creating an application. This application would need to be in accessibility list to work properly.I am using bash script to install it. That script must be run with root privileges. Is it possible to add the application to the list of apps with accessibility permissions? Using bash I meanMy target OS version would be MacOS 10.14 MojaveI have read something about Privileged Helper Tools. Is that the way to go ??If it is not possible to add application to accessibility list using bash. At least is it possible to check if this application is already on that list. I could present popup to the user telling him to do it and then check if it has been addedThanks in advance and Regards
Posted
by Rulovic.
Last updated
.
Post not yet marked as solved
0 Replies
477 Views
hello all,I am using Travis CI to build, sign and notarize MacOS application.My problem is that when I have to upload the application for notarization using:xcrun altool --notarize-app --primary-bundle-id <bundle> --username <apple_id> --password <passwd> --file <file>The upload process gives this error:2019-06-19 21:41:59.620 altool[35802:70182] *** Error: To use this application, you must first sign in to iTunes Connect and sign the relevant contracts. (1048)How can I do that on Command Line? My CI system boots clean VM for each build.Can I maybe sign that agreement online and make it work for all devices ?Any help would be appreciatedThanks in advance
Posted
by Rulovic.
Last updated
.
Post not yet marked as solved
0 Replies
382 Views
I am using CI system to build, sign and notarize MacOS application.My problem is that when I have to upload the application for notarization using:xcrun altool --notarize-app --primary-bundle-id <bundle> --username <apple_id> --password <passwd> --file <file>The upload gives me this error:2019-06-19 21:41:59.620 altool[35802:70182] *** Error: To use this application, you must first sign in to iTunes Connect and sign the relevant contracts. (1048)How can I do that? Since it boots VM to do the job I have no access to GUI to open iTunes Connect log in and so onIs that even possible ?Thanks in advance
Posted
by Rulovic.
Last updated
.
Post not yet marked as solved
0 Replies
711 Views
I need to automatise the process of notarising MacOS application. In order to achieve that I have created generic password:security add-generic-password -a <apple_id> -w <app specific passwd> -s "ALIAS" build.keychain-dbNow to avoid having to enter the password I have added as well:security set-generic-password-partition-list -S apple-tool:,apple: -s "ALIAS" -k <keychain_passwd> <keychain>And finally I run altool command, but I still get popup asking me for keychain password.Does anyone know how to avoid this popup? Everything must be done on command line, so if you could provide with the commands to run, it would be great
Posted
by Rulovic.
Last updated
.
Post not yet marked as solved
1 Replies
785 Views
I have developed an application for MacOS. I am including notarization process as part of its distribution. I have followed all the steps and I have run:xcrun altool --notarize-app --primary-bundle-id "${APP_BUNDLE_ID}" --username "${APPLE_DEV_ID}" --password "${DEV_APP_SPECIFIC_PASSWORD}" --file "${DMG_PATH}"Then I check notarization progress using:xcrun altool --notarization-info "${notarize_uuid}" -u "${APPLE_DEV_ID}" -p "${DEV_APP_SPECIFIC_PASSWORD}Output of it is:RequestUUID: =<Request> Date: 2019-05-26 09:40:34 +0000 Status: success LogFileURL: <Log file> Status Code: 0 Status Message: Package Approved =~ success ]]Then I launch staple command:xcrun stapler staple -v <dmg file>It also ends with success:The staple and validate action worked!However when I extract the .app file and run:spctl --assess --verbose ./macos/MyApp.app ./macos/MyApp.app/: acceptedAccording to the docs I have read it should say something like: “source=Notarized Developer ID”, right?I am running this on MacOS Mojave 10.14.5What am I missing??Could someone help me?Thanks in advance
Posted
by Rulovic.
Last updated
.
Post not yet marked as solved
1 Replies
933 Views
Hello all,I have developed an application for MacOS. I am including notarization process as part of its distribution. I have followed all the steps and I have run:xcrun altool --notarize-app --primary-bundle-id "${APP_BUNDLE_ID}" --username "${APPLE_DEV_ID}" --password "${DEV_APP_SPECIFIC_PASSWORD}" --file "${DMG_PATH}"Then I check notarization progress using:xcrun altool --notarization-info "${notarize_uuid}" -u "${APPLE_DEV_ID}" -p "${DEV_APP_SPECIFIC_PASSWORD}Output of it is:RequestUUID: =<Request> Date: 2019-05-26 09:40:34 +0000 Status: success LogFileURL: <Log file> Status Code: 0 Status Message: Package Approved =~ success ]]Then I launch staple command:xcrun stapler staple -v <dmg file>It also ends with success:The staple and validate action worked!However when I extract the .app file and run:spctl --assess --verbose ./macos/MyApp.app ./macos/MyApp.app/: acceptedAccording to the docs I have read it should say something like: “source=Notarized Developer ID”, right?I am running this on MacOS Mojave 10.14.5What am I missing.Could someone help me?Thanks in advance
Posted
by Rulovic.
Last updated
.