# X86-only plugin on arm64 mac: functions not recognized

**URL:** <https://forum.xojo.com/t/x86-only-plugin-on-arm64-mac-functions-not-recognized/75689>\
**Category:** SDKs\
**Created:** [May 10, 2023, 5:06am UTC](https://forum.xojo.com/t/x86-only-plugin-on-arm64-mac-functions-not-recognized/75689 "2023-05-10T05:06:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Stys](https://forum.xojo.com/letter_avatar_proxy/v4/letter/p/e0b2c6/32.png) [@Peter\_Stys](https://forum.xojo.com/u/Peter_Stys)\
**Post date:** [May 10, 2023, 5:06am UTC](https://forum.xojo.com/t/x86-only-plugin-on-arm64-mac-functions-not-recognized/75689/1 "2023-05-10T05:06:31Z")

</div>

I wrote a plugin for Intel macs (x86 only) a while ago and have moved up to an arm64 MacStudio. Xojo runs and opens my project OK but when i run none of my plugin functions are recognized. The project is set for x86-only build so I was hoping my plugin would simply be loaded and executed under Rosetta. But no joy.  
It will be a while before I update my plugin to universal mainly because of my love-hate relationship with Xcode.  
Is there a way to force x86-only plugins run link and execute under Rosetta on an arm64 Mac in the meantime?

---

<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:** [May 10, 2023, 5:34am UTC](https://forum.xojo.com/t/x86-only-plugin-on-arm64-mac-functions-not-recognized/75689/2 "2023-05-10T05:34:33Z")

</div>

You could force Xojo to run in Rosetta.  
In the Finder, open info window for Xojo and check the checkbox to run Xojo with Rosetta.

---

<div class="post-metadata">

**Author:** ![Peter\_Stys](https://forum.xojo.com/letter_avatar_proxy/v4/letter/p/e0b2c6/32.png) [@Peter\_Stys](https://forum.xojo.com/u/Peter_Stys)\
**Post date:** [May 10, 2023, 5:52am UTC](https://forum.xojo.com/t/x86-only-plugin-on-arm64-mac-functions-not-recognized/75689/3 "2023-05-10T05:52:35Z")

</div>

Brilliant, I should’ve thought of this!  
BTW do you know of a simple example plugin project that demonstrates how to properly build a universal plugin using xcode 14? The example projects provided with xojo all seem like special cases (module, class, etc).

Many thanks Christian.

---

<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:** [May 10, 2023, 6:08am UTC](https://forum.xojo.com/t/x86-only-plugin-on-arm64-mac-functions-not-recognized/75689/4 "2023-05-10T06:08:13Z")

</div>

If you have a project for intel, you may just change what architecture you build for in the build settings in Xcode.  
e.g. pick Standard Architectures and it may do universal.

---

<div class="post-metadata">

**Author:** ![Peter\_Stys](https://forum.xojo.com/letter_avatar_proxy/v4/letter/p/e0b2c6/32.png) [@Peter\_Stys](https://forum.xojo.com/u/Peter_Stys)\
**Post date:** [May 10, 2023, 6:29pm UTC](https://forum.xojo.com/t/x86-only-plugin-on-arm64-mac-functions-not-recognized/75689/5 "2023-05-10T18:29:07Z")

</div>

Thx, I hope it’s that simple! (in my past experience with xcode it never is, hence the love-hate…)
