Skip to content

Commit

Permalink
xcodeenv: bump default Xcode version to 11.1, default iOS SDK to 13.1…
Browse files Browse the repository at this point in the history
…. Add troubleshooting section to docs
  • Loading branch information
svanderburg committed Nov 10, 2019
1 parent ea28846 commit 9b51c51
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion 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

Expand Down Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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;

Expand Down

0 comments on commit 9b51c51

Please sign in to comment.