Building for iOS #206
-
|
Hi there, I'm struggling to understand how to use this PR correctly: https://github.com/rustshop/flakebox/pull/146/files But However, if I add the following to my flake: devShells = flakeboxLib.mkShells {
packages = with pkgs; [
parallel # Needed for pre-commit git-hook
(xcodeenv.composeXcodeWrapper {
versions = [ "16.4" ];
xcodeBaseDir = "/Applications/Xcode.app";
})
];
shellHook = ''
# Unbind outdated Apple SDKs
unset DEVELOPER_DIR
unset SDKROOT
'';
};Then I can run Does anyone have any idea what I should be doing to get compilation working from |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I never got iOS crosscompilation to work correctly. :/ . There has been some improvements over the years, but the toolchain shipped with NixOS seem to still lack ios support/module IIRC, and we're building in |
Beta Was this translation helpful? Give feedback.
-
|
@dpc I see, that's unfortunate, but understandable! I guess for now I can run |
Beta Was this translation helpful? Give feedback.
I never got iOS crosscompilation to work correctly. :/ . There has been some improvements over the years, but the toolchain shipped with NixOS seem to still lack ios support/module IIRC, and we're building in
nix developshell still.