diff --git a/examples/api/src-tauri/gen/android/.gitignore b/examples/api/src-tauri/gen/android/.gitignore
index 66d83e91..b2482031 100644
--- a/examples/api/src-tauri/gen/android/.gitignore
+++ b/examples/api/src-tauri/gen/android/.gitignore
@@ -1,7 +1,12 @@
*.iml
.gradle
/local.properties
-/.idea
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
.DS_Store
build
/captures
diff --git a/examples/api/src-tauri/gen/android/app/src/main/res/values-night/themes.xml b/examples/api/src-tauri/gen/android/app/src/main/res/values-night/themes.xml
index dc82b8d8..f0378527 100644
--- a/examples/api/src-tauri/gen/android/app/src/main/res/values-night/themes.xml
+++ b/examples/api/src-tauri/gen/android/app/src/main/res/values-night/themes.xml
@@ -1,16 +1,6 @@
-
diff --git a/examples/api/src-tauri/gen/android/app/src/main/res/values/themes.xml b/examples/api/src-tauri/gen/android/app/src/main/res/values/themes.xml
index e7365622..f0378527 100644
--- a/examples/api/src-tauri/gen/android/app/src/main/res/values/themes.xml
+++ b/examples/api/src-tauri/gen/android/app/src/main/res/values/themes.xml
@@ -1,20 +1,6 @@
-
diff --git a/examples/api/src-tauri/gen/android/buildSrc/src/main/java/com/tauri/api/kotlin/BuildTask.kt b/examples/api/src-tauri/gen/android/buildSrc/src/main/java/com/tauri/api/kotlin/BuildTask.kt
index f9874825..1e0c26aa 100644
--- a/examples/api/src-tauri/gen/android/buildSrc/src/main/java/com/tauri/api/kotlin/BuildTask.kt
+++ b/examples/api/src-tauri/gen/android/buildSrc/src/main/java/com/tauri/api/kotlin/BuildTask.kt
@@ -16,7 +16,7 @@ open class BuildTask : DefaultTask() {
@TaskAction
fun assemble() {
- val executable = """pnpm""";
+ val executable = """node""";
try {
runTauriCli(executable)
} catch (e: Exception) {
@@ -32,7 +32,7 @@ open class BuildTask : DefaultTask() {
val rootDirRel = rootDirRel ?: throw GradleException("rootDirRel cannot be null")
val target = target ?: throw GradleException("target cannot be null")
val release = release ?: throw GradleException("release cannot be null")
- val args = listOf("tauri", "android", "android-studio-script");
+ val args = listOf("/Users/lucas/projects/tauri/plugins-workspace/examples/api/./node_modules/.bin/../../../../node_modules/.pnpm/@tauri-apps+cli@2.0.0-alpha.11/node_modules/@tauri-apps/cli/tauri.js", "android", "android-studio-script");
project.exec {
workingDir(File(project.projectDir, rootDirRel))
diff --git a/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json b/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json
index dd3b8bcc..90eea7ec 100644
--- a/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ b/examples/api/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -1,116 +1,116 @@
{
- "images": [
+ "images" : [
{
- "size": "20x20",
- "idiom": "iphone",
- "filename": "AppIcon-20x20@2x.png",
- "scale": "2x"
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-20x20@2x.png",
+ "scale" : "2x"
},
{
- "size": "20x20",
- "idiom": "iphone",
- "filename": "AppIcon-20x20@3x.png",
- "scale": "3x"
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-20x20@3x.png",
+ "scale" : "3x"
},
{
- "size": "29x29",
- "idiom": "iphone",
- "filename": "AppIcon-29x29@2x-1.png",
- "scale": "2x"
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-29x29@2x-1.png",
+ "scale" : "2x"
},
{
- "size": "29x29",
- "idiom": "iphone",
- "filename": "AppIcon-29x29@3x.png",
- "scale": "3x"
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-29x29@3x.png",
+ "scale" : "3x"
},
{
- "size": "40x40",
- "idiom": "iphone",
- "filename": "AppIcon-40x40@2x.png",
- "scale": "2x"
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-40x40@2x.png",
+ "scale" : "2x"
},
{
- "size": "40x40",
- "idiom": "iphone",
- "filename": "AppIcon-40x40@3x.png",
- "scale": "3x"
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-40x40@3x.png",
+ "scale" : "3x"
},
{
- "size": "60x60",
- "idiom": "iphone",
- "filename": "AppIcon-60x60@2x.png",
- "scale": "2x"
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-60x60@2x.png",
+ "scale" : "2x"
},
{
- "size": "60x60",
- "idiom": "iphone",
- "filename": "AppIcon-60x60@3x.png",
- "scale": "3x"
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "AppIcon-60x60@3x.png",
+ "scale" : "3x"
},
{
- "size": "20x20",
- "idiom": "ipad",
- "filename": "AppIcon-20x20@1x.png",
- "scale": "1x"
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-20x20@1x.png",
+ "scale" : "1x"
},
{
- "size": "20x20",
- "idiom": "ipad",
- "filename": "AppIcon-20x20@2x-1.png",
- "scale": "2x"
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-20x20@2x-1.png",
+ "scale" : "2x"
},
{
- "size": "29x29",
- "idiom": "ipad",
- "filename": "AppIcon-29x29@1x.png",
- "scale": "1x"
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-29x29@1x.png",
+ "scale" : "1x"
},
{
- "size": "29x29",
- "idiom": "ipad",
- "filename": "AppIcon-29x29@2x.png",
- "scale": "2x"
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-29x29@2x.png",
+ "scale" : "2x"
},
{
- "size": "40x40",
- "idiom": "ipad",
- "filename": "AppIcon-40x40@1x.png",
- "scale": "1x"
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-40x40@1x.png",
+ "scale" : "1x"
},
{
- "size": "40x40",
- "idiom": "ipad",
- "filename": "AppIcon-40x40@2x-1.png",
- "scale": "2x"
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-40x40@2x-1.png",
+ "scale" : "2x"
},
{
- "size": "76x76",
- "idiom": "ipad",
- "filename": "AppIcon-76x76@1x.png",
- "scale": "1x"
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-76x76@1x.png",
+ "scale" : "1x"
},
{
- "size": "76x76",
- "idiom": "ipad",
- "filename": "AppIcon-76x76@2x.png",
- "scale": "2x"
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-76x76@2x.png",
+ "scale" : "2x"
},
{
- "size": "83.5x83.5",
- "idiom": "ipad",
- "filename": "AppIcon-83.5x83.5@2x.png",
- "scale": "2x"
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "AppIcon-83.5x83.5@2x.png",
+ "scale" : "2x"
},
{
- "size": "1024x1024",
- "idiom": "ios-marketing",
- "filename": "AppIcon-512@2x.png",
- "scale": "1x"
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "AppIcon-512@2x.png",
+ "scale" : "1x"
}
],
- "info": {
- "version": 1,
- "author": "xcode"
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
}
-}
+}
\ No newline at end of file
diff --git a/examples/api/src-tauri/gen/apple/Assets.xcassets/Contents.json b/examples/api/src-tauri/gen/apple/Assets.xcassets/Contents.json
index 97a8662e..da4a164c 100644
--- a/examples/api/src-tauri/gen/apple/Assets.xcassets/Contents.json
+++ b/examples/api/src-tauri/gen/apple/Assets.xcassets/Contents.json
@@ -1,6 +1,6 @@
{
- "info": {
- "version": 1,
- "author": "xcode"
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
}
-}
+}
\ No newline at end of file
diff --git a/examples/api/src-tauri/gen/apple/api.xcodeproj/project.pbxproj b/examples/api/src-tauri/gen/apple/api.xcodeproj/project.pbxproj
index 608c6919..84e60593 100644
--- a/examples/api/src-tauri/gen/apple/api.xcodeproj/project.pbxproj
+++ b/examples/api/src-tauri/gen/apple/api.xcodeproj/project.pbxproj
@@ -23,6 +23,7 @@
/* Begin PBXFileReference section */
0E96CE07CD20273DD46BF325 /* main.rs */ = {isa = PBXFileReference; path = main.rs; sourceTree = ""; };
1C1AB1B414CA2795AFBEDDB9 /* tray.rs */ = {isa = PBXFileReference; path = tray.rs; sourceTree = ""; };
+ 2F63E2AA460089BB58D40C79 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; };
338E66700FD330B99D434DD7 /* MetalKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalKit.framework; path = System/Library/Frameworks/MetalKit.framework; sourceTree = SDKROOT; };
384966E551417F94A02D2706 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
59CFE20DCF760BE67D9CE3D6 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
@@ -32,6 +33,7 @@
71EB788DE4662CFC0D97F567 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
74A8FDFB350B966F5AAD4A24 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = assets; sourceTree = SOURCE_ROOT; };
785D025E9542F7E098BF22B5 /* lib.rs */ = {isa = PBXFileReference; path = lib.rs; sourceTree = ""; };
+ 879941AE3DAA14534BBC6391 /* api_iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = api_iOS.entitlements; sourceTree = ""; };
90D3B673AFAB8D8AB561F616 /* main.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = main.mm; sourceTree = ""; };
B6082E363D51372A7658C351 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
DC377692DC31A070A0188C9D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
@@ -64,6 +66,7 @@
children = (
74A8FDFB350B966F5AAD4A24 /* assets */,
6B7E79E23E646BA7968B457C /* Assets.xcassets */,
+ F2116A6428EED18BE2A07E2B /* api_iOS */,
86D903732E10FAC4D300E8DF /* Externals */,
7A9A7AC155D9E22E54D6D847 /* Sources */,
CF9AA87D2F6E9C389B7AB70B /* src */,
@@ -139,6 +142,15 @@
path = ../../src;
sourceTree = "";
};
+ F2116A6428EED18BE2A07E2B /* api_iOS */ = {
+ isa = PBXGroup;
+ children = (
+ 879941AE3DAA14534BBC6391 /* api_iOS.entitlements */,
+ 2F63E2AA460089BB58D40C79 /* Info.plist */,
+ );
+ path = api_iOS;
+ sourceTree = "";
+ };
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
@@ -366,6 +378,7 @@
"arm64-sim",
);
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_ENTITLEMENTS = api_iOS/api_iOS.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
DEVELOPMENT_TEAM = Q93MBH6S2F;
ENABLE_BITCODE = NO;
@@ -382,7 +395,7 @@
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
PRODUCT_BUNDLE_IDENTIFIER = com.tauri.api;
- PRODUCT_NAME = api;
+ PRODUCT_NAME = "Tauri API";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 arm64-sim";
@@ -398,6 +411,7 @@
"arm64-sim",
);
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_ENTITLEMENTS = api_iOS/api_iOS.entitlements;
CODE_SIGN_IDENTITY = "iPhone Developer";
DEVELOPMENT_TEAM = Q93MBH6S2F;
ENABLE_BITCODE = NO;
@@ -414,7 +428,7 @@
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
PRODUCT_BUNDLE_IDENTIFIER = com.tauri.api;
- PRODUCT_NAME = api;
+ PRODUCT_NAME = "Tauri API";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 arm64-sim";
diff --git a/examples/api/src-tauri/gen/apple/api.xcodeproj/xcshareddata/xcschemes/api_iOS.xcscheme b/examples/api/src-tauri/gen/apple/api.xcodeproj/xcshareddata/xcschemes/api_iOS.xcscheme
index a85d0d05..3680d405 100644
--- a/examples/api/src-tauri/gen/apple/api.xcodeproj/xcshareddata/xcschemes/api_iOS.xcscheme
+++ b/examples/api/src-tauri/gen/apple/api.xcodeproj/xcshareddata/xcschemes/api_iOS.xcscheme
@@ -1,10 +1,11 @@
+ version = "1.7">
+ buildImplicitDependencies = "YES"
+ runPostActionsOnFailure = "NO">
@@ -26,16 +27,21 @@
buildConfiguration = "debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
- shouldUseLaunchSchemeArgsEnv = "NO">
+ shouldUseLaunchSchemeArgsEnv = "NO"
+ onlyGenerateCoverageForSpecifiedTargets = "NO">
+
+
+
+
-
-
+
+
+
+
+
+
+
+
diff --git a/examples/api/src-tauri/gen/apple/project.yml b/examples/api/src-tauri/gen/apple/project.yml
index 5cab63f1..1a8b79aa 100644
--- a/examples/api/src-tauri/gen/apple/project.yml
+++ b/examples/api/src-tauri/gen/apple/project.yml
@@ -10,7 +10,7 @@ configs:
settingGroups:
app:
base:
- PRODUCT_NAME: api
+ PRODUCT_NAME: Tauri API
PRODUCT_BUNDLE_IDENTIFIER: com.tauri.api
DEVELOPMENT_TEAM: Q93MBH6S2F
targetTemplates:
@@ -32,6 +32,7 @@ targets:
- path: Sources
- path: Assets.xcassets
- path: Externals
+ - path: api_iOS
- path: assets
buildPhase: resources
type: folder
@@ -52,6 +53,8 @@ targets:
- UIInterfaceOrientationLandscapeRight
CFBundleShortVersionString: 2.0.0
CFBundleVersion: 2.0.0
+ entitlements:
+ path: api_iOS/api_iOS.entitlements
scheme:
environmentVariables:
RUST_BACKTRACE: full
@@ -60,7 +63,7 @@ targets:
base:
ENABLE_BITCODE: false
ARCHS: [arm64, arm64-sim]
- VALID_ARCHS: arm64 arm64-sim
+ VALID_ARCHS: arm64 arm64-sim
LIBRARY_SEARCH_PATHS[arch=x86_64]: $(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
LIBRARY_SEARCH_PATHS[arch=arm64]: $(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
LIBRARY_SEARCH_PATHS[arch=arm64-sim]: $(inherited) $(PROJECT_DIR)/Externals/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
@@ -82,4 +85,4 @@ targets:
basedOnDependencyAnalysis: false
outputFiles:
- $(SRCROOT)/target/aarch64-apple-ios/${CONFIGURATION}/deps/libapi.a
- - $(SRCROOT)/target/x86_64-apple-ios/${CONFIGURATION}/deps/libapi.a
+ - $(SRCROOT)/target/x86_64-apple-ios/${CONFIGURATION}/deps/libapi.a
\ No newline at end of file