Skip to content

Commit 50fdac8

Browse files
committed
Updated project format to Xcode 9.4
1 parent 9b23447 commit 50fdac8

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

ios-deploy.xcodeproj/project.pbxproj

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
7E7089861B587BF3004D23AA /* Project object */ = {
236236
isa = PBXProject;
237237
attributes = {
238-
LastUpgradeCheck = 0800;
238+
LastUpgradeCheck = 0940;
239239
ORGANIZATIONNAME = PhoneGap;
240240
TargetAttributes = {
241241
7E70898D1B587BF3004D23AA = {
@@ -397,14 +397,22 @@
397397
CLANG_CXX_LIBRARY = "libc++";
398398
CLANG_ENABLE_MODULES = YES;
399399
CLANG_ENABLE_OBJC_ARC = YES;
400+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
400401
CLANG_WARN_BOOL_CONVERSION = YES;
402+
CLANG_WARN_COMMA = YES;
401403
CLANG_WARN_CONSTANT_CONVERSION = YES;
404+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
402405
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
403406
CLANG_WARN_EMPTY_BODY = YES;
404407
CLANG_WARN_ENUM_CONVERSION = YES;
405408
CLANG_WARN_INFINITE_RECURSION = YES;
406409
CLANG_WARN_INT_CONVERSION = YES;
410+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
411+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
412+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
407413
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
414+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
415+
CLANG_WARN_STRICT_PROTOTYPES = YES;
408416
CLANG_WARN_SUSPICIOUS_MOVE = YES;
409417
CLANG_WARN_UNREACHABLE_CODE = YES;
410418
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -450,14 +458,22 @@
450458
CLANG_CXX_LIBRARY = "libc++";
451459
CLANG_ENABLE_MODULES = YES;
452460
CLANG_ENABLE_OBJC_ARC = YES;
461+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
453462
CLANG_WARN_BOOL_CONVERSION = YES;
463+
CLANG_WARN_COMMA = YES;
454464
CLANG_WARN_CONSTANT_CONVERSION = YES;
465+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
455466
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
456467
CLANG_WARN_EMPTY_BODY = YES;
457468
CLANG_WARN_ENUM_CONVERSION = YES;
458469
CLANG_WARN_INFINITE_RECURSION = YES;
459470
CLANG_WARN_INT_CONVERSION = YES;
471+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
472+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
473+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
460474
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
475+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
476+
CLANG_WARN_STRICT_PROTOTYPES = YES;
461477
CLANG_WARN_SUSPICIOUS_MOVE = YES;
462478
CLANG_WARN_UNREACHABLE_CODE = YES;
463479
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;

ios-deploy.xcodeproj/xcshareddata/xcschemes/ios-deploy-tests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0940"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

src/ios-deploy/MobileDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ afc_error_t AFCDeviceInfoOpen(afc_connection *conn, struct
289289

290290
/* Turns debug mode on if the environment variable AFCDEBUG is set to a numeric
291291
* value, or if the file '/AFCDEBUG' is present and contains a value. */
292-
void AFCPlatformInit();
292+
void AFCPlatformInit(void);
293293

294294
/* Opens a directory on the iPhone. Pass in a pointer in dir to be filled in.
295295
* Note that this normally only accesses the iTunes sandbox/partition as the

0 commit comments

Comments
 (0)