|
168 | 168 | isa = PBXNativeTarget;
|
169 | 169 | buildConfigurationList = 0A2C90541564175A000727BC /* Build configuration list for PBXNativeTarget "ScanExample" */;
|
170 | 170 | buildPhases = (
|
| 171 | + A5DFB2B41BBC994400AA810C /* Unzip libCardIO.a.zip */, |
171 | 172 | 0A2C902F1564175A000727BC /* Sources */,
|
172 | 173 | 0A2C90301564175A000727BC /* Frameworks */,
|
173 | 174 | 0A2C90311564175A000727BC /* Resources */,
|
|
221 | 222 | };
|
222 | 223 | /* End PBXResourcesBuildPhase section */
|
223 | 224 |
|
| 225 | +/* Begin PBXShellScriptBuildPhase section */ |
| 226 | + A5DFB2B41BBC994400AA810C /* Unzip libCardIO.a.zip */ = { |
| 227 | + isa = PBXShellScriptBuildPhase; |
| 228 | + buildActionMask = 2147483647; |
| 229 | + files = ( |
| 230 | + ); |
| 231 | + inputPaths = ( |
| 232 | + ); |
| 233 | + name = "Unzip libCardIO.a.zip"; |
| 234 | + outputPaths = ( |
| 235 | + ); |
| 236 | + runOnlyForDeploymentPostprocessing = 0; |
| 237 | + shellPath = /bin/sh; |
| 238 | + shellScript = "[ -f ../CardIO/libCardIO.a ] && rm ../CardIO/libCardIO.a\nunzip -d ../CardIO/ ../CardIO/libCardIO.a.zip"; |
| 239 | + }; |
| 240 | +/* End PBXShellScriptBuildPhase section */ |
| 241 | + |
224 | 242 | /* Begin PBXSourcesBuildPhase section */
|
225 | 243 | 0A2C902F1564175A000727BC /* Sources */ = {
|
226 | 244 | isa = PBXSourcesBuildPhase;
|
|
295 | 313 | GCC_WARN_UNUSED_VARIABLE = YES;
|
296 | 314 | IPHONEOS_DEPLOYMENT_TARGET = 5.1;
|
297 | 315 | ONLY_ACTIVE_ARCH = YES;
|
| 316 | + OTHER_LDFLAGS = "-ObjC"; |
298 | 317 | SDKROOT = iphoneos;
|
299 | 318 | TARGETED_DEVICE_FAMILY = "1,2";
|
300 | 319 | };
|
|
327 | 346 | IPHONEOS_DEPLOYMENT_TARGET = 5.1;
|
328 | 347 | ONLY_ACTIVE_ARCH = NO;
|
329 | 348 | OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
| 349 | + OTHER_LDFLAGS = "-ObjC"; |
330 | 350 | SDKROOT = iphoneos;
|
331 | 351 | TARGETED_DEVICE_FAMILY = "1,2";
|
332 | 352 | VALIDATE_PRODUCT = YES;
|
|
344 | 364 | "$(inherited)",
|
345 | 365 | "$(SRCROOT)/../CardIO",
|
346 | 366 | );
|
347 |
| - OTHER_LDFLAGS = "-lc++"; |
| 367 | + OTHER_LDFLAGS = ( |
| 368 | + "-lc++", |
| 369 | + "-ObjC", |
| 370 | + ); |
348 | 371 | PRODUCT_NAME = "$(TARGET_NAME)";
|
349 | 372 | WRAPPER_EXTENSION = app;
|
350 | 373 | };
|
|
361 | 384 | "$(inherited)",
|
362 | 385 | "$(SRCROOT)/../CardIO",
|
363 | 386 | );
|
364 |
| - OTHER_LDFLAGS = "-lc++"; |
| 387 | + OTHER_LDFLAGS = ( |
| 388 | + "-lc++", |
| 389 | + "-ObjC", |
| 390 | + ); |
365 | 391 | PRODUCT_NAME = "$(TARGET_NAME)";
|
366 | 392 | WRAPPER_EXTENSION = app;
|
367 | 393 | };
|
|
0 commit comments