Skip to content

Commit 59a19dd

Browse files
Merge pull request #27 from jimmyti/master
Upgrade to Swift 5.0
2 parents 457bfe8 + 9cb75f5 commit 59a19dd

File tree

6 files changed

+19
-20
lines changed

6 files changed

+19
-20
lines changed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "xmartlabs/Eureka" ~> 4.0
1+
github "xmartlabs/Eureka" ~> 5.0

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "xmartlabs/Eureka" "4.0.0"
1+
github "xmartlabs/Eureka" "5.0.0"

Example/Example.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
467467
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.Example;
468468
PRODUCT_NAME = "$(TARGET_NAME)";
469-
SWIFT_VERSION = 4.2;
469+
SWIFT_VERSION = 5.0;
470470
};
471471
name = Debug;
472472
};
@@ -482,7 +482,7 @@
482482
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
483483
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.Example;
484484
PRODUCT_NAME = "$(TARGET_NAME)";
485-
SWIFT_VERSION = 4.2;
485+
SWIFT_VERSION = 5.0;
486486
};
487487
name = Release;
488488
};
@@ -494,7 +494,7 @@
494494
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
495495
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.ExampleTests;
496496
PRODUCT_NAME = "$(TARGET_NAME)";
497-
SWIFT_VERSION = 4.2;
497+
SWIFT_VERSION = 5.0;
498498
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example";
499499
};
500500
name = Debug;
@@ -507,7 +507,7 @@
507507
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
508508
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.ExampleTests;
509509
PRODUCT_NAME = "$(TARGET_NAME)";
510-
SWIFT_VERSION = 4.2;
510+
SWIFT_VERSION = 5.0;
511511
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example";
512512
};
513513
name = Release;
@@ -519,7 +519,7 @@
519519
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
520520
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.ExampleUITests;
521521
PRODUCT_NAME = "$(TARGET_NAME)";
522-
SWIFT_VERSION = 4.2;
522+
SWIFT_VERSION = 5.0;
523523
TEST_TARGET_NAME = Example;
524524
};
525525
name = Debug;
@@ -531,7 +531,7 @@
531531
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
532532
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.ExampleUITests;
533533
PRODUCT_NAME = "$(TARGET_NAME)";
534-
SWIFT_VERSION = 4.2;
534+
SWIFT_VERSION = 5.0;
535535
TEST_TARGET_NAME = Example;
536536
};
537537
name = Release;

GenericPasswordRow.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Pod::Spec.new do |spec|
66
spec.license = { type: 'MIT', file: 'LICENSE' }
77
spec.authors = { "Diego Ernst" => '[email protected]' }
88

9-
spec.platform = :ios, "8.0"
9+
spec.platform = :ios, "9.0"
1010
spec.requires_arc = true
1111
spec.source = { git: "https://github.com/EurekaCommunity/GenericPasswordRow.git", tag: "#{spec.version}", submodules: true }
1212
spec.ios.source_files = 'Sources/**/*.swift'
1313
spec.resource_bundles = {
1414
'GenericPasswordRow' => ['Resources/*']
1515
}
1616
spec.ios.frameworks = 'UIKit', 'Foundation'
17-
spec.dependency "Eureka", "~> 4.0"
17+
spec.dependency "Eureka", "~> 5.0"
1818
end

GenericPasswordRow.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -420,13 +420,13 @@
420420
);
421421
INFOPLIST_FILE = GenericPasswordRow/Info.plist;
422422
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
423-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
423+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
424424
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
425425
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.GenericPasswordRow;
426426
PRODUCT_NAME = "$(TARGET_NAME)";
427427
SKIP_INSTALL = YES;
428428
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
429-
SWIFT_VERSION = 4.2;
429+
SWIFT_VERSION = 5.0;
430430
};
431431
name = Debug;
432432
};
@@ -446,12 +446,12 @@
446446
);
447447
INFOPLIST_FILE = GenericPasswordRow/Info.plist;
448448
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
449-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
449+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
450450
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
451451
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.GenericPasswordRow;
452452
PRODUCT_NAME = "$(TARGET_NAME)";
453453
SKIP_INSTALL = YES;
454-
SWIFT_VERSION = 4.2;
454+
SWIFT_VERSION = 5.0;
455455
};
456456
name = Release;
457457
};
@@ -463,7 +463,7 @@
463463
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
464464
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.GenericPasswordRowTests;
465465
PRODUCT_NAME = "$(TARGET_NAME)";
466-
SWIFT_VERSION = 4.2;
466+
SWIFT_VERSION = 5.0;
467467
};
468468
name = Debug;
469469
};
@@ -475,7 +475,7 @@
475475
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
476476
PRODUCT_BUNDLE_IDENTIFIER = com.xmartlabs.eureka.GenericPasswordRow.GenericPasswordRowTests;
477477
PRODUCT_NAME = "$(TARGET_NAME)";
478-
SWIFT_VERSION = 4.2;
478+
SWIFT_VERSION = 5.0;
479479
};
480480
name = Release;
481481
};

Resources/GenericPasswordCell.xib

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16F73" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
7-
<deployment version="2048" identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12089"/>
9-
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
109
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1110
</dependencies>
1211
<objects>

0 commit comments

Comments
 (0)