You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation adds automatic discovery and handling of application icons when generating makefiles, with special handling for filenames containing spaces.
6
+
7
+
## Files Modified:
8
+
9
+
### 1. PBXResourcesBuildPhase.h
10
+
- Added `createSafeIconCopy:` method declaration
11
+
12
+
### 2. PBXResourcesBuildPhase.m
13
+
- Modified icon discovery to store information in GSXCBuildContext
14
+
- Added `createSafeIconCopy:` method to handle filenames with spaces
15
+
- Enhanced icon copying to create safe copies when needed
16
+
17
+
### 3. GSXCMakefileGenerator.m
18
+
- Enhanced array checking to prevent makefile cruft
19
+
- Added app icon retrieval from build context
20
+
- Added app icon handling in generated makefiles
21
+
- Added debug output for app icon information
22
+
23
+
## Key Features:
24
+
25
+
### 1. Space Handling
26
+
-**Problem**: Icon filenames with spaces cause issues in makefiles
27
+
-**Solution**: Creates safe copies with underscores replacing spaces
28
+
-**Example**: "My App Icon.png" → "My_App_Icon.png"
29
+
30
+
### 2. Makefile Generation
31
+
When an app icon is discovered, the generated makefile includes:
0 commit comments