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: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Tue, 3 Mar 2020 13:18:39 +0100
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 <email@hidden <mailto: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 <mailto: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
>> <mailto: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
>> <http://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