xcodeenv: bump default Xcode version to 11.1, default iOS SDK to 13.1. Add troubleshooting section to docs

This commit is contained in:
Sander van der Burg 2019-11-11 00:17:47 +01:00
parent ea288463db
commit 9b51c5145a
3 changed files with 13 additions and 3 deletions

View File

@ -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
```

View File

@ -1,7 +1,7 @@
{stdenv, composeXcodeWrapper}:
{ name
, src
, sdkVersion ? "12.1"
, sdkVersion ? "13.1"
, target ? null
, configuration ? null
, scheme ? null

View File

@ -1,5 +1,5 @@
{stdenv}:
{version ? "10.1", xcodeBaseDir ? "/Applications/Xcode.app"}:
{version ? "11.1", xcodeBaseDir ? "/Applications/Xcode.app"}:
assert stdenv.isDarwin;