-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTensorFlowServing-InceptionClient.podspec
More file actions
71 lines (62 loc) · 4.35 KB
/
TensorFlowServing-InceptionClient.podspec
File metadata and controls
71 lines (62 loc) · 4.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Created by Tom Stall <mtm<@>mountaintom<.>com> on 08/08/2017.
# Copyright (c) 2017 Tom Stall. All rights reserved.
Pod::Spec.new do |s|
s.name = 'TensorFlowServing-InceptionClient'
s.version = '0.1.5'
s.summary = 'A simple demo of TensorFlow Serving'
s.description = <<-DESC
This is a simple demo of TensorFlow Serving. Press either the image of Grace Hopper or
the Dromedary Camel to send the image to a server running the Inception model.
DESC
s.homepage = 'https://github.com/mountaintom/TensorFlowServing-InceptionClient'
s.screenshots = 'https://raw.githubusercontent.com/mountaintom/TensorFlowServing-InceptionClient/master/Screenshot.png'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Tom Stall' => 'mtm<@>mountaintom<.>com' }
s.source = { :git => 'https://github.com/mountaintom/TensorFlowServing-InceptionClient.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '8.0'
# Files generated by protoc
s.subspec "Messages" do |ms|
ms.source_files = 'TensorFlowServing-InceptionClient/Classes/**/*.pbobjc.{m,h}'
ms.public_header_files = 'TensorFlowServing-InceptionClient/Classes/**/*.pbobjc.h'
ms.header_mappings_dir = 'TensorFlowServing-InceptionClient'
ms.requires_arc = false
# The generated files depend on the protobuf runtime.
ms.dependency "Protobuf"
end
# Files generated by the gRPC plugin
s.subspec "Services" do |ss|
ss.source_files = 'TensorFlowServing-InceptionClient/Classes/**/*.pbrpc.{m,h}'
ss.public_header_files = 'TensorFlowServing-InceptionClient/Classes/**/*.pbrpc.h'
ss.header_mappings_dir = 'TensorFlowServing-InceptionClient'
ss.requires_arc = true
# The generated files depend on the gRPC runtime, and on the files generated by protoc.
ss.dependency "gRPC-ProtoRPC"
ss.dependency "#{s.name}/Messages"
end
# InceptionClient library
s.subspec "InceptionClient" do |cs|
cs.source_files = 'TensorFlowServing-InceptionClient/Classes/*.{m,h}'
cs.public_header_files = 'TensorFlowServing-InceptionClient/Classes/*.h'
cs.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/TensorFlowServing-InceptionClient/TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}/../../TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}" "./" "${PROJECT_DIR}/third_party/" "${PROJECT_DIR}/../TensorFlowServing-InceptionClient/Classes/third_party"',
'HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/TensorFlowServing-InceptionClient/TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}/../../TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}" "./" "${PROJECT_DIR}/third_party/" "${PROJECT_DIR}/../TensorFlowServing-InceptionClient/Classes/third_party"' }
cs.requires_arc = true
# The generated files depend on the gRPC runtime, and on the files generated by protoc.
cs.dependency "Protobuf"
cs.dependency "gRPC-ProtoRPC"
cs.dependency "#{s.name}/Messages"
cs.dependency "#{s.name}/Services"
end
s.resource_bundles = {
'TensorFlowServing-InceptionClient' => ['TensorFlowServing-InceptionClient/Assets/*.jpg']
}
s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/TensorFlowServing-InceptionClient/TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}/../../TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}" "./" "${PROJECT_DIR}/third_party/" "${PROJECT_DIR}/../TensorFlowServing-InceptionClient/Classes/third_party"',
'HEADER_SEARCH_PATHS' => '"${PROJECT_DIR}/TensorFlowServing-InceptionClient/TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}/../../TensorFlowServing-InceptionClient/Classes/third_party" "${PROJECT_DIR}" "./" "${PROJECT_DIR}/third_party/" "${PROJECT_DIR}/../TensorFlowServing-InceptionClient/Classes/third_party"' }
s.pod_target_xcconfig = {
# This is needed by all pods that depend on Protobuf:
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1',
# This is needed by all pods that depend on gRPC-RxLibrary:
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
s.dependency "Protobuf"
s.dependency "!ProtoCompiler-gRPCPlugin", "~> 1.0"
end