{diff/maplibre-rs → xcode}/maplibre-rs.xcodeproj/project.pbxproj RENAMED Viewed

114 131 | /* Begin PBXNativeTarget section */
115 | - 0BE452E328132EA6003BD2A5 /* maplibre-rs */ = {
132 | + 0B85D56A2812903700906D21 /* maplibre-rs */ = {
116 133 | isa = PBXNativeTarget;
117 | - buildConfigurationList = 0BE452E928132EA6003BD2A5 /* Build configuration list for PBXNativeTarget "maplibre-rs" */;
134 | + buildConfigurationList = 0B85D5702812903700906D21 /* Build configuration list for PBXNativeTarget "maplibre-rs" */;
118 135 | buildPhases = (
119 | - 0BE452DF28132EA6003BD2A5 /* Headers */,
120 | - 0BE452E028132EA6003BD2A5 /* Sources */,
121 | - 0BE452E128132EA6003BD2A5 /* Frameworks */,
122 | - 0BE452E228132EA6003BD2A5 /* Resources */,
136 | + 0B85D5662812903700906D21 /* Headers */,
137 | + 0B85D5672812903700906D21 /* Sources */,
138 | + 0B85D5682812903700906D21 /* Frameworks */,
139 | + 0B85D5692812903700906D21 /* Resources */,
140 | + 0BE452D72812EFC1003BD2A5 /* Cargo Build */,
229 248 | );
230 249 | runOnlyForDeploymentPostprocessing = 0;
231 250 | };
232 251 | /* End PBXResourcesBuildPhase section */
233 252 |
253 | + /* Begin PBXShellScriptBuildPhase section */
254 | + 0BE452D72812EFC1003BD2A5 /* Cargo Build */ = {
255 | + isa = PBXShellScriptBuildPhase;
256 | + buildActionMask = 2147483647;
257 | + files = (
258 | + );
259 | + inputFileListPaths = (
260 | + );
261 | + inputPaths = (
262 | + );
263 | + name = "Cargo Build";
264 | + outputFileListPaths = (
265 | + );
266 | + outputPaths = (
267 | + );
268 | + runOnlyForDeploymentPostprocessing = 0;
269 | + shellPath = /bin/bash;

270

+ shellScript = ". \"$HOME/.cargo/env\"\n\narch=\"unknown\"\nvendor=\"apple\"\nos_type=\"unknown\"\nenvironment_type=\"\"\n\nmode=\"\"\n\necho \"ARCH: $ARCHS\"\n\nif [[ $CONFIGURATION == \"Release\" ]]\nthen\n mode=\"--release\"\nfi\n\nif [[ $ARCHS == \"x86_64\" ]]\nthen\n arch=\"x86_64\"\nelif [[ $ARCHS == \"arm64\" ]]\nthen\n arch=\"aarch64\"\nfi\n\nif [[ $SDK_NAME == *\"iphoneos\"* ]]\nthen\n os_type=\"ios\"\nelif [[ $SDK_NAME == *\"macos\"* ]]\nthen\n os_type=\"darwin\"\nelif [[ $SDK_NAME == *\"iphonesimulator\"* ]]\nthen\n os_type=\"ios\"\n environment_type=\"sim\"\nfi\n\n\ntriplet=\"$arch-$vendor-$os_type\"\n\nif [ -n \"$environment_type\" ]\nthen\n triplet=\"$triplet-$environment_type\"\nfi\n\necho \"$mode\"\necho \"$triplet\"\n\nenv -i zsh -c \"cargo build -p maplibre-apple $mode --target $triplet --lib\"\n\n";

271 | + };
272 | + /* End PBXShellScriptBuildPhase section */