Re: 'altool' cannot be found

2019-06-16 Thread Leo via Cocoa-dev



Thanks Keary,

You helped me solve the issue.

altool was indeed in this folder:

/Applications/Xcode.app/Contents/Developer/usr/bin/

However, xcode-select -p returned /Library/Developer/CommandLineTools

I reset the path with xcode-select -r.

Now everything seems to work.


Thanks,
Leo





On 6/15/19 9:56 AM, Keary Suska wrote:

I am using that Xcode version and for a while now all Xcode utilities and 
command line tools are installed in the Xcode app package. My copy is at 
/Applications/Xcode.app/Contents/Developer/usr/bin/altool. Do you find it in 
that location?

If so, xcrun should be able to find it. If you run xcode-select -p does it show 
the expected path?

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


On Jun 15, 2019, at 12:12 AM, Leo via Cocoa-dev  
wrote:


Hi all,

I wanted to start building a notarization automation script.

However, when I try to use the 'xcrun altool' in Terminal, I get the following 
error:

xcrun: error: unable to find utility "altool", not a developer tool or in PATH

I'm on macOS 10.14.5, Xcode 10.2.1.

I then especially downloaded and installed Xcode Command Line Tools - still get 
same error.

Other tools like stapler do work.

I checked this dir and altool is not there: 
/Library/Developer/CommandLineTools/usr/bin

Any idea what's going on?


Thanks for any help!

Leo
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev%40esoteritech.com

This email sent to cocoa-...@esoteritech.com




___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


'altool' cannot be found

2019-06-14 Thread Leo via Cocoa-dev



Hi all,

I wanted to start building a notarization automation script.

However, when I try to use the 'xcrun altool' in Terminal, I get the 
following error:


xcrun: error: unable to find utility "altool", not a developer tool or 
in PATH


I'm on macOS 10.14.5, Xcode 10.2.1.

I then especially downloaded and installed Xcode Command Line Tools - 
still get same error.


Other tools like stapler do work.

I checked this dir and altool is not there: 
/Library/Developer/CommandLineTools/usr/bin


Any idea what's going on?


Thanks for any help!

Leo
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: How to get log from user

2019-06-14 Thread Leo via Cocoa-dev


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Notarization error: The signature algorithm used is too weak

2019-05-29 Thread Leo via Cocoa-dev





On 5/29/19 1:53 PM, Richard Charles wrote:

On May 28, 2019, at 8:18 PM, Leo via Cocoa-dev  
wrote:

Can you please elaborate on this...

Perhaps this will help.

https://stackoverflow.com/questions/25152451/are-mac-app-store-code-sign-resource-envelopes-always-version-1


Thanks Richard,

The issue is now solved - thanks to someone's advice on Stack Overflow:

https://stackoverflow.com/questions/56351428/macos-notarization-error-the-signature-algorithm-used-is-too-weak 


I need to sign the actual framework first, then re-package it as tar.gz.

I added this process as Run Script phase in Xcode - and the app is 
finally notarized.



Leo
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Is the list alive?

2019-05-29 Thread Leo via Cocoa-dev



On 5/29/19 9:02 AM, Steve Mills via Cocoa-dev wrote:

On May 28, 2019, at 19:46:26, Leo via Cocoa-dev  
wrote:


Hmm... my earlier message today never got through.

Supposedly, these lists are to be done away with at some point. Someone started 
co...@apple-dev.groups.io, which many of us have moved to. Or use the annoying 
and inferior dev forums.developer.apple.com.

--
Steve Mills
Drummer, Mac geek


Thanks for the info.

Now I see that my emails do get through - however, it takes HOURS for 
them to show up (like 5+ hours).


I wonder if it's normal - or should I adjust something on my end?


Leo
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Notarization error: The signature algorithm used is too weak

2019-05-29 Thread Leo via Cocoa-dev





On 5/28/19 9:26 PM, Richard Charles wrote:

On May 28, 2019, at 3:43 PM, Leo via Cocoa-dev  
wrote:

-I recently contacted Apple again and they pointed me to some resource page 
that was created back in 2016. It briefly mentions a similar error - but still 
without any info on how to solve it:
https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG301

-A search on this error didn't produce anything useful.

-The tar.gz file in question is an eSellerate licensing framework. As many 
people may know, it's been a popular licensing??platform for Mac software for 
over a decade. While I switched to a different licensing platform some time 
ago, I still have thousands of customers with eSellerate licenses (as I'm sure 
is the situation with many other Mac developers).

As far as I understand, this whole situation has to do something with signing 
files inside tar.gz archives - on which I couldn't find any info either

Looks to me like your eSellerate framework is signed with a version 1 
signature. You need to resign the framework with a version 2 signature.

--Richard Charles




Thanks Richard,

Can you please elaborate on this...

I'm on Xcode 10 and Mojave. As far as I understand, ever since Mavericks 
it's always version 2 signature.


Or am I missing something?

I don't see any option in codesign to specify the signature version.


Thanks,
Leo
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Is the list alive?

2019-05-29 Thread Leo via Cocoa-dev



Hmm... my earlier message today never got through.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Notarization error: The signature algorithm used is too weak

2019-05-28 Thread Leo via Cocoa-dev




Hi all,

I wonder if anyone's familiar with this error which only happens when I 
send my apps for notarization:


"AppName.zip/AppName.app/Contents/Resources/EWSMacCompress.tar.gz/EWSMacCompress.tar/EWSMac.framework/Versions/A/EWSMac83886082"
"The signature algorithm used is too weak."


Additional info:

-I've been signing my apps for years with no issues. The error only 
happens when sending the apps for notarization.


-I submitted a bug back in November 2018, provided Apple all the info 
they asked for - but it was never addressed further.


-I recently contacted Apple again and they pointed me to some resource 
page that was created back in 2016. It briefly mentions a similar error 
- but still without any info on how to solve it:
https://developer.apple.com/library/archive/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG301 



-A search on this error didn't produce anything useful.

-The tar.gz file in question is an eSellerate licensing framework. As 
many people may know, it's been a popular licensing??platform for Mac 
software for over a decade. While I switched to a different licensing 
platform some time ago, I still have thousands of customers with 
eSellerate licenses (as I'm sure is the situation with many other Mac 
developers).


As far as I understand, this whole situation has to do something with 
signing files inside tar.gz archives - on which I couldn't find any info 
either



Any help will be appreciated!


Thanks,
Leo

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com