Re: Embedded binary is not signed with the same certificate as the parent app
Re: Embedded binary is not signed with the same certificate as the parent app
- Subject: Re: Embedded binary is not signed with the same certificate as the parent app
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Tue, 3 Mar 2020 13:44:53 +0100
Why are you copying that app you are trying to build?
Sent from my iPhone
> On Mar 3, 2020, at 1:11 PM, Gabriel Zachmann <email@hidden> wrote:
>
> Thanks a lot for your response!
>
> Here is the screenshot:
> <PastedGraphic-4.png>
>
> In case the mailing list deletes the screenshot, here is a link :
>
> 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
>
>
>
> 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 <email@hidden> 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
>>> <email@hidden> 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 (email@hidden)
>>>
>>> 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:
>>>
>>> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden