titaniumenv: Use new xcodeenv simulate function in the example app
This commit is contained in:
parent
f58b563cb6
commit
0100e79d7a
|
@ -66,18 +66,11 @@ rec {
|
|||
target = "iphone";
|
||||
};
|
||||
|
||||
simulate_kitchensink_iphone = import ./simulate-kitchensink {
|
||||
simulate_kitchensink = import ./simulate-kitchensink {
|
||||
inherit (pkgs) stdenv;
|
||||
xcodeenv = pkgs.xcodeenv.override { version = xcodeVersion; inherit xcodeBaseDir; };
|
||||
kitchensink = kitchensink_ios_development;
|
||||
device = "iPhone";
|
||||
};
|
||||
|
||||
simulate_kitchensink_ipad = import ./simulate-kitchensink {
|
||||
inherit (pkgs) stdenv;
|
||||
xcodeenv = pkgs.xcodeenv.override { version = xcodeVersion; inherit xcodeBaseDir; };
|
||||
kitchensink = kitchensink_ios_development;
|
||||
device = "iPad";
|
||||
bundleId = if rename then newBundleId else "com.appcelerator.kitchensink";
|
||||
};
|
||||
} else {}) // (if rename then
|
||||
let
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{stdenv, xcodeenv, kitchensink, device}:
|
||||
{stdenv, xcodeenv, kitchensink, bundleId}:
|
||||
|
||||
xcodeenv.simulateApp {
|
||||
name = "simulate-${kitchensink.name}-${stdenv.lib.replaceChars [" " "(" ")"] ["_" "" ""] device}";
|
||||
appName = "KitchenSink";
|
||||
app = kitchensink;
|
||||
inherit device;
|
||||
baseDir = "build/iphone/build/Debug-iphonesimulator";
|
||||
name = "simulate-${kitchensink.name}";
|
||||
inherit bundleId;
|
||||
app = "${kitchensink}/build/iphone/build/Debug-iphonesimulator";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue