Native: move samples to backend.native/tests/

This commit is contained in:
Svyatoslav Scherbina
2022-08-26 11:50:39 +02:00
committed by Space
parent b7337d2e64
commit 7bf6d64cfb
94 changed files with 94 additions and 93 deletions
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder.WatchKit.Storyboard" version="3.0" toolsVersion="11134" targetRuntime="watchKit" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11106"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBWatchKitPlugin" version="11055"/>
</dependencies>
<scenes/>
</document>
@@ -0,0 +1,114 @@
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType
plugins {
kotlin("multiplatform")
}
allprojects {
repositories {
jcenter()
}
}
val sdkName: String? = System.getenv("SDK_NAME")
enum class Target(val simulator: Boolean, val key: String) {
WATCHOS_X86(true, "watchos"), WATCHOS_ARM64(false, "watchos"),
IOS_X64(true, "ios"), IOS_ARM64(false, "ios")
}
val target = sdkName.orEmpty().let {
when {
it.startsWith("iphoneos") -> Target.IOS_ARM64
it.startsWith("iphonesimulator") -> Target.IOS_X64
it.startsWith("watchos") -> Target.WATCHOS_ARM64
it.startsWith("watchsimulator") -> Target.WATCHOS_X86
else -> Target.WATCHOS_X86
}
}
val buildType = System.getenv("CONFIGURATION")?.let {
NativeBuildType.valueOf(it.toUpperCase())
} ?: NativeBuildType.DEBUG
kotlin {
// Declare a target.
// We declare only one target (either arm64 or x64)
// to workaround lack of common platform libraries
// for both device and simulator.
val ios = if (!target.simulator ) {
// Device.
iosArm64("ios")
} else {
// Simulator.
iosX64("ios")
}
val watchos = if (!target.simulator) {
// Device.
watchosArm64("watchos")
} else {
// Simulator.
watchosX86("watchos")
}
// Declare the output program.
ios.binaries.executable(listOf(buildType)) {
baseName = "app"
}
watchos.binaries.executable(listOf(buildType)) {
baseName = "watchapp"
entryPoint = "sample.watchos.main"
}
// Configure dependencies.
val appleMain by sourceSets.creating {
dependsOn(sourceSets["commonMain"])
}
sourceSets["iosMain"].dependsOn(appleMain)
sourceSets["watchosMain"].dependsOn(appleMain)
sourceSets {
all {
languageSettings.optIn("kotlin.native.SymbolNameIsInternal")
}
}
}
// Create Xcode integration tasks.
val targetBuildDir: String? = System.getenv("TARGET_BUILD_DIR")
val executablePath: String? = System.getenv("EXECUTABLE_PATH")
val currentTarget = kotlin.targets[target.key] as KotlinNativeTarget
val kotlinBinary = currentTarget.binaries.getExecutable(buildType)
val xcodeIntegrationGroup = "Xcode integration"
val packForXCode = if (sdkName == null || targetBuildDir == null || executablePath == null) {
// The build is launched not by Xcode ->
// We cannot create a copy task and just show a meaningful error message.
tasks.create("packForXCode").doLast {
throw IllegalStateException("Please run the task from Xcode")
}
} else {
// Otherwise copy the executable into the Xcode output directory.
tasks.create("packForXCode", Copy::class.java) {
dependsOn(kotlinBinary.linkTask)
destinationDir = file(targetBuildDir)
val dsymSource = kotlinBinary.outputFile.absolutePath + ".dSYM"
val dsymDestination = file(executablePath).parentFile.name + ".dSYM"
val oldExecName = kotlinBinary.outputFile.name
val newExecName = file(executablePath).name
from(dsymSource) {
into(dsymDestination)
rename(oldExecName, newExecName)
}
from(kotlinBinary.outputFile) {
rename { executablePath }
}
}
}
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>WKWatchKitApp</key>
<true/>
</dict>
</plist>
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>controllers</key>
<dict>
<key>controller-AgC-eL-Hgc</key>
<dict>
<key>controllerClass</key>
<string>Watchapp3InterfaceController</string>
</dict>
</dict>
<key>root</key>
<string>controller-AgC-eL-Hgc</string>
</dict>
</plist>
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>WKAppBundleIdentifier</key>
<string>com.jetbrains.watchapp0.watchapp3.watchkitapp</string>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.watchkit</string>
</dict>
<key>WKExtensionDelegateClassName</key>
<string>Watchapp3ExtensionDelegate</string>
<key>WKWatchOnly</key>
<true/>
</dict>
</plist>
@@ -0,0 +1,54 @@
name: watchosSample
options:
bundleIdPrefix: com.jetbrains.watchapp0
settings:
DEVELOPMENT_TEAM: N462MKSJ7M
CODE_SIGN_IDENTITY: "iPhone Developer"
CODE_SIGN_STYLE: Automatic
MARKETING_VERSION: "1.0"
CURRENT_PROJECT_VERSION: "4"
SDKROOT: iphoneos
targets:
watchapp3.watchkitapp.watchkitextension:
type: watchkit2-extension
platform: watchOS
sources:
- "plists/Ext"
- "src/"
prebuildScripts:
- script: cd "$SRCROOT" && ../gradlew -p .. packForXCode
name: GradleCompile
info:
path: plists/Ext/Info.plist
properties:
WKWatchOnly: true
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
WKExtensionDelegateClassName: Watchapp3ExtensionDelegate
NSExtension:
NSExtensionAttributes:
WKAppBundleIdentifier: com.jetbrains.watchapp0.watchapp3.watchkitapp
NSExtensionPointIdentifier: com.apple.watchkit
watchapp3.watchkitapp:
type: application.watchapp2
platform: watchOS
dependencies:
- target: "watchapp3.watchkitapp.watchkitextension"
sources:
- "plists/App"
- "plists/App/Interface.plist"
info:
path: plists/App/Info.plist
properties:
WKWatchKitApp: true
CFBundleShortVersionString: $(MARKETING_VERSION)
CFBundleVersion: $(CURRENT_PROJECT_VERSION)
settings:
ENABLE_BITCODE: "YES"
ONLY_ACTIVE_ARCH: "YES"
VALID_ARCHS: $(ARCHS_STANDARD)
watchapp3:
type: application.watchapp2-container
platform: iOS
dependencies:
- target: "watchapp3.watchkitapp"
@@ -0,0 +1,64 @@
/*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package sample.watchos
import kotlinx.cinterop.*
import platform.Foundation.*
import platform.WatchKit.*
import platform.darwin.NSObject
// Standard entry point for WatchKit applications.
@SymbolName("WKExtensionMain")
external fun WKExtensionMain(argc: Int, argv: CPointer<CPointerVar<ByteVar>>)
fun main(args: Array<String>) {
memScoped {
val argc = args.size + 1
val argv = (arrayOf("konan") + args).map { it.cstr.ptr }.toCValues()
autoreleasepool {
WKExtensionMain(argc, argv.ptr)
}
}
}
// Name of this class is mentioned in Info.plist.
@ExportObjCClass
@Suppress("CONFLICTING_OVERLOADS")
class Watchapp3ExtensionDelegate : NSObject, WKExtensionDelegateProtocol {
@OverrideInit constructor() : super() {
println("constructor Watchapp3ExtensionDelegate")
}
override fun applicationDidFinishLaunching() {
println("applicationDidFinishLaunching")
}
}
// Name of this class is mentioned in Interface.plist.
@ExportObjCClass
class Watchapp3InterfaceController : WKInterfaceController {
@OverrideInit constructor() : super() {
println("constructor Watchapp3InterfaceController")
}
override fun didAppear() {
println("didAppear")
presentTextInputControllerWithSuggestions(null, WKTextInputMode.WKTextInputModeAllowAnimatedEmoji) {
results ->
println("printed $results")
}
}
override fun awakeWithContext(context: Any?) {
super.awakeWithContext(context)
println("awakeWithContext $context")
if (context == null) {
setTitle("Kotlin/Native sample")
}
}
}
@@ -0,0 +1,519 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objects = {
/* Begin PBXBuildFile section */
2E2A2A9B9037D7A4B8891638 /* Interface.plist in Resources */ = {isa = PBXBuildFile; fileRef = BA63A983DA7F116016C945B1 /* Interface.plist */; };
465E1456E1F3939248A1AE18 /* watchapp3.watchkitapp.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = C83F8D8D7FEC0305A3C42EF0 /* watchapp3.watchkitapp.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
C413044D6EC06F630A1281B6 /* watchapp3.watchkitapp.watchkitextension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = D8268FB6509819F8DF88F338 /* watchapp3.watchkitapp.watchkitextension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
50B1D2FDA42D7325321EAF92 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CF674FA31D0C7A5F482A25CD /* Project object */;
proxyType = 1;
remoteGlobalIDString = 85F30E635DAD8136EC80F430;
remoteInfo = watchapp3.watchkitapp.watchkitextension;
};
777F9D95E28CDA6B3DB73D90 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = CF674FA31D0C7A5F482A25CD /* Project object */;
proxyType = 1;
remoteGlobalIDString = C432419F771BBC1164EFD4F4;
remoteInfo = watchapp3.watchkitapp;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
4E503C8039A14A5EA90C75B2 /* Embed App Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
C413044D6EC06F630A1281B6 /* watchapp3.watchkitapp.watchkitextension.appex in Embed App Extensions */,
);
name = "Embed App Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
B00C7BBEEE4BC6B46F93C76A /* Embed Watch Content */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "$(CONTENTS_FOLDER_PATH)/Watch";
dstSubfolderSpec = 16;
files = (
465E1456E1F3939248A1AE18 /* watchapp3.watchkitapp.app in Embed Watch Content */,
);
name = "Embed Watch Content";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
6CC853D0EA8F64CF953D56AD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
70938E1058DAC99B6ACB89A1 /* watchapp3.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = watchapp3.app; sourceTree = BUILT_PRODUCTS_DIR; };
7AA40AB18A1134B1A4F332C2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
BA63A983DA7F116016C945B1 /* Interface.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Interface.plist; sourceTree = "<group>"; };
C83F8D8D7FEC0305A3C42EF0 /* watchapp3.watchkitapp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = watchapp3.watchkitapp.app; sourceTree = BUILT_PRODUCTS_DIR; };
D8268FB6509819F8DF88F338 /* watchapp3.watchkitapp.watchkitextension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = watchapp3.watchkitapp.watchkitextension.appex; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXGroup section */
3935909E94CECE9E5D5E428A /* Products */ = {
isa = PBXGroup;
children = (
70938E1058DAC99B6ACB89A1 /* watchapp3.app */,
C83F8D8D7FEC0305A3C42EF0 /* watchapp3.watchkitapp.app */,
D8268FB6509819F8DF88F338 /* watchapp3.watchkitapp.watchkitextension.appex */,
);
name = Products;
sourceTree = "<group>";
};
ADD17C1426885B036B4D4500 = {
isa = PBXGroup;
children = (
BBACCDB231253BE6BD60C83F /* App */,
E7C757434B0E5A8C26D64165 /* Ext */,
3935909E94CECE9E5D5E428A /* Products */,
);
sourceTree = "<group>";
};
BBACCDB231253BE6BD60C83F /* App */ = {
isa = PBXGroup;
children = (
6CC853D0EA8F64CF953D56AD /* Info.plist */,
BA63A983DA7F116016C945B1 /* Interface.plist */,
);
name = App;
path = plists/App;
sourceTree = "<group>";
};
E7C757434B0E5A8C26D64165 /* Ext */ = {
isa = PBXGroup;
children = (
7AA40AB18A1134B1A4F332C2 /* Info.plist */,
);
name = Ext;
path = plists/Ext;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
85F30E635DAD8136EC80F430 /* watchapp3.watchkitapp.watchkitextension */ = {
isa = PBXNativeTarget;
buildConfigurationList = E590E047549EA79901895875 /* Build configuration list for PBXNativeTarget "watchapp3.watchkitapp.watchkitextension" */;
buildPhases = (
ED480B935D153474B4BE5E66 /* GradleCompile */,
F1E62571296D41A29073A0DC /* Sources */,
);
buildRules = (
);
dependencies = (
);
name = watchapp3.watchkitapp.watchkitextension;
productName = watchapp3.watchkitapp.watchkitextension;
productReference = D8268FB6509819F8DF88F338 /* watchapp3.watchkitapp.watchkitextension.appex */;
productType = "com.apple.product-type.watchkit2-extension";
};
C2A3BDB9D8B1B6F53A29A1DE /* watchapp3 */ = {
isa = PBXNativeTarget;
buildConfigurationList = 9FC8F6F94AA3C978F239A5AC /* Build configuration list for PBXNativeTarget "watchapp3" */;
buildPhases = (
64396ECFF63C36B1C586BC70 /* Sources */,
B00C7BBEEE4BC6B46F93C76A /* Embed Watch Content */,
);
buildRules = (
);
dependencies = (
1D2B97A46A6DF0B1A5F835FC /* PBXTargetDependency */,
);
name = watchapp3;
productName = watchapp3;
productReference = 70938E1058DAC99B6ACB89A1 /* watchapp3.app */;
productType = "com.apple.product-type.application.watchapp2-container";
};
C432419F771BBC1164EFD4F4 /* watchapp3.watchkitapp */ = {
isa = PBXNativeTarget;
buildConfigurationList = F10C79A6F81EA8DC928F5411 /* Build configuration list for PBXNativeTarget "watchapp3.watchkitapp" */;
buildPhases = (
5545C689631BCCAF2B3AF567 /* Sources */,
1C155B15CD6523CC1566092A /* Resources */,
4E503C8039A14A5EA90C75B2 /* Embed App Extensions */,
);
buildRules = (
);
dependencies = (
AF975C9937185BABD014C388 /* PBXTargetDependency */,
);
name = watchapp3.watchkitapp;
productName = watchapp3.watchkitapp;
productReference = C83F8D8D7FEC0305A3C42EF0 /* watchapp3.watchkitapp.app */;
productType = "com.apple.product-type.application.watchapp2";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
CF674FA31D0C7A5F482A25CD /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1020;
TargetAttributes = {
85F30E635DAD8136EC80F430 = {
DevelopmentTeam = N462MKSJ7M;
ProvisioningStyle = Automatic;
};
C2A3BDB9D8B1B6F53A29A1DE = {
DevelopmentTeam = N462MKSJ7M;
ProvisioningStyle = Automatic;
};
C432419F771BBC1164EFD4F4 = {
DevelopmentTeam = N462MKSJ7M;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = DAC5D137D023645E8075D0A0 /* Build configuration list for PBXProject "watchosSample" */;
compatibilityVersion = "Xcode 10.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = ADD17C1426885B036B4D4500;
projectDirPath = "";
projectRoot = "";
targets = (
C2A3BDB9D8B1B6F53A29A1DE /* watchapp3 */,
C432419F771BBC1164EFD4F4 /* watchapp3.watchkitapp */,
85F30E635DAD8136EC80F430 /* watchapp3.watchkitapp.watchkitextension */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
1C155B15CD6523CC1566092A /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2E2A2A9B9037D7A4B8891638 /* Interface.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
ED480B935D153474B4BE5E66 /* GradleCompile */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = GradleCompile;
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"$SRCROOT\" && ../gradlew -p .. packForXCode";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
5545C689631BCCAF2B3AF567 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
64396ECFF63C36B1C586BC70 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
F1E62571296D41A29073A0DC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
1D2B97A46A6DF0B1A5F835FC /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C432419F771BBC1164EFD4F4 /* watchapp3.watchkitapp */;
targetProxy = 777F9D95E28CDA6B3DB73D90 /* PBXContainerItemProxy */;
};
AF975C9937185BABD014C388 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 85F30E635DAD8136EC80F430 /* watchapp3.watchkitapp.watchkitextension */;
targetProxy = 50B1D2FDA42D7325321EAF92 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
42683BF037EF7F48F88A88E6 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 4;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = N462MKSJ7M;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_VERSION = 5.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
955A76A7B52DD667863D8504 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.jetbrains.watchapp0.watchapp3;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
964D5540C94A88A9C7443DC0 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_BITCODE = YES;
INFOPLIST_FILE = plists/App/Info.plist;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.jetbrains.watchapp0.watchapp3.watchkitapp;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
VALID_ARCHS = "$(ARCHS_STANDARD)";
};
name = Debug;
};
AA41209F69F829E248A0B3BC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 4;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = N462MKSJ7M;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"DEBUG=1",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MARKETING_VERSION = 1.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
B7ECDB01F700B2FCF22D16A4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_BITCODE = YES;
INFOPLIST_FILE = plists/App/Info.plist;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.jetbrains.watchapp0.watchapp3.watchkitapp;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
VALID_ARCHS = "$(ARCHS_STANDARD)";
};
name = Release;
};
BE4BD7149295C555AB8E7434 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
INFOPLIST_FILE = plists/Ext/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.jetbrains.watchapp0.watchapp3.watchkitapp.watchkitextension;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
};
name = Debug;
};
E5DC67A24A9D438C35262109 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
INFOPLIST_FILE = plists/Ext/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.jetbrains.watchapp0.watchapp3.watchkitapp.watchkitextension;
SDKROOT = watchos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 4;
};
name = Release;
};
F4338EEF3126A85F45205463 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.jetbrains.watchapp0.watchapp3;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
9FC8F6F94AA3C978F239A5AC /* Build configuration list for PBXNativeTarget "watchapp3" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F4338EEF3126A85F45205463 /* Debug */,
955A76A7B52DD667863D8504 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = "";
};
DAC5D137D023645E8075D0A0 /* Build configuration list for PBXProject "watchosSample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
AA41209F69F829E248A0B3BC /* Debug */,
42683BF037EF7F48F88A88E6 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
E590E047549EA79901895875 /* Build configuration list for PBXNativeTarget "watchapp3.watchkitapp.watchkitextension" */ = {
isa = XCConfigurationList;
buildConfigurations = (
BE4BD7149295C555AB8E7434 /* Debug */,
E5DC67A24A9D438C35262109 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = "";
};
F10C79A6F81EA8DC928F5411 /* Build configuration list for PBXNativeTarget "watchapp3.watchkitapp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
964D5540C94A88A9C7443DC0 /* Debug */,
B7ECDB01F700B2FCF22D16A4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = "";
};
/* End XCConfigurationList section */
};
rootObject = CF674FA31D0C7A5F482A25CD /* Project object */;
}
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>