Thanks a lot for your response!

Here is the screenshot:

  https://owncloud.informatik.uni-bremen.de/index.php/s/25r8p7kDWqtpgnY 
<https://owncloud.informatik.uni-bremen.de/index.php/s/25r8p7kDWqtpgnY>


If you are curious, here is the source: 
   https://owncloud.informatik.uni-bremen.de/index.php/s/6jZ7rqFGkZ53fsA 
<https://owncloud.informatik.uni-bremen.de/index.php/s/6jZ7rqFGkZ53fsA>



There are no libraries inside the package , just the bare minimum:

Contents% ls -R
Info.plist      MacOS/          PkgInfo         Resources/      _CodeSignature/

./MacOS:
ArtSaverApp*

./Resources:
Base.lproj/

./Resources/Base.lproj:
MainMenu.nib

./_CodeSignature:
CodeResources



> I still think that my previous advice of finding out which lib you are using 
> and turning off code signing for it is the easiest approach.


I am linking to a number of macOS libraries (although not using them in the 
code yet):
Photos, CoreLocation, QuartzCore, ApplicationServices, IOKit, AppKit, 
Foundation, MediaLibrary, Cocoa.

I am not using any other libraries.

How can I turn off code signing for one of those libraries?



Best regards, Gabriel




> On 3. Mar 2020, at 12:47, Alex Zavatone <z...@mac.com <mailto:z...@mac.com>> 
> wrote:
> 
> Please send a screenshot of your copy files phase so we can clearly see what 
> you are trying.
> 
> Thanks.
> 
> Sent from my iPhone
> 
>> On Mar 2, 2020, at 7:12 PM, Gabriel Zachmann via Cocoa-dev 
>> <cocoa-dev@lists.apple.com <mailto:cocoa-dev@lists.apple.com>> wrote:
>> 
>> I have a naked macOS app (created with Xcode's template "App").
>> 
>> I get this funny error message
>> 
>>   Embedded binary is not signed with the same certificate as the parent app
>> 
>> but only, when I switch to Release *and* when I add a Copy Files phase
>> with   Destination = Absolute Path
>> and   Name = MyProduct.app
>> When I compile the Debug version, everything is fine.
>> 
>> I don't think I have an "embedded binary".
>> 
>> One thing that is funny is that in the table of the Copy Files phase, it 
>> says "...in build/Debug".
>> 
>> So I guess I am doing something wrong when I define the Copy Files phase.
>> I just want to copy the executable to a different place directly after 
>> compilation.
>> 
>> Have googled, to no avail.
>> 
>> Could some kind soul explain to me, please, how to define a proper "Copy 
>> Files" phase in XCode 11?
>> Thanks a lot in advance.
>> 
>> 
>> 
>> Best regards, Gabriel
>> 
>> 
>> _______________________________________________
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com 
>> <mailto: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 
>> <http://lists.apple.com/>
>> 
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com 
>> <https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com>
>> 
>> This email sent to z...@mac.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

Reply via email to