Xcode 13 build fails - Module '_Builtin_intrinsics.intel' requires feature 'x86'
Closed this issue · 5 comments
ds8k commented
Bug Description
I'm attempting to add this as a dependency to the sm64ex-ios project but building with Xcode 13 fails with the following error:
module.modulemap:38:19: Module '_Builtin_intrinsics.intel' requires feature 'x86'
Information
- Package version:
master
branch - Platform version: macOS 11.6
- Swift version:
% swift --version
swift-driver version: 1.26.9 Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
Target: x86_64-apple-macosx11.0
Checklist
- If possible, I've reproduced the issue using the
main
/master
branch of this package. - I've searched for existing issues under the issues tab.
- The bug is reproducible
Steps to Reproduce
- Add as a dependency to an existing project in Xcode 13
- Attempt to build
Expected behavior
Dependency builds successfully
Actual behavior
Build fails
Screenshots
pablormago commented
Hi, did you found a solution?? i have the same issue
ctreffs commented
I'm sorry but I can't reproduce this issue. Could you provide a demo project demonstrating the issue?
Are you on an Intel or ARM based mac?
pablormago commented
I solved the problem. The problem was the sandbox. Disabling it solved the problem. Naybe you can put and advise on github for future noob issues.
Ps: I couldnt find a way to embed the sdl2 .dylib library, do you know how to do It?? I made a test project so you can see if there is any mistake. It works ok in my Mac but when i give the app to other people it crashes looking for the sdl2_2....dylib file: https://github.com/pablormago/sdlTest
Thanks in advance
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Christian Treffs ***@***.***>
Sent: Wednesday, March 16, 2022 2:00:48 PM
To: ctreffs/SwiftSDL2 ***@***.***>
Cc: Pablo Jiménez ***@***.***>; Comment ***@***.***>
Subject: Re: [ctreffs/SwiftSDL2] Xcode 13 build fails - Module '_Builtin_intrinsics.intel' requires feature 'x86' (Issue #11)
I'm sorry but I can't reproduce this issue. Could you provide a demo project demonstrating the issue?
Are you on an Intel or ARM based mac?
—
Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACLWJIRAF2VI7ESYUI4TGVDVAHLQBANCNFSM5IHWH34Q>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID: ***@***.***>
ctreffs commented
I'm afraid I don't have an answer to that, since I faced that issue myself before. https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md#requiring-system-libraries does not help either and I couldn't find any information on how to achieve this myself.
pablormago commented
Thanks anyway!! I will continue investigating!!El 29 mar. 2022 9:42, Christian Treffs ***@***.***> escribió:
I'm afraid I don't have an answer to that, since I faced that issue myself before. https://github.com/apple/swift-package-manager/blob/main/Documentation/Usage.md#requiring-system-libraries does not help either and I couldn't find any information on how to achieve this myself.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>