mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
xcodeenv: bump default Xcode version to 11.1, default iOS SDK to 13.1. Add troubleshooting section to docs
This commit is contained in:
parent
ea288463db
commit
9b51c5145a
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
title: iOS
|
title: iOS
|
||||||
author: Sander van der Burg
|
author: Sander van der Burg
|
||||||
date: 2018-11-18
|
date: 2019-11-10
|
||||||
---
|
---
|
||||||
# iOS
|
# iOS
|
||||||
|
|
||||||
@ -217,3 +217,13 @@ xcode.simulateApp {
|
|||||||
|
|
||||||
By providing the result of an `xcode.buildApp {}` function and configuring the
|
By providing the result of an `xcode.buildApp {}` function and configuring the
|
||||||
app bundle id, the app gets deployed automatically and started.
|
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
|
||||||
|
```
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{stdenv, composeXcodeWrapper}:
|
{stdenv, composeXcodeWrapper}:
|
||||||
{ name
|
{ name
|
||||||
, src
|
, src
|
||||||
, sdkVersion ? "12.1"
|
, sdkVersion ? "13.1"
|
||||||
, target ? null
|
, target ? null
|
||||||
, configuration ? null
|
, configuration ? null
|
||||||
, scheme ? null
|
, scheme ? null
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{stdenv}:
|
{stdenv}:
|
||||||
{version ? "10.1", xcodeBaseDir ? "/Applications/Xcode.app"}:
|
{version ? "11.1", xcodeBaseDir ? "/Applications/Xcode.app"}:
|
||||||
|
|
||||||
assert stdenv.isDarwin;
|
assert stdenv.isDarwin;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user