Skip to content

Commit 86cbcdb

Browse files
Merge pull request tensorflow#216 from daisuke-t-jp:ios-object-detection-update-project
PiperOrigin-RevId: 312413857
2 parents d052501 + bf98031 commit 86cbcdb

3 files changed

Lines changed: 32 additions & 4 deletions

File tree

lite/examples/object_detection/ios/ObjectDetection.xcodeproj/project.pbxproj

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
children = (
101101
AA9AC59D212D39FC000B4E9D /* ObjectDetection */,
102102
AA9AC59C212D39FC000B4E9D /* Products */,
103+
C5C06069A877002CD7A994EB /* Pods */,
103104
);
104105
sourceTree = "<group>";
105106
};
@@ -156,6 +157,13 @@
156157
path = ModelDataHandler;
157158
sourceTree = "<group>";
158159
};
160+
C5C06069A877002CD7A994EB /* Pods */ = {
161+
isa = PBXGroup;
162+
children = (
163+
);
164+
path = Pods;
165+
sourceTree = "<group>";
166+
};
159167
/* End PBXGroup section */
160168

161169
/* Begin PBXNativeTarget section */
@@ -189,7 +197,7 @@
189197
TargetAttributes = {
190198
AA9AC59A212D39FC000B4E9D = {
191199
CreatedOnToolsVersion = 9.4.1;
192-
LastSwiftMigration = 0940;
200+
LastSwiftMigration = 1140;
193201
};
194202
};
195203
};
@@ -427,7 +435,7 @@
427435
PROVISIONING_PROFILE_SPECIFIER = "";
428436
SWIFT_OBJC_BRIDGING_HEADER = "";
429437
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
430-
SWIFT_VERSION = 4.2;
438+
SWIFT_VERSION = 5.0;
431439
TARGETED_DEVICE_FAMILY = "1,2";
432440
};
433441
name = Debug;
@@ -454,7 +462,7 @@
454462
PRODUCT_NAME = "$(TARGET_NAME)";
455463
PROVISIONING_PROFILE_SPECIFIER = "";
456464
SWIFT_OBJC_BRIDGING_HEADER = "";
457-
SWIFT_VERSION = 4.2;
465+
SWIFT_VERSION = 5.0;
458466
TARGETED_DEVICE_FAMILY = "1,2";
459467
};
460468
name = Release;

lite/examples/object_detection/ios/ObjectDetection/ModelDataHandler/ModelDataHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class ModelDataHandler: NSObject {
9898

9999
// Specify the options for the `Interpreter`.
100100
self.threadCount = threadCount
101-
var options = InterpreterOptions()
101+
var options = Interpreter.Options()
102102
options.threadCount = threadCount
103103
do {
104104
// Create the `Interpreter`.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
PODS:
2+
- TensorFlowLiteC (2.1.0)
3+
- TensorFlowLiteSwift (2.1.0):
4+
- TensorFlowLiteC (= 2.1.0)
5+
6+
DEPENDENCIES:
7+
- TensorFlowLiteSwift
8+
9+
SPEC REPOS:
10+
trunk:
11+
- TensorFlowLiteC
12+
- TensorFlowLiteSwift
13+
14+
SPEC CHECKSUMS:
15+
TensorFlowLiteC: 215603d4426d93810eace5947e317389554a4b66
16+
TensorFlowLiteSwift: 9d8137f18d5ac30ca89bba4fbe118e0949ac5743
17+
18+
PODFILE CHECKSUM: c5652649ac261f6bab7423641506d7c049f9ac7e
19+
20+
COCOAPODS: 1.9.1

0 commit comments

Comments
 (0)