From 9b51c5145ad58d49cefdba24d5bc53abb6017143 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Mon, 11 Nov 2019 00:17:47 +0100 Subject: [PATCH] xcodeenv: bump default Xcode version to 11.1, default iOS SDK to 13.1. Add troubleshooting section to docs --- doc/languages-frameworks/ios.section.md | 12 +++++++++++- pkgs/development/mobile/xcodeenv/build-app.nix | 2 +- .../mobile/xcodeenv/compose-xcodewrapper.nix | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/languages-frameworks/ios.section.md b/doc/languages-frameworks/ios.section.md index 6684b809ffe6..5a81795c004a 100644 --- a/doc/languages-frameworks/ios.section.md +++ b/doc/languages-frameworks/ios.section.md @@ -1,7 +1,7 @@ --- title: iOS author: Sander van der Burg -date: 2018-11-18 +date: 2019-11-10 --- # iOS @@ -217,3 +217,13 @@ xcode.simulateApp { By providing the result of an `xcode.buildApp {}` function and configuring the app bundle id, the app gets deployed automatically and started. + +Troubleshooting +--------------- +In some rare cases, it may happen that after a failure, changes are not picked +up. Most likely, this is caused by a derived data cache that Xcode maintains. +To wipe it you can run: + +```bash +$ rm -rf ~/Library/Developer/Xcode/DerivedData +``` diff --git a/pkgs/development/mobile/xcodeenv/build-app.nix b/pkgs/development/mobile/xcodeenv/build-app.nix index 05ddf5366c72..fa108c8e4706 100644 --- a/pkgs/development/mobile/xcodeenv/build-app.nix +++ b/pkgs/development/mobile/xcodeenv/build-app.nix @@ -1,7 +1,7 @@ {stdenv, composeXcodeWrapper}: { name , src -, sdkVersion ? "12.1" +, sdkVersion ? "13.1" , target ? null , configuration ? null , scheme ? null diff --git a/pkgs/development/mobile/xcodeenv/compose-xcodewrapper.nix b/pkgs/development/mobile/xcodeenv/compose-xcodewrapper.nix index f1941e051bc2..0a469da418a1 100644 --- a/pkgs/development/mobile/xcodeenv/compose-xcodewrapper.nix +++ b/pkgs/development/mobile/xcodeenv/compose-xcodewrapper.nix @@ -1,5 +1,5 @@ {stdenv}: -{version ? "10.1", xcodeBaseDir ? "/Applications/Xcode.app"}: +{version ? "11.1", xcodeBaseDir ? "/Applications/Xcode.app"}: assert stdenv.isDarwin;