diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..72efdb4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,80 @@ +name: KmmBridge integration test + +on: + repository_dispatch: + workflow_dispatch: + +jobs: + build: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-java@v3 + with: + distribution: "adopt" + java-version: "11" + + # TODO we'll want to be able to specify branch/commit/tag probably. For PoC, just use main. + - name: "Checkout plugin" + uses: actions/checkout@v3 + with: + repository: touchlab/kmmbridge + path: build/kmmbridge + + - name: Validate Gradle Wrapper + uses: gradle/wrapper-validation-action@v1 + with: + min-wrapper-count: 2 # Validating both the local wrapper and the one in the cloned plugin + + # Copied from KMMBridgeGithubWorkflow + - name: Apply SSH Key + uses: webfactory/ssh-agent@v0.5.4 + with: + ssh-private-key: ${{ secrets.PODSPEC_SSH_KEY }} + + # Copied from KMMBridgeGithubWorkflow + - uses: extractions/netrc@v1 + with: + machine: api.github.com + username: "cirunner" + password: ${{ secrets.GITHUB_TOKEN }} + + # Copied from KMMBridgeGithubWorkflow + - name: Cache build tooling + uses: actions/cache@v2 + with: + path: | + ~/.gradle/caches + ~/.konan + key: ${{ runner.os }}-v4-${{ hashFiles('*.gradle.kts') }} + + - name: Local publish plugin + run: | + cd build/kmmbridge + ./gradlew publishToMavenLocal -PRELEASE_SIGNING_ENABLED=false -PVERSION_NAME=999 + + # Copied from KMMBridgeGithubWorkflow + - name: Publish shared + run: ./gradlew kmmBridgePublish -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} -PGITHUB_REPO=${{ github.repository }} ${{ secrets.gradle_params }} --no-daemon --stacktrace + env: + GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m" + + # TODO need to verify that we're building against the newly published version + - name: Build SPM Sample + run: | + cd ios-spm + swift package reset + xcodebuild -configuration Debug -scheme KmmBridgeIntegrationTestSpm -sdk iphonesimulator + + - name: Build Cocoapods Sample + run: | + cd ios-cocoapods + pod install + xcodebuild -workspace KmmBridgeIntegrationTestCocoapods.xcworkspace -configuration Debug -scheme KmmBridgeIntegrationTestCocoapods -sdk iphonesimulator + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4d23512 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.iml +.gradle +/local.properties +/.idea +.DS_Store +build +/captures +.externalNativeBuild +.cxx +*.xcuserstate +*.xcbkptlist +xcuserdata/ +!/.idea/codeStyles/* +!/.idea/inspectionProfiles/* diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..9605614 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,3 @@ +kotlin.code.style=official +android.useAndroidX=true +KMMBRIDGE_VERSION=test diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..41d9927 Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..aa991fc --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..1b6c787 --- /dev/null +++ b/gradlew @@ -0,0 +1,234 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit + +APP_NAME="Gradle" +APP_BASE_NAME=${0##*/} + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + +# Collect all arguments for the java command; +# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of +# shell script including quotes and variable substitutions, so put them in +# double quotes to make sure that they get re-expanded; and +# * put everything else in single quotes, so that it's not re-expanded. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..107acd3 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.pbxproj b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..1e12d6b --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.pbxproj @@ -0,0 +1,653 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + 469667E328F5EB8800564873 /* KmmBridgeIntegrationTestCocoapodsApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 469667E228F5EB8800564873 /* KmmBridgeIntegrationTestCocoapodsApp.swift */; }; + 469667E528F5EB8800564873 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 469667E428F5EB8800564873 /* ContentView.swift */; }; + 469667E728F5EB8A00564873 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 469667E628F5EB8A00564873 /* Assets.xcassets */; }; + 469667EA28F5EB8A00564873 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 469667E928F5EB8A00564873 /* Preview Assets.xcassets */; }; + 469667F428F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 469667F328F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.swift */; }; + 469667FE28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 469667FD28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.swift */; }; + 4696680028F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 469667FF28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift */; }; + C9986DEDEBAE654514BF5F77 /* libPods-KmmBridgeIntegrationTestCocoapods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8A4DB3FEFA1BEE4EC6B357E7 /* libPods-KmmBridgeIntegrationTestCocoapods.a */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 469667F028F5EB8A00564873 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 469667D728F5EB8800564873 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 469667DE28F5EB8800564873; + remoteInfo = KmmBridgeIntegrationTestCocoapods; + }; + 469667FA28F5EB8A00564873 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 469667D728F5EB8800564873 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 469667DE28F5EB8800564873; + remoteInfo = KmmBridgeIntegrationTestCocoapods; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 469667DF28F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KmmBridgeIntegrationTestCocoapods.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 469667E228F5EB8800564873 /* KmmBridgeIntegrationTestCocoapodsApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestCocoapodsApp.swift; sourceTree = ""; }; + 469667E428F5EB8800564873 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 469667E628F5EB8A00564873 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 469667E928F5EB8A00564873 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 469667EF28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KmmBridgeIntegrationTestCocoapodsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 469667F328F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestCocoapodsTests.swift; sourceTree = ""; }; + 469667F928F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KmmBridgeIntegrationTestCocoapodsUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 469667FD28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestCocoapodsUITests.swift; sourceTree = ""; }; + 469667FF28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift; sourceTree = ""; }; + 4E02AB6499B2064FA40DD2F0 /* Pods-KmmBridgeIntegrationTestCocoapods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KmmBridgeIntegrationTestCocoapods.debug.xcconfig"; path = "Target Support Files/Pods-KmmBridgeIntegrationTestCocoapods/Pods-KmmBridgeIntegrationTestCocoapods.debug.xcconfig"; sourceTree = ""; }; + 826B5D32D0F477EF9BE56F7B /* Pods-KmmBridgeIntegrationTestCocoapods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-KmmBridgeIntegrationTestCocoapods.release.xcconfig"; path = "Target Support Files/Pods-KmmBridgeIntegrationTestCocoapods/Pods-KmmBridgeIntegrationTestCocoapods.release.xcconfig"; sourceTree = ""; }; + 8A4DB3FEFA1BEE4EC6B357E7 /* libPods-KmmBridgeIntegrationTestCocoapods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-KmmBridgeIntegrationTestCocoapods.a"; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 469667DC28F5EB8800564873 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + C9986DEDEBAE654514BF5F77 /* libPods-KmmBridgeIntegrationTestCocoapods.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 469667EC28F5EB8A00564873 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 469667F628F5EB8A00564873 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 469667D628F5EB8800564873 = { + isa = PBXGroup; + children = ( + 469667E128F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods */, + 469667F228F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests */, + 469667FC28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests */, + 469667E028F5EB8800564873 /* Products */, + 48389FAC9040B277B18274D1 /* Pods */, + B350FC2F17DD2A74D65B95B0 /* Frameworks */, + ); + sourceTree = ""; + }; + 469667E028F5EB8800564873 /* Products */ = { + isa = PBXGroup; + children = ( + 469667DF28F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods.app */, + 469667EF28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.xctest */, + 469667F928F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 469667E128F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods */ = { + isa = PBXGroup; + children = ( + 469667E228F5EB8800564873 /* KmmBridgeIntegrationTestCocoapodsApp.swift */, + 469667E428F5EB8800564873 /* ContentView.swift */, + 469667E628F5EB8A00564873 /* Assets.xcassets */, + 469667E828F5EB8A00564873 /* Preview Content */, + ); + path = KmmBridgeIntegrationTestCocoapods; + sourceTree = ""; + }; + 469667E828F5EB8A00564873 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 469667E928F5EB8A00564873 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 469667F228F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests */ = { + isa = PBXGroup; + children = ( + 469667F328F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.swift */, + ); + path = KmmBridgeIntegrationTestCocoapodsTests; + sourceTree = ""; + }; + 469667FC28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests */ = { + isa = PBXGroup; + children = ( + 469667FD28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.swift */, + 469667FF28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift */, + ); + path = KmmBridgeIntegrationTestCocoapodsUITests; + sourceTree = ""; + }; + 48389FAC9040B277B18274D1 /* Pods */ = { + isa = PBXGroup; + children = ( + 4E02AB6499B2064FA40DD2F0 /* Pods-KmmBridgeIntegrationTestCocoapods.debug.xcconfig */, + 826B5D32D0F477EF9BE56F7B /* Pods-KmmBridgeIntegrationTestCocoapods.release.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; + B350FC2F17DD2A74D65B95B0 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 8A4DB3FEFA1BEE4EC6B357E7 /* libPods-KmmBridgeIntegrationTestCocoapods.a */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 469667DE28F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4696680328F5EB8A00564873 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestCocoapods" */; + buildPhases = ( + 02515887F58E2F8F2CF1EBFC /* [CP] Check Pods Manifest.lock */, + 469667DB28F5EB8800564873 /* Sources */, + 469667DC28F5EB8800564873 /* Frameworks */, + 469667DD28F5EB8800564873 /* Resources */, + C9FB3F86974033FB3AB720B9 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = KmmBridgeIntegrationTestCocoapods; + productName = KmmBridgeIntegrationTestCocoapods; + productReference = 469667DF28F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods.app */; + productType = "com.apple.product-type.application"; + }; + 469667EE28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4696680628F5EB8A00564873 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestCocoapodsTests" */; + buildPhases = ( + 469667EB28F5EB8A00564873 /* Sources */, + 469667EC28F5EB8A00564873 /* Frameworks */, + 469667ED28F5EB8A00564873 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 469667F128F5EB8A00564873 /* PBXTargetDependency */, + ); + name = KmmBridgeIntegrationTestCocoapodsTests; + productName = KmmBridgeIntegrationTestCocoapodsTests; + productReference = 469667EF28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 469667F828F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4696680928F5EB8A00564873 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestCocoapodsUITests" */; + buildPhases = ( + 469667F528F5EB8A00564873 /* Sources */, + 469667F628F5EB8A00564873 /* Frameworks */, + 469667F728F5EB8A00564873 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 469667FB28F5EB8A00564873 /* PBXTargetDependency */, + ); + name = KmmBridgeIntegrationTestCocoapodsUITests; + productName = KmmBridgeIntegrationTestCocoapodsUITests; + productReference = 469667F928F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 469667D728F5EB8800564873 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1340; + LastUpgradeCheck = 1340; + TargetAttributes = { + 469667DE28F5EB8800564873 = { + CreatedOnToolsVersion = 13.4.1; + }; + 469667EE28F5EB8A00564873 = { + CreatedOnToolsVersion = 13.4.1; + TestTargetID = 469667DE28F5EB8800564873; + }; + 469667F828F5EB8A00564873 = { + CreatedOnToolsVersion = 13.4.1; + TestTargetID = 469667DE28F5EB8800564873; + }; + }; + }; + buildConfigurationList = 469667DA28F5EB8800564873 /* Build configuration list for PBXProject "KmmBridgeIntegrationTestCocoapods" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 469667D628F5EB8800564873; + productRefGroup = 469667E028F5EB8800564873 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 469667DE28F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods */, + 469667EE28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests */, + 469667F828F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 469667DD28F5EB8800564873 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 469667EA28F5EB8A00564873 /* Preview Assets.xcassets in Resources */, + 469667E728F5EB8A00564873 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 469667ED28F5EB8A00564873 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 469667F728F5EB8A00564873 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 02515887F58E2F8F2CF1EBFC /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-KmmBridgeIntegrationTestCocoapods-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + C9FB3F86974033FB3AB720B9 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-KmmBridgeIntegrationTestCocoapods/Pods-KmmBridgeIntegrationTestCocoapods-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-KmmBridgeIntegrationTestCocoapods/Pods-KmmBridgeIntegrationTestCocoapods-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-KmmBridgeIntegrationTestCocoapods/Pods-KmmBridgeIntegrationTestCocoapods-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 469667DB28F5EB8800564873 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 469667E528F5EB8800564873 /* ContentView.swift in Sources */, + 469667E328F5EB8800564873 /* KmmBridgeIntegrationTestCocoapodsApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 469667EB28F5EB8A00564873 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 469667F428F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 469667F528F5EB8A00564873 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4696680028F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift in Sources */, + 469667FE28F5EB8A00564873 /* KmmBridgeIntegrationTestCocoapodsUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 469667F128F5EB8A00564873 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 469667DE28F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods */; + targetProxy = 469667F028F5EB8A00564873 /* PBXContainerItemProxy */; + }; + 469667FB28F5EB8A00564873 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 469667DE28F5EB8800564873 /* KmmBridgeIntegrationTestCocoapods */; + targetProxy = 469667FA28F5EB8A00564873 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 4696680128F5EB8A00564873 /* 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++17"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + 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 = ( + "DEBUG=1", + "$(inherited)", + ); + 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; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 4696680228F5EB8A00564873 /* 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++17"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 4696680428F5EB8A00564873 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4E02AB6499B2064FA40DD2F0 /* Pods-KmmBridgeIntegrationTestCocoapods.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"KmmBridgeIntegrationTestCocoapods/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestCocoapods; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 4696680528F5EB8A00564873 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 826B5D32D0F477EF9BE56F7B /* Pods-KmmBridgeIntegrationTestCocoapods.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"KmmBridgeIntegrationTestCocoapods/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestCocoapods; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 4696680728F5EB8A00564873 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestCocoapodsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KmmBridgeIntegrationTestCocoapods.app/KmmBridgeIntegrationTestCocoapods"; + }; + name = Debug; + }; + 4696680828F5EB8A00564873 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestCocoapodsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KmmBridgeIntegrationTestCocoapods.app/KmmBridgeIntegrationTestCocoapods"; + }; + name = Release; + }; + 4696680A28F5EB8A00564873 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestCocoapodsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = KmmBridgeIntegrationTestCocoapods; + }; + name = Debug; + }; + 4696680B28F5EB8A00564873 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestCocoapodsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = KmmBridgeIntegrationTestCocoapods; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 469667DA28F5EB8800564873 /* Build configuration list for PBXProject "KmmBridgeIntegrationTestCocoapods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4696680128F5EB8A00564873 /* Debug */, + 4696680228F5EB8A00564873 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4696680328F5EB8A00564873 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestCocoapods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4696680428F5EB8A00564873 /* Debug */, + 4696680528F5EB8A00564873 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4696680628F5EB8A00564873 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestCocoapodsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4696680728F5EB8A00564873 /* Debug */, + 4696680828F5EB8A00564873 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4696680928F5EB8A00564873 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestCocoapodsUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4696680A28F5EB8A00564873 /* Debug */, + 4696680B28F5EB8A00564873 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 469667D728F5EB8800564873 /* Project object */; +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcworkspace/contents.xcworkspacedata b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..87454ea --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/AccentColor.colorset/Contents.json b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..0afb3cf --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors": [ + { + "idiom": "universal" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..5d0f83f --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,93 @@ +{ + "images": [ + { + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/Contents.json b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/Contents.json new file mode 100644 index 0000000..74d6a72 --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/ContentView.swift b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/ContentView.swift new file mode 100644 index 0000000..75b07e7 --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/ContentView.swift @@ -0,0 +1,21 @@ +// +// ContentView.swift +// KmmBridgeIntegrationTestCocoapods +// +// Created by Russell Wolf on 10/11/22. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + Text("Hello, world!") + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/KmmBridgeIntegrationTestCocoapodsApp.swift b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/KmmBridgeIntegrationTestCocoapodsApp.swift new file mode 100644 index 0000000..e2f3b5d --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/KmmBridgeIntegrationTestCocoapodsApp.swift @@ -0,0 +1,22 @@ +// +// KmmBridgeIntegrationTestCocoapodsApp.swift +// KmmBridgeIntegrationTestCocoapods +// +// Created by Russell Wolf on 10/11/22. +// + +import SwiftUI +import shared + +@main +struct KmmBridgeIntegrationTestCocoapodsApp: App { + var body: some Scene { + WindowGroup { + ContentView() + .onAppear { + let test = Test() + print("\(test)") + } + } + } +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Preview Content/Preview Assets.xcassets/Contents.json b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..74d6a72 --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapods/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsTests/KmmBridgeIntegrationTestCocoapodsTests.swift b/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsTests/KmmBridgeIntegrationTestCocoapodsTests.swift new file mode 100644 index 0000000..7404dab --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsTests/KmmBridgeIntegrationTestCocoapodsTests.swift @@ -0,0 +1,36 @@ +// +// KmmBridgeIntegrationTestCocoapodsTests.swift +// KmmBridgeIntegrationTestCocoapodsTests +// +// Created by Russell Wolf on 10/11/22. +// + +import XCTest +@testable import KmmBridgeIntegrationTestCocoapods + +class KmmBridgeIntegrationTestCocoapodsTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsUITests/KmmBridgeIntegrationTestCocoapodsUITests.swift b/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsUITests/KmmBridgeIntegrationTestCocoapodsUITests.swift new file mode 100644 index 0000000..da1e783 --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsUITests/KmmBridgeIntegrationTestCocoapodsUITests.swift @@ -0,0 +1,41 @@ +// +// KmmBridgeIntegrationTestCocoapodsUITests.swift +// KmmBridgeIntegrationTestCocoapodsUITests +// +// Created by Russell Wolf on 10/11/22. +// + +import XCTest + +class KmmBridgeIntegrationTestCocoapodsUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testLaunchPerformance() throws { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsUITests/KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift b/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsUITests/KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift new file mode 100644 index 0000000..3dfd01b --- /dev/null +++ b/ios-cocoapods/KmmBridgeIntegrationTestCocoapodsUITests/KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests.swift +// KmmBridgeIntegrationTestCocoapodsUITests +// +// Created by Russell Wolf on 10/11/22. +// + +import XCTest + +class KmmBridgeIntegrationTestCocoapodsUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +} diff --git a/ios-cocoapods/Podfile b/ios-cocoapods/Podfile new file mode 100644 index 0000000..6522739 --- /dev/null +++ b/ios-cocoapods/Podfile @@ -0,0 +1,11 @@ +platform :ios, '13' + +source 'git@github.com:Touchlab/Podspecs.git' + +target 'KmmBridgeIntegrationTestCocoapods' do + if ENV.include?("LOCAL_KOTLIN_PATH") + pod 'shared', :path => ENV["LOCAL_KOTLIN_PATH"] + else + pod 'shared', '~> 1.1.0' + end +end diff --git a/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.pbxproj b/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.pbxproj new file mode 100644 index 0000000..786bf0e --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.pbxproj @@ -0,0 +1,611 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + 46E4FD6B28F4D3E6009DA968 /* KmmBridgeIntegrationTestSpmApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46E4FD6A28F4D3E6009DA968 /* KmmBridgeIntegrationTestSpmApp.swift */; }; + 46E4FD6D28F4D3E6009DA968 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46E4FD6C28F4D3E6009DA968 /* ContentView.swift */; }; + 46E4FD6F28F4D3E8009DA968 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 46E4FD6E28F4D3E8009DA968 /* Assets.xcassets */; }; + 46E4FD7228F4D3E8009DA968 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 46E4FD7128F4D3E8009DA968 /* Preview Assets.xcassets */; }; + 46E4FD7C28F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46E4FD7B28F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.swift */; }; + 46E4FD8628F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46E4FD8528F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.swift */; }; + 46E4FD8828F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46E4FD8728F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift */; }; + 46E4FD9628F4D47B009DA968 /* shared in Frameworks */ = {isa = PBXBuildFile; productRef = 46E4FD9528F4D47B009DA968 /* shared */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 46E4FD7828F4D3E8009DA968 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 46E4FD5F28F4D3E6009DA968 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 46E4FD6628F4D3E6009DA968; + remoteInfo = KmmBridgeIntegrationTestSpm; + }; + 46E4FD8228F4D3E8009DA968 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 46E4FD5F28F4D3E6009DA968 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 46E4FD6628F4D3E6009DA968; + remoteInfo = KmmBridgeIntegrationTestSpm; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 46E4FD6728F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KmmBridgeIntegrationTestSpm.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 46E4FD6A28F4D3E6009DA968 /* KmmBridgeIntegrationTestSpmApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestSpmApp.swift; sourceTree = ""; }; + 46E4FD6C28F4D3E6009DA968 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 46E4FD6E28F4D3E8009DA968 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 46E4FD7128F4D3E8009DA968 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 46E4FD7728F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KmmBridgeIntegrationTestSpmTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 46E4FD7B28F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestSpmTests.swift; sourceTree = ""; }; + 46E4FD8128F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = KmmBridgeIntegrationTestSpmUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 46E4FD8528F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestSpmUITests.swift; sourceTree = ""; }; + 46E4FD8728F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 46E4FD6428F4D3E6009DA968 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 46E4FD9628F4D47B009DA968 /* shared in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 46E4FD7428F4D3E8009DA968 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 46E4FD7E28F4D3E8009DA968 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 46E4FD5E28F4D3E6009DA968 = { + isa = PBXGroup; + children = ( + 46E4FD6928F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm */, + 46E4FD7A28F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests */, + 46E4FD8428F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests */, + 46E4FD6828F4D3E6009DA968 /* Products */, + ); + sourceTree = ""; + }; + 46E4FD6828F4D3E6009DA968 /* Products */ = { + isa = PBXGroup; + children = ( + 46E4FD6728F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm.app */, + 46E4FD7728F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.xctest */, + 46E4FD8128F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 46E4FD6928F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm */ = { + isa = PBXGroup; + children = ( + 46E4FD6A28F4D3E6009DA968 /* KmmBridgeIntegrationTestSpmApp.swift */, + 46E4FD6C28F4D3E6009DA968 /* ContentView.swift */, + 46E4FD6E28F4D3E8009DA968 /* Assets.xcassets */, + 46E4FD7028F4D3E8009DA968 /* Preview Content */, + ); + path = KmmBridgeIntegrationTestSpm; + sourceTree = ""; + }; + 46E4FD7028F4D3E8009DA968 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 46E4FD7128F4D3E8009DA968 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 46E4FD7A28F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests */ = { + isa = PBXGroup; + children = ( + 46E4FD7B28F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.swift */, + ); + path = KmmBridgeIntegrationTestSpmTests; + sourceTree = ""; + }; + 46E4FD8428F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests */ = { + isa = PBXGroup; + children = ( + 46E4FD8528F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.swift */, + 46E4FD8728F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift */, + ); + path = KmmBridgeIntegrationTestSpmUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 46E4FD6628F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm */ = { + isa = PBXNativeTarget; + buildConfigurationList = 46E4FD8B28F4D3E8009DA968 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestSpm" */; + buildPhases = ( + 46E4FD6328F4D3E6009DA968 /* Sources */, + 46E4FD6428F4D3E6009DA968 /* Frameworks */, + 46E4FD6528F4D3E6009DA968 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = KmmBridgeIntegrationTestSpm; + packageProductDependencies = ( + 46E4FD9528F4D47B009DA968 /* shared */, + ); + productName = KmmBridgeIntegrationTestSpm; + productReference = 46E4FD6728F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm.app */; + productType = "com.apple.product-type.application"; + }; + 46E4FD7628F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 46E4FD8E28F4D3E8009DA968 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestSpmTests" */; + buildPhases = ( + 46E4FD7328F4D3E8009DA968 /* Sources */, + 46E4FD7428F4D3E8009DA968 /* Frameworks */, + 46E4FD7528F4D3E8009DA968 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 46E4FD7928F4D3E8009DA968 /* PBXTargetDependency */, + ); + name = KmmBridgeIntegrationTestSpmTests; + productName = KmmBridgeIntegrationTestSpmTests; + productReference = 46E4FD7728F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 46E4FD8028F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 46E4FD9128F4D3E8009DA968 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestSpmUITests" */; + buildPhases = ( + 46E4FD7D28F4D3E8009DA968 /* Sources */, + 46E4FD7E28F4D3E8009DA968 /* Frameworks */, + 46E4FD7F28F4D3E8009DA968 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 46E4FD8328F4D3E8009DA968 /* PBXTargetDependency */, + ); + name = KmmBridgeIntegrationTestSpmUITests; + productName = KmmBridgeIntegrationTestSpmUITests; + productReference = 46E4FD8128F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 46E4FD5F28F4D3E6009DA968 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1340; + LastUpgradeCheck = 1340; + TargetAttributes = { + 46E4FD6628F4D3E6009DA968 = { + CreatedOnToolsVersion = 13.4.1; + }; + 46E4FD7628F4D3E8009DA968 = { + CreatedOnToolsVersion = 13.4.1; + TestTargetID = 46E4FD6628F4D3E6009DA968; + }; + 46E4FD8028F4D3E8009DA968 = { + CreatedOnToolsVersion = 13.4.1; + TestTargetID = 46E4FD6628F4D3E6009DA968; + }; + }; + }; + buildConfigurationList = 46E4FD6228F4D3E6009DA968 /* Build configuration list for PBXProject "KmmBridgeIntegrationTestSpm" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 46E4FD5E28F4D3E6009DA968; + packageReferences = ( + 46E4FD9428F4D47B009DA968 /* XCRemoteSwiftPackageReference "KmmBridgeIntegrationTest" */, + ); + productRefGroup = 46E4FD6828F4D3E6009DA968 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 46E4FD6628F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm */, + 46E4FD7628F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests */, + 46E4FD8028F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 46E4FD6528F4D3E6009DA968 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 46E4FD7228F4D3E8009DA968 /* Preview Assets.xcassets in Resources */, + 46E4FD6F28F4D3E8009DA968 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 46E4FD7528F4D3E8009DA968 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 46E4FD7F28F4D3E8009DA968 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 46E4FD6328F4D3E6009DA968 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 46E4FD6D28F4D3E6009DA968 /* ContentView.swift in Sources */, + 46E4FD6B28F4D3E6009DA968 /* KmmBridgeIntegrationTestSpmApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 46E4FD7328F4D3E8009DA968 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 46E4FD7C28F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 46E4FD7D28F4D3E8009DA968 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 46E4FD8628F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITests.swift in Sources */, + 46E4FD8828F4D3E8009DA968 /* KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 46E4FD7928F4D3E8009DA968 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 46E4FD6628F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm */; + targetProxy = 46E4FD7828F4D3E8009DA968 /* PBXContainerItemProxy */; + }; + 46E4FD8328F4D3E8009DA968 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 46E4FD6628F4D3E6009DA968 /* KmmBridgeIntegrationTestSpm */; + targetProxy = 46E4FD8228F4D3E8009DA968 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 46E4FD8928F4D3E8009DA968 /* 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++17"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + 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 = ( + "DEBUG=1", + "$(inherited)", + ); + 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; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 46E4FD8A28F4D3E8009DA968 /* 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++17"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 46E4FD8C28F4D3E8009DA968 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"KmmBridgeIntegrationTestSpm/Preview Content\""; + DEVELOPMENT_TEAM = ""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestSpm; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 46E4FD8D28F4D3E8009DA968 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"KmmBridgeIntegrationTestSpm/Preview Content\""; + DEVELOPMENT_TEAM = ""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestSpm; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 46E4FD8F28F4D3E8009DA968 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestSpmTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KmmBridgeIntegrationTestSpm.app/KmmBridgeIntegrationTestSpm"; + }; + name = Debug; + }; + 46E4FD9028F4D3E8009DA968 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.5; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestSpmTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/KmmBridgeIntegrationTestSpm.app/KmmBridgeIntegrationTestSpm"; + }; + name = Release; + }; + 46E4FD9228F4D3E8009DA968 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestSpmUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = KmmBridgeIntegrationTestSpm; + }; + name = Debug; + }; + 46E4FD9328F4D3E8009DA968 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = co.touchlab.KmmBridgeIntegrationTestSpmUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = KmmBridgeIntegrationTestSpm; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 46E4FD6228F4D3E6009DA968 /* Build configuration list for PBXProject "KmmBridgeIntegrationTestSpm" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 46E4FD8928F4D3E8009DA968 /* Debug */, + 46E4FD8A28F4D3E8009DA968 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 46E4FD8B28F4D3E8009DA968 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestSpm" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 46E4FD8C28F4D3E8009DA968 /* Debug */, + 46E4FD8D28F4D3E8009DA968 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 46E4FD8E28F4D3E8009DA968 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestSpmTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 46E4FD8F28F4D3E8009DA968 /* Debug */, + 46E4FD9028F4D3E8009DA968 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 46E4FD9128F4D3E8009DA968 /* Build configuration list for PBXNativeTarget "KmmBridgeIntegrationTestSpmUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 46E4FD9228F4D3E8009DA968 /* Debug */, + 46E4FD9328F4D3E8009DA968 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + +/* Begin XCRemoteSwiftPackageReference section */ + 46E4FD9428F4D47B009DA968 /* XCRemoteSwiftPackageReference "KmmBridgeIntegrationTest" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "git@github.com:touchlab/KmmBridgeIntegrationTest.git"; + requirement = { + kind = upToNextMinorVersion; + minimumVersion = 1.0.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 46E4FD9528F4D47B009DA968 /* shared */ = { + isa = XCSwiftPackageProductDependency; + package = 46E4FD9428F4D47B009DA968 /* XCRemoteSwiftPackageReference "KmmBridgeIntegrationTest" */; + productName = shared; + }; +/* End XCSwiftPackageProductDependency section */ + }; + rootObject = 46E4FD5F28F4D3E6009DA968 /* Project object */; +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/AccentColor.colorset/Contents.json b/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..0afb3cf --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors": [ + { + "idiom": "universal" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..faeb2bb --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images": [ + { + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "idiom": "ipad", + "scale": "1x", + "size": "76x76" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/Contents.json b/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/Contents.json new file mode 100644 index 0000000..74d6a72 --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpm/ContentView.swift b/ios-spm/KmmBridgeIntegrationTestSpm/ContentView.swift new file mode 100644 index 0000000..d1f01c4 --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm/ContentView.swift @@ -0,0 +1,21 @@ +// +// ContentView.swift +// KmmBridgeIntegrationTestSpm +// +// Created by Russell Wolf on 10/10/22. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + Text("Hello, world!") + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpm/KmmBridgeIntegrationTestSpmApp.swift b/ios-spm/KmmBridgeIntegrationTestSpm/KmmBridgeIntegrationTestSpmApp.swift new file mode 100644 index 0000000..7c1a578 --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm/KmmBridgeIntegrationTestSpmApp.swift @@ -0,0 +1,22 @@ +// +// KmmBridgeIntegrationTestSpmApp.swift +// KmmBridgeIntegrationTestSpm +// +// Created by Russell Wolf on 10/10/22. +// + +import SwiftUI +import shared + +@main +struct KmmBridgeIntegrationTestSpmApp: App { + var body: some Scene { + WindowGroup { + ContentView() + .onAppear { + let test = Test() + print("\(test)") + } + } + } +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpm/Preview Content/Preview Assets.xcassets/Contents.json b/ios-spm/KmmBridgeIntegrationTestSpm/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..74d6a72 --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpm/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpmTests/KmmBridgeIntegrationTestSpmTests.swift b/ios-spm/KmmBridgeIntegrationTestSpmTests/KmmBridgeIntegrationTestSpmTests.swift new file mode 100644 index 0000000..58060ab --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpmTests/KmmBridgeIntegrationTestSpmTests.swift @@ -0,0 +1,36 @@ +// +// KmmBridgeIntegrationTestSpmTests.swift +// KmmBridgeIntegrationTestSpmTests +// +// Created by Russell Wolf on 10/10/22. +// + +import XCTest +@testable import KmmBridgeIntegrationTestSpm + +class KmmBridgeIntegrationTestSpmTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpmUITests/KmmBridgeIntegrationTestSpmUITests.swift b/ios-spm/KmmBridgeIntegrationTestSpmUITests/KmmBridgeIntegrationTestSpmUITests.swift new file mode 100644 index 0000000..a8d9a9c --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpmUITests/KmmBridgeIntegrationTestSpmUITests.swift @@ -0,0 +1,41 @@ +// +// KmmBridgeIntegrationTestSpmUITests.swift +// KmmBridgeIntegrationTestSpmUITests +// +// Created by Russell Wolf on 10/10/22. +// + +import XCTest + +class KmmBridgeIntegrationTestSpmUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testLaunchPerformance() throws { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/ios-spm/KmmBridgeIntegrationTestSpmUITests/KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift b/ios-spm/KmmBridgeIntegrationTestSpmUITests/KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift new file mode 100644 index 0000000..b6990f3 --- /dev/null +++ b/ios-spm/KmmBridgeIntegrationTestSpmUITests/KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// KmmBridgeIntegrationTestSpmUITestsLaunchTests.swift +// KmmBridgeIntegrationTestSpmUITests +// +// Created by Russell Wolf on 10/10/22. +// + +import XCTest + +class KmmBridgeIntegrationTestSpmUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +} diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..b4fd057 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,11 @@ +pluginManagement { + repositories { + mavenLocal() + google() + gradlePluginPortal() + mavenCentral() + } +} +rootProject.name = "KmmBridgeIntegrationTest" +include(":shared") + diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts new file mode 100644 index 0000000..2afe861 --- /dev/null +++ b/shared/build.gradle.kts @@ -0,0 +1,62 @@ +plugins { + kotlin("multiplatform") version "1.7.20" + kotlin("native.cocoapods") version "1.7.20" + id("com.android.library") version "7.2.2" + id("co.touchlab.faktory.kmmbridge") version "+" +} + +group = "co.touchlab" +version = "1.0" + +repositories { + mavenLocal() + google() + mavenCentral() +} + +kotlin { + android() + + iosX64() + iosArm64() + iosSimulatorArm64() + + sourceSets { + val commonMain by getting + val commonTest by getting { + dependencies { + implementation(kotlin("test")) + } + } + val androidTest by getting { + dependencies { + implementation("junit:junit:4.13.2") + } + } + } + + cocoapods { + homepage = "https://www.example.com" + summary = "Test" + ios.deploymentTarget = "13" + framework { + isStatic = false + } + } +} + +android { + compileSdk = 33 + defaultConfig { + minSdk = 21 + } + sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") +} + +kmmbridge { + versionPrefix.set("1.0") + spm("../") + cocoapods("git@github.com:Touchlab/Podspecs.git") + gitTagVersions() + githubReleaseArtifacts() +} diff --git a/shared/shared.podspec b/shared/shared.podspec new file mode 100644 index 0000000..2c5f59f --- /dev/null +++ b/shared/shared.podspec @@ -0,0 +1,39 @@ +Pod::Spec.new do |spec| + spec.name = 'shared' + spec.version = '1.0' + spec.homepage = 'https://www.example.com' + spec.source = { :http=> ''} + spec.authors = '' + spec.license = '' + spec.summary = 'Test' + spec.vendored_frameworks = 'build/cocoapods/framework/shared.framework' + spec.libraries = 'c++' + spec.ios.deployment_target = '13' + + + spec.pod_target_xcconfig = { + 'KOTLIN_PROJECT_PATH' => ':shared', + 'PRODUCT_MODULE_NAME' => 'shared', + } + + spec.script_phases = [ + { + :name => 'Build shared', + :execution_position => :before_compile, + :shell_path => '/bin/sh', + :script => <<-SCRIPT + if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then + echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \"YES\"" + exit 0 + fi + set -ev + REPO_ROOT="$PODS_TARGET_SRCROOT" + "$REPO_ROOT/../../../../../private/var/folders/vh/lqnbj11s3j53773y2g1kyr6c0000gn/T/wrap3loc/gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework \ + -Pkotlin.native.cocoapods.platform=$PLATFORM_NAME \ + -Pkotlin.native.cocoapods.archs="$ARCHS" \ + -Pkotlin.native.cocoapods.configuration="$CONFIGURATION" + SCRIPT + } + ] + +end \ No newline at end of file diff --git a/shared/src/androidMain/AndroidManifest.xml b/shared/src/androidMain/AndroidManifest.xml new file mode 100644 index 0000000..52e365b --- /dev/null +++ b/shared/src/androidMain/AndroidManifest.xml @@ -0,0 +1,2 @@ + + diff --git a/shared/src/commonMain/kotlin/Test.kt b/shared/src/commonMain/kotlin/Test.kt new file mode 100644 index 0000000..8ddfce2 --- /dev/null +++ b/shared/src/commonMain/kotlin/Test.kt @@ -0,0 +1,5 @@ +class Test { + init { + println("hello") + } +}