Can't build XCFrameworks on intel mac (because of ARM requirements) #1418
matkatmusic
started this conversation in
General
Replies: 2 comments 1 reply
-
I'm using an Intel Mac, so there must be more to the story. What operating system and Xcode version are you actually using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
HI @jedisct1 I'm using XCode 15.4 (15F31d) on MacOS Sonoma 14.5. The other thing was that I had to move the apple-xcframework.sh file up one folder level, because every time I ran it, the build_log file said:
Let me know if there is any more information you need to get that script working on another intel mac. btw, libsodium is awesome, such a great and useful framework! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I needed to be able to use libsodium in an iOS project that I'm working on, on my intel iMac.
I had to do some heavy edits to the apple-xcframework.sh file to be able to compile the x86-64 iOS Simulator xcframework of the library.
I think I might be helpful to end users if the apple-xcframework.sh file was split into scripts that build each part separately (macos, ios, watchos, tvos, visionos, ios-sim, watchOS-sim, tvOS-sim, visionOS-sim)
Here's the edited script I ended up with that built the x86-64 framework for the IOS-Simulator:
Beta Was this translation helpful? Give feedback.
All reactions