# Mac x86-64 joining with Mac arm64 and code signing also

**URL:** <https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271>\
**Category:** SDKs\
**Created:** [November 27, 2020, 10:09am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271 "2020-11-27T10:09:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [November 27, 2020, 10:09am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/1 "2020-11-27T10:09:30Z")

</div>

What happened with the case of Xojo joining x86-64 and Mac arm64, is that working at all ?

I seem to get random complaints where it seems to fail to join ?

And the random fails with code signing for some users could that be some sort of mess relating to joining the segments ?

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [November 27, 2020, 10:16am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/2 "2020-11-27T10:16:13Z")

</div>

What fails?

Xojo does take independent plugin dylibs for intel and arm code and joins them for universal builds.  
And then signing is required, which Xojo seems to do with adhoc signatures.

---

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [November 27, 2020, 10:17am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/3 "2020-11-27T10:17:26Z")

</div>

For most cases users report success. But then we see occasional fails and even on same items as work for others.

(Same for Code sign)

It is why I wanted to ask on the join if it was stamped as working, since I know at first there was trouble with it.

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 27, 2020, 10:17am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/4 "2020-11-27T10:17:32Z")

</div>

Which does not work on my MBP M1 :-/

FWW: on my MBP i7 it does adhoc codesign the app though (but should be an option - I created a feedback case for this).

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [November 27, 2020, 10:24am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/5 "2020-11-27T10:24:11Z")

</div>

macOS version?  
I wonder whether adhoc signatures need a recent Xcode installed.

---

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [November 27, 2020, 10:25am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/6 "2020-11-27T10:25:28Z")

</div>

I do not have full data of those. I was just opening this discussion to at first at least verify that the Joining was supposed to be working as intended.

---

<div class="post-metadata">

**Author:** ![ChristopheDV](https://forum.xojo.com/letter_avatar_proxy/v4/letter/c/59ef9b/32.png) [@ChristopheDV](https://forum.xojo.com/u/ChristopheDV)\
**Post date:** [November 27, 2020, 11:05am UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/7 "2020-11-27T11:05:00Z")

</div>

> [@Christian\_Schmitz](#):
>
> macOS version?  
> I wonder whether adhoc signatures need a recent Xcode installed.

Both my M1 and Intel device are running macOS11.0

---

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [November 27, 2020, 12:04pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/8 "2020-11-27T12:04:39Z")

</div>

Re-reading the post from the customer then he can build either x64 build or Apple Silicon that uses EHAES.dylib from e-CryptIt Engine, but if he builds universal then it skips the Apple Silicon segment, thus fails to join as far as I can tell from the info I have.

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [November 27, 2020, 12:50pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/9 "2020-11-27T12:50:38Z")

</div>

> [@Björn\_Eiríksson](#):
>
> but if he builds universal then it skips the Apple Silicon segment,

Are you saying that it skips _building_ or that it skips _signing_ the Apple Silicon segment?

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [November 27, 2020, 12:54pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/10 "2020-11-27T12:54:05Z")

</div>

As Christian noted, it would be helpful to know what version of macOS and Xcode (if at all) are installed on the user’s machine.

And the exact error.

---

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [November 27, 2020, 12:55pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/11 "2020-11-27T12:55:39Z")

</div>

As far as I can tell from the report then it skips joining, he lists some logs that show Xojo Internet Encodings having both arcs and same with rbframework.dylib but the one from my plugin showing only x86\_64 in the universal build.

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [November 27, 2020, 12:58pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/12 "2020-11-27T12:58:18Z")

</div>

Are there any differences in how the two plugin segments are named?

---

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [November 27, 2020, 1:06pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/13 "2020-11-27T13:06:09Z")

</div>

No same naming…and it is the first segment in the plugin…

I just did the same build my self which seems to build fine (I have no Apple Silicon yet to actually run it though)

 ![image](https://forum.xojo.com/uploads/default/original/2X/a/a29a0812dd5bbfa624924b3350a9af6578da5a2a.png)

The library there is about 2x the size of each so its definitely joining for me. My question is a bit on the randomness, where it seems only some are getting strangeness’s like this, same with signing I guess.

User of course might have much more in his project that somehow messes up in the compile

---

<div class="post-metadata">

**Author:** ![Greg\_O\_Lone](https://forum.xojo.com/user_avatar/forum.xojo.com/greg_o_lone/32/49_2.png) [@Greg\_O\_Lone](https://forum.xojo.com/u/Greg_O_Lone)\
**Post date:** [November 27, 2020, 3:59pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/14 "2020-11-27T15:59:21Z")

</div>

We’ll have to check with William, but I’m pretty sure they’re all supposed to end up in a framework now if things are working correctly.

---

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [November 27, 2020, 4:00pm UTC](https://forum.xojo.com/t/mac-x86-64-joining-with-mac-arm64-and-code-signing-also/59271/15 "2020-11-27T16:00:51Z")

</div>

I can try to get more data, and see if the customer can reproduce it in simple example App that he can send us, which I could then forward. So we are not sending you guys on wild goose chase having no good test case.
