-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix: add ios-deploy package to ios shell #15699
Conversation
Jenkins BuildsClick to see older builds (41)
|
911749a
to
1e5493a
Compare
It works:
|
1e5493a
to
fecd809
Compare
I'm getting some weird
And they appear to be specific to Xcode 14.3:
|
Xcode 14.3 appears to be missing ``:
|
I found this workaround in # On Darwin, using clang 6 to build fails because of a linker error (see #105573),
# but using clang 7 fails because libarclite_macosx.a cannot be found when linking
# the xcode_locator tool.
# This patch removes using the -fobjc-arc compiler option and makes the code
# compile without automatic reference counting. Caveat: this leaks memory, but
# we accept this fact because xcode_locator is only a short-lived process used during the build.
(substituteAll {
src = ./no-arc.patch;
multiBinPatch = if stdenv.hostPlatform.system == "aarch64-darwin" then "arm64" else "x86_64";
}) Maybe we can use this |
And I can't copy the files from Xcode 14.2 into Xcode 14.3 because OSX me from modifying the Xcode directory:
|
5564115
to
c4bd20d
Compare
Looks like my workaround is the actual fix in the package: ios-control/ios-deploy@bbd951d But it appears the |
c4bd20d
to
63ae9b8
Compare
Also adds an assertion that gives a better error when trying to use an `ios` Nix shell on an unsupported operating system. Resolves: #15695 Signed-off-by: Jakub Sokołowski <[email protected]>
63ae9b8
to
3e8647d
Compare
Also adds an assertion that gives a better error when trying to use an
ios
Nix shell on an unsupported operating system.Resolves:
ios-deploy
and install on systems that runmake run-ios-device
if not present. #15695