Skip to content

Commit 9a062f5

Browse files
fix(ios): track empty assets directory with .gitkeep
The assets directory in src-tauri/gen/apple/ was empty and not tracked by git. This caused CI builds to fail with: Spec validation error: Target "lunch_iOS" has a missing source directory Changes: - Added .gitkeep to src-tauri/gen/apple/assets/ - Updated .gitignore to include !src-tauri/apple/** (instead of gen/apple) - Updated project.pbxproj from running tauri ios init locally 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4c96656 commit 9a062f5

3 files changed

Lines changed: 32 additions & 4 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,5 @@ build-iPhoneSimulator/
247247
# INCLUDE
248248
!**/*.example
249249
!**/.gitkeep
250+
!src-tauri/apple/**
250251
!src-tauri/dist/**

src-tauri/gen/apple/assets/.gitkeep

Whitespace-only changes.

src-tauri/gen/apple/lunch.xcodeproj/project.pbxproj

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
ABDFC9634DF0750DF90B0669 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8ED37A2873FD72EBCE77BB32 /* QuartzCore.framework */; };
2020
F4CBAAE657020175B980C60D /* MetalKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9415BC402877CCE4C5AA93D8 /* MetalKit.framework */; };
2121
F9C163DE22538096DE75D6A3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1FDAA2CB9EFD592AAEEEB9AB /* Assets.xcassets */; };
22+
F9F28E29E83DB0EA23195904 /* libapp.a in Resources */ = {isa = PBXBuildFile; fileRef = CBEDC0EC301DA50B79C053A5 /* libapp.a */; };
2223
/* End PBXBuildFile section */
2324

2425
/* Begin PBXFileReference section */
@@ -36,6 +37,7 @@
3637
902193FB985BF444F2AE3429 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
3738
9415BC402877CCE4C5AA93D8 /* MetalKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalKit.framework; path = System/Library/Frameworks/MetalKit.framework; sourceTree = SDKROOT; };
3839
9C926836192F5928EF731193 /* lunch_iOS.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = lunch_iOS.app; sourceTree = BUILT_PRODUCTS_DIR; };
40+
CBEDC0EC301DA50B79C053A5 /* libapp.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libapp.a; sourceTree = "<group>"; };
3941
D0FCD339748412F5A0E09612 /* main.rs */ = {isa = PBXFileReference; path = main.rs; sourceTree = "<group>"; };
4042
D3CE71AD57BFEFE96BA963FB /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
4143
D439F0B337EA6203FCE68439 /* lib.rs */ = {isa = PBXFileReference; path = lib.rs; sourceTree = "<group>"; };
@@ -70,6 +72,14 @@
7072
path = Sources;
7173
sourceTree = "<group>";
7274
};
75+
5132CF8D021A0F5A175CD021 /* arm64 */ = {
76+
isa = PBXGroup;
77+
children = (
78+
DCDA9217077C68057E3032E0 /* debug */,
79+
);
80+
path = arm64;
81+
sourceTree = "<group>";
82+
};
7383
63209115BDF5022EE371A7BA /* lunch */ = {
7484
isa = PBXGroup;
7585
children = (
@@ -98,6 +108,7 @@
98108
87249AE0419D786489810265 /* Externals */ = {
99109
isa = PBXGroup;
100110
children = (
111+
5132CF8D021A0F5A175CD021 /* arm64 */,
101112
);
102113
path = Externals;
103114
sourceTree = "<group>";
@@ -126,6 +137,14 @@
126137
path = lunch_iOS;
127138
sourceTree = "<group>";
128139
};
140+
DCDA9217077C68057E3032E0 /* debug */ = {
141+
isa = PBXGroup;
142+
children = (
143+
CBEDC0EC301DA50B79C053A5 /* libapp.a */,
144+
);
145+
path = debug;
146+
sourceTree = "<group>";
147+
};
129148
DF17B31EA626B5C48D8B7821 /* Frameworks */ = {
130149
isa = PBXGroup;
131150
children = (
@@ -152,6 +171,13 @@
152171
path = ../../src;
153172
sourceTree = "<group>";
154173
};
174+
"TEMP_03246B59-823F-4796-9F1D-6118DD6B3D4C" /* x86_64 */ = {
175+
isa = PBXGroup;
176+
children = (
177+
);
178+
path = x86_64;
179+
sourceTree = "<group>";
180+
};
155181
/* End PBXGroup section */
156182

157183
/* Begin PBXNativeTarget section */
@@ -216,6 +242,7 @@
216242
F9C163DE22538096DE75D6A3 /* Assets.xcassets in Resources */,
217243
91673A00629A0BC6C7526874 /* LaunchScreen.storyboard in Resources */,
218244
86966AC5164D7631CEDBDF7D /* assets in Resources */,
245+
F9F28E29E83DB0EA23195904 /* libapp.a in Resources */,
219246
);
220247
runOnlyForDeploymentPostprocessing = 0;
221248
};
@@ -267,7 +294,7 @@
267294
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
268295
CODE_SIGN_ENTITLEMENTS = lunch_iOS/lunch_iOS.entitlements;
269296
CODE_SIGN_IDENTITY = "iPhone Developer";
270-
DEVELOPMENT_TEAM = "654C9Y2C3F";
297+
DEVELOPMENT_TEAM = 654C9Y2C3F;
271298
ENABLE_BITCODE = NO;
272299
"EXCLUDED_ARCHS[sdk=iphoneos*]" = x86_64;
273300
FRAMEWORK_SEARCH_PATHS = (
@@ -282,7 +309,7 @@
282309
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
283310
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
284311
PRODUCT_BUNDLE_IDENTIFIER = com.lunch.desktop;
285-
PRODUCT_NAME = "Lunch";
312+
PRODUCT_NAME = Lunch;
286313
SDKROOT = iphoneos;
287314
TARGETED_DEVICE_FAMILY = "1,2";
288315
VALID_ARCHS = arm64;
@@ -418,7 +445,7 @@
418445
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
419446
CODE_SIGN_ENTITLEMENTS = lunch_iOS/lunch_iOS.entitlements;
420447
CODE_SIGN_IDENTITY = "iPhone Developer";
421-
DEVELOPMENT_TEAM = "654C9Y2C3F";
448+
DEVELOPMENT_TEAM = 654C9Y2C3F;
422449
ENABLE_BITCODE = NO;
423450
"EXCLUDED_ARCHS[sdk=iphoneos*]" = x86_64;
424451
FRAMEWORK_SEARCH_PATHS = (
@@ -433,7 +460,7 @@
433460
"LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
434461
"LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
435462
PRODUCT_BUNDLE_IDENTIFIER = com.lunch.desktop;
436-
PRODUCT_NAME = "Lunch";
463+
PRODUCT_NAME = Lunch;
437464
SDKROOT = iphoneos;
438465
TARGETED_DEVICE_FAMILY = "1,2";
439466
VALID_ARCHS = arm64;

0 commit comments

Comments
 (0)