I haven't released my software (screensaver) in many years,
so please bear with me, I am not up-to-date any more how this works.
I have tried to create a new scheme, then changed the Build Configuration to
"Release".
But in
Build Phases ⟶ Copy Files
it still says that the product is copied from ... build/Debug.
(The destination is /Users/home/Library/Screen Savers)
I have deleted it and added it to the Copy Files phase again, same result.
On the other hand, when I check /Users/home/Library/Screen
Savers/ArtSaver.saver/Contents/MacOS/ ,
the executable has the right timestamp , and it's file size is slightly less
than the size of the exec
in .../Build/Products/Release/ArtSaver.saver/Contents/MacOS .
So , I am confused.
I have also tried Product ⟶ Archive, which was recommended on the internet, but
then I got this error message:
Multiple commands produce
'/tmp/ArtSaver-hcwtwqkubldekzfijehvpaeowamp/Build/Intermediates.noindex/ArchiveIntermediates/ArtSaver/InstallationBuildProductsLocation/Users/zach/Library/Screen
Savers/ArtSaver.saver':
1) Target 'ArtSaver' has create directory command with output
'/tmp/ArtSaver-hcwtwqkubldekzfijehvpaeowamp/Build/Intermediates.noindex/ArchiveIntermediates/ArtSaver/InstallationBuildProductsLocation/Users/zach/Library/Screen
Savers/ArtSaver.saver'
2) Target 'ArtSaver' has copy command from
'/tmp/ArtSaver-hcwtwqkubldekzfijehvpaeowamp/Build/Intermediates.noindex/ArchiveIntermediates/ArtSaver/BuildProductsPath/Release/ArtSaver.saver'
to
'/tmp/ArtSaver-hcwtwqkubldekzfijehvpaeowamp/Build/Intermediates.noindex/ArchiveIntermediates/ArtSaver/InstallationBuildProductsLocation/Users/zach/Library/Screen
Savers/ArtSaver.saver'
Of course, I tried to find a solution by googling, again to no avail.
I just want to build a release version of my code, with the usual settings,
such as -O3 (or -Os) and stripped debug symbols.
I am fine with copying that out of whatever directory it will end up in.
All hints and pointers will be appreciated.
Thanks a lot in advance for all kinds of insights.
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
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