Skip to content

Commit 28fbe28

Browse files
committed
build: rename TestApp to TestRunner
1 parent 4c1be1f commit 28fbe28

File tree

201 files changed

+45
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+45
-46
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

build_testapp.sh

-21
This file was deleted.

build_testrunner.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
set -e
3+
4+
NATIVESCRIPT_DEVELOPMENT_TEAM=${DEVELOPMENT_TEAM:-}
5+
NATIVESCRIPT_CODE_SIGN_IDENTITY=${NATIVESCRIPT_CODE_SIGN_IDENTITY:-}
6+
NATIVESCRIPT_PROVISIONING_PROFILE_SPECIFIER=${NATIVESCRIPT_PROVISIONING_PROFILE_SPECIFIER:-}
7+
8+
echo "Cleanup"
9+
xcodebuild -project v8ios.xcodeproj -target "TestRunner" -configuration Release clean
10+
11+
echo "Building for ARM64 device"
12+
xcodebuild -project v8ios.xcodeproj -target "TestRunner" -configuration Release -arch arm64 -sdk iphoneos -quiet DEVELOPMENT_TEAM="$NATIVESCRIPT_DEVELOPMENT_TEAM" CODE_SIGN_IDENTITY="$NATIVESCRIPT_CODE_SIGN_IDENTITY" CODE_SIGN_STYLE="Manual" NATIVESCRIPT_PROVISIONING_PROFILE_SPECIFIER="$NATIVESCRIPT_PROVISIONING_PROFILE_SPECIFIER"
13+
14+
(
15+
set -e;
16+
cd "build/Release-iphoneos/";
17+
mkdir Payload;
18+
mv TestRunner.app Payload;
19+
zip -r "TestRunner.ipa" Payload;
20+
mv Payload/TestRunner.app .
21+
)

v8ios.xcodeproj/project.pbxproj

+16-16
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@
849849
C2C8EE7922CF64E4001F8CEC /* SimpleAllocator.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SimpleAllocator.h; sourceTree = "<group>"; };
850850
C2CC8EE822BBA01E00B78928 /* FastEnumerationAdapter.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = FastEnumerationAdapter.mm; sourceTree = "<group>"; };
851851
C2CC8EE922BBA01E00B78928 /* FastEnumerationAdapter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FastEnumerationAdapter.h; sourceTree = "<group>"; };
852-
C2DDEB16229EA89000345BFE /* TestApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
852+
C2DDEB16229EA89000345BFE /* TestRunner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestRunner.app; sourceTree = BUILT_PRODUCTS_DIR; };
853853
C2DDEB26229EA89200345BFE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
854854
C2DDEB32229EAB3B00345BFE /* NativeScript.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = NativeScript.framework; sourceTree = BUILT_PRODUCTS_DIR; };
855855
C2DDEB34229EAB3B00345BFE /* NativeScript.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NativeScript.h; sourceTree = "<group>"; };
@@ -1315,7 +1315,7 @@
13151315
isa = PBXGroup;
13161316
children = (
13171317
C2DDEB33229EAB3B00345BFE /* NativeScript */,
1318-
C2DDEB17229EA89000345BFE /* TestApp */,
1318+
C2DDEB17229EA89000345BFE /* TestRunner */,
13191319
C27E5D8C22F31CCA00498ED0 /* AppWithModules */,
13201320
C29374E3229FC0F60075CB16 /* TestFixtures */,
13211321
C2A5DFE62328C4B900A91A76 /* TKLiveSync */,
@@ -1327,7 +1327,7 @@
13271327
C27E278122202664009C10A3 /* Products */ = {
13281328
isa = PBXGroup;
13291329
children = (
1330-
C2DDEB16229EA89000345BFE /* TestApp.app */,
1330+
C2DDEB16229EA89000345BFE /* TestRunner.app */,
13311331
C2DDEB32229EAB3B00345BFE /* NativeScript.framework */,
13321332
C29374E2229FC0F60075CB16 /* libTestFixtures.a */,
13331333
C2F4CBB322C60BFD0036B56F /* metadata-generator */,
@@ -1600,15 +1600,15 @@
16001600
path = libzip;
16011601
sourceTree = "<group>";
16021602
};
1603-
C2DDEB17229EA89000345BFE /* TestApp */ = {
1603+
C2DDEB17229EA89000345BFE /* TestRunner */ = {
16041604
isa = PBXGroup;
16051605
children = (
16061606
C2DDEBDD229EB4A900345BFE /* app */,
16071607
C2DDEBDA229EB37A00345BFE /* Source Files */,
16081608
C2DDEB26229EA89200345BFE /* Info.plist */,
16091609
C266567722AA405100EE15CC /* Default-568h@2x.png */,
16101610
);
1611-
path = TestApp;
1611+
path = TestRunner;
16121612
sourceTree = "<group>";
16131613
};
16141614
C2DDEB33229EAB3B00345BFE /* NativeScript */ = {
@@ -1934,9 +1934,9 @@
19341934
productReference = C2A5DFE52328C4B900A91A76 /* libTKLiveSync.a */;
19351935
productType = "com.apple.product-type.library.static";
19361936
};
1937-
C2DDEB15229EA89000345BFE /* TestApp */ = {
1937+
C2DDEB15229EA89000345BFE /* TestRunner */ = {
19381938
isa = PBXNativeTarget;
1939-
buildConfigurationList = C2DDEB29229EA89200345BFE /* Build configuration list for PBXNativeTarget "TestApp" */;
1939+
buildConfigurationList = C2DDEB29229EA89200345BFE /* Build configuration list for PBXNativeTarget "TestRunner" */;
19401940
buildPhases = (
19411941
C2F4CBBD22C61D480036B56F /* ShellScript */,
19421942
C2DDEB12229EA89000345BFE /* Sources */,
@@ -1951,9 +1951,9 @@
19511951
C293752B229FC4740075CB16 /* PBXTargetDependency */,
19521952
C2F4CBBC22C61CF20036B56F /* PBXTargetDependency */,
19531953
);
1954-
name = TestApp;
1955-
productName = TestApp;
1956-
productReference = C2DDEB16229EA89000345BFE /* TestApp.app */;
1954+
name = TestRunner;
1955+
productName = TestRunner;
1956+
productReference = C2DDEB16229EA89000345BFE /* TestRunner.app */;
19571957
productType = "com.apple.product-type.application";
19581958
};
19591959
C2DDEB31229EAB3B00345BFE /* NativeScript */ = {
@@ -2034,7 +2034,7 @@
20342034
projectDirPath = "";
20352035
projectRoot = "";
20362036
targets = (
2037-
C2DDEB15229EA89000345BFE /* TestApp */,
2037+
C2DDEB15229EA89000345BFE /* TestRunner */,
20382038
C27E5D8A22F31CC900498ED0 /* AppWithModules */,
20392039
C2DDEB31229EAB3B00345BFE /* NativeScript */,
20402040
C29374E1229FC0F60075CB16 /* TestFixtures */,
@@ -2695,7 +2695,7 @@
26952695
"$(SRCROOT)/NativeScript",
26962696
"$(SRCROOT)/TestFixtures",
26972697
);
2698-
INFOPLIST_FILE = TestApp/Info.plist;
2698+
INFOPLIST_FILE = TestRunner/Info.plist;
26992699
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
27002700
LD_RUNPATH_SEARCH_PATHS = (
27012701
"$(inherited)",
@@ -2717,7 +2717,7 @@
27172717
__TNSSnapshot,
27182718
"$(SRCROOT)/project-template/internal/snapshots/snapshot_blob-$(CURRENT_ARCH).bin",
27192719
);
2720-
PRODUCT_BUNDLE_IDENTIFIER = org.testapp.TestApp;
2720+
PRODUCT_BUNDLE_IDENTIFIER = org.nativescript.TestRunner;
27212721
PRODUCT_NAME = "$(TARGET_NAME)";
27222722
PROVISIONING_PROFILE_SPECIFIER = $NATIVESCRIPT_PROVISIONING_PROFILE_SPECIFIER;
27232723
STRIPFLAGS = "-s $(PROJECT_DIR)/TestFixtures/exported-symbols.txt";
@@ -2738,7 +2738,7 @@
27382738
"$(SRCROOT)/NativeScript",
27392739
"$(SRCROOT)/TestFixtures",
27402740
);
2741-
INFOPLIST_FILE = TestApp/Info.plist;
2741+
INFOPLIST_FILE = TestRunner/Info.plist;
27422742
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
27432743
LD_RUNPATH_SEARCH_PATHS = (
27442744
"$(inherited)",
@@ -2760,7 +2760,7 @@
27602760
__TNSSnapshot,
27612761
"$(SRCROOT)/project-template/internal/snapshots/snapshot_blob-$(CURRENT_ARCH).bin",
27622762
);
2763-
PRODUCT_BUNDLE_IDENTIFIER = org.testapp.TestApp;
2763+
PRODUCT_BUNDLE_IDENTIFIER = org.nativescript.TestRunner;
27642764
PRODUCT_NAME = "$(TARGET_NAME)";
27652765
PROVISIONING_PROFILE_SPECIFIER = $NATIVESCRIPT_PROVISIONING_PROFILE_SPECIFIER;
27662766
STRIPFLAGS = "-s $(PROJECT_DIR)/TestFixtures/exported-symbols.txt";
@@ -2963,7 +2963,7 @@
29632963
defaultConfigurationIsVisible = 0;
29642964
defaultConfigurationName = Release;
29652965
};
2966-
C2DDEB29229EA89200345BFE /* Build configuration list for PBXNativeTarget "TestApp" */ = {
2966+
C2DDEB29229EA89200345BFE /* Build configuration list for PBXNativeTarget "TestRunner" */ = {
29672967
isa = XCConfigurationList;
29682968
buildConfigurations = (
29692969
C2DDEB2A229EA89200345BFE /* Debug */,

v8ios.xcodeproj/xcshareddata/xcschemes/TestApp.xcscheme renamed to v8ios.xcodeproj/xcshareddata/xcschemes/TestRunner.xcscheme

+8-9
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
1717
BlueprintIdentifier = "C2DDEB15229EA89000345BFE"
18-
BuildableName = "TestApp.app"
19-
BlueprintName = "TestApp"
18+
BuildableName = "TestRunner.app"
19+
BlueprintName = "TestRunner"
2020
ReferencedContainer = "container:v8ios.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
@@ -31,8 +31,8 @@
3131
<BuildableReference
3232
BuildableIdentifier = "primary"
3333
BlueprintIdentifier = "C2DDEB15229EA89000345BFE"
34-
BuildableName = "TestApp.app"
35-
BlueprintName = "TestApp"
34+
BuildableName = "TestRunner.app"
35+
BlueprintName = "TestRunner"
3636
ReferencedContainer = "container:v8ios.xcodeproj">
3737
</BuildableReference>
3838
</MacroExpansion>
@@ -48,7 +48,6 @@
4848
useCustomWorkingDirectory = "NO"
4949
ignoresPersistentStateOnLaunch = "NO"
5050
debugDocumentVersioning = "YES"
51-
stopOnEveryUBSanitizerIssue = "YES"
5251
migratedStopOnEveryIssue = "YES"
5352
debugServiceExtension = "internal"
5453
allowLocationSimulation = "YES">
@@ -57,8 +56,8 @@
5756
<BuildableReference
5857
BuildableIdentifier = "primary"
5958
BlueprintIdentifier = "C2DDEB15229EA89000345BFE"
60-
BuildableName = "TestApp.app"
61-
BlueprintName = "TestApp"
59+
BuildableName = "TestRunner.app"
60+
BlueprintName = "TestRunner"
6261
ReferencedContainer = "container:v8ios.xcodeproj">
6362
</BuildableReference>
6463
</BuildableProductRunnable>
@@ -74,8 +73,8 @@
7473
<BuildableReference
7574
BuildableIdentifier = "primary"
7675
BlueprintIdentifier = "C2DDEB15229EA89000345BFE"
77-
BuildableName = "TestApp.app"
78-
BlueprintName = "TestApp"
76+
BuildableName = "TestRunner.app"
77+
BlueprintName = "TestRunner"
7978
ReferencedContainer = "container:v8ios.xcodeproj">
8079
</BuildableReference>
8180
</BuildableProductRunnable>

0 commit comments

Comments
 (0)