Skip to content

Commit bc2e0b7

Browse files
committed
Replace file.
1 parent a20a367 commit bc2e0b7

File tree

7 files changed

+87
-37
lines changed

7 files changed

+87
-37
lines changed

.swift-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0

OneWaySDK.podspec

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
2+
Pod::Spec.new do |s|
3+
4+
s.name = 'OneWaySDK'
5+
s.version = '1.2.1-R'
6+
s.summary = 'OneWaySDK for video ads'
7+
8+
s.description = <<-DESC
9+
It is a video-ads SDK on iOS, which implement by Objective-C.
10+
DESC
11+
12+
s.homepage = 'https://www.oneway.mobi'
13+
14+
s.license = { :type => 'Apache License, Version 2.0', :text => <<-LICENSE
15+
Licensed under the Apache License, Version 2.0 (the 'License');
16+
you may not use this file except in compliance with the License.
17+
You may obtain a copy of the License at
18+
19+
http://www.apache.org/licenses/LICENSE-2.0
20+
21+
Unless required by applicable law or agreed to in writing, software
22+
distributed under the License is distributed on an 'AS IS' BASIS,
23+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24+
See the License for the specific language governing permissions and
25+
limitations under the License.
26+
LICENSE
27+
}
28+
29+
s.author = { 'lch' => '[email protected]' }
30+
31+
s.platform = :ios, '7.0'
32+
33+
s.source = { :git => "https://github.com/OneWayTech/iOS-SDK.git",:tag => s.version }
34+
35+
36+
s.source_files = 'OneWaySDK/*.h'
37+
s.requires_arc = true
38+
s.vendored_libraries = 'OneWaySDK/libOneWaySDK.a'
39+
s.xcconfig = { 'OTHER_LDFLAGS' => '-all_load' }
40+
end
File renamed without changes.

OnewaySDK-Demo.xcodeproj/project.pbxproj

+23-37
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@
99
/* Begin PBXBuildFile section */
1010
5748F07E1E70F00B004E6044 /* MainView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5748F07D1E70F00B004E6044 /* MainView.xib */; };
1111
5748F0861E710222004E6044 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5748F0851E710222004E6044 /* LaunchScreen.storyboard */; };
12-
5748F0901E710F75004E6044 /* OnewaySDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5748F08D1E710F75004E6044 /* OnewaySDK.a */; };
13-
574EC28A1EA9DE0A000469E1 /* logoImg.png in Resources */ = {isa = PBXBuildFile; fileRef = 574EC2891EA9DE0A000469E1 /* logoImg.png */; };
1412
574EC28C1EA9EE52000469E1 /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 574EC28B1EA9EE52000469E1 /* icon.png */; };
1513
575136E21DAA2BCA00ED8327 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 575136E01DAA2BCA00ED8327 /* ViewController.m */; };
16-
576F11D01DD9961D00534799 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 576F11CF1DD9961D00534799 /* CoreTelephony.framework */; };
17-
576F11D21DD9962700534799 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 576F11D11DD9962700534799 /* libz.tbd */; };
18-
576F11D41DD9963A00534799 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 576F11D31DD9963A00534799 /* libsqlite3.tbd */; };
14+
57ABCC321EB322C8006B12AA /* libOneWaySDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 57ABCC2F1EB322C8006B12AA /* libOneWaySDK.a */; };
1915
E0ADB0561D8BBD910035CFDB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E0ADB0551D8BBD910035CFDB /* main.m */; };
2016
E0ADB0591D8BBD910035CFDB /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E0ADB0581D8BBD910035CFDB /* AppDelegate.m */; };
2117
E0ADB0611D8BBD910035CFDB /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E0ADB0601D8BBD910035CFDB /* Assets.xcassets */; };
@@ -24,15 +20,14 @@
2420
/* Begin PBXFileReference section */
2521
5748F07D1E70F00B004E6044 /* MainView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MainView.xib; sourceTree = "<group>"; };
2622
5748F0851E710222004E6044 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
27-
5748F08D1E710F75004E6044 /* OnewaySDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = OnewaySDK.a; sourceTree = "<group>"; };
28-
5748F08E1E710F75004E6044 /* OneWaySDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OneWaySDK.h; sourceTree = "<group>"; };
29-
5748F08F1E710F75004E6044 /* OWUserMetaData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OWUserMetaData.h; sourceTree = "<group>"; };
30-
574EC2891EA9DE0A000469E1 /* logoImg.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = logoImg.png; sourceTree = "<group>"; };
31-
574EC28B1EA9EE52000469E1 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
23+
574EC28B1EA9EE52000469E1 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = ../icon.png; sourceTree = "<group>"; };
3224
575136E01DAA2BCA00ED8327 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
3325
576F11CF1DD9961D00534799 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
3426
576F11D11DD9962700534799 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
3527
576F11D31DD9963A00534799 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; };
28+
57ABCC2F1EB322C8006B12AA /* libOneWaySDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libOneWaySDK.a; sourceTree = "<group>"; };
29+
57ABCC301EB322C8006B12AA /* OneWaySDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OneWaySDK.h; sourceTree = "<group>"; };
30+
57ABCC311EB322C8006B12AA /* OWUserMetaData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OWUserMetaData.h; sourceTree = "<group>"; };
3631
E0ADB0511D8BBD910035CFDB /* OnewaySDK-Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "OnewaySDK-Demo.app"; sourceTree = BUILT_PRODUCTS_DIR; };
3732
E0ADB0551D8BBD910035CFDB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
3833
E0ADB0571D8BBD910035CFDB /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@@ -47,26 +42,13 @@
4742
isa = PBXFrameworksBuildPhase;
4843
buildActionMask = 2147483647;
4944
files = (
50-
576F11D41DD9963A00534799 /* libsqlite3.tbd in Frameworks */,
51-
576F11D21DD9962700534799 /* libz.tbd in Frameworks */,
52-
576F11D01DD9961D00534799 /* CoreTelephony.framework in Frameworks */,
53-
5748F0901E710F75004E6044 /* OnewaySDK.a in Frameworks */,
45+
57ABCC321EB322C8006B12AA /* libOneWaySDK.a in Frameworks */,
5446
);
5547
runOnlyForDeploymentPostprocessing = 0;
5648
};
5749
/* End PBXFrameworksBuildPhase section */
5850

5951
/* Begin PBXGroup section */
60-
5748F08C1E710F75004E6044 /* OneWaySDK */ = {
61-
isa = PBXGroup;
62-
children = (
63-
5748F08D1E710F75004E6044 /* OnewaySDK.a */,
64-
5748F08E1E710F75004E6044 /* OneWaySDK.h */,
65-
5748F08F1E710F75004E6044 /* OWUserMetaData.h */,
66-
);
67-
path = OneWaySDK;
68-
sourceTree = "<group>";
69-
};
7052
576F11CE1DD9961D00534799 /* Frameworks */ = {
7153
isa = PBXGroup;
7254
children = (
@@ -77,11 +59,20 @@
7759
name = Frameworks;
7860
sourceTree = "<group>";
7961
};
62+
57ABCC2E1EB322C8006B12AA /* OneWaySDK */ = {
63+
isa = PBXGroup;
64+
children = (
65+
57ABCC2F1EB322C8006B12AA /* libOneWaySDK.a */,
66+
57ABCC301EB322C8006B12AA /* OneWaySDK.h */,
67+
57ABCC311EB322C8006B12AA /* OWUserMetaData.h */,
68+
);
69+
path = OneWaySDK;
70+
sourceTree = "<group>";
71+
};
8072
E0ADB0481D8BBD910035CFDB = {
8173
isa = PBXGroup;
8274
children = (
83-
574EC28B1EA9EE52000469E1 /* icon.png */,
84-
5748F08C1E710F75004E6044 /* OneWaySDK */,
75+
57ABCC2E1EB322C8006B12AA /* OneWaySDK */,
8576
E0ADB0531D8BBD910035CFDB /* OnewaySDK-Demo */,
8677
E0ADB0521D8BBD910035CFDB /* Products */,
8778
576F11CE1DD9961D00534799 /* Frameworks */,
@@ -99,7 +90,6 @@
9990
E0ADB0531D8BBD910035CFDB /* OnewaySDK-Demo */ = {
10091
isa = PBXGroup;
10192
children = (
102-
574EC2891EA9DE0A000469E1 /* logoImg.png */,
10393
E0ADB0571D8BBD910035CFDB /* AppDelegate.h */,
10494
E0ADB0581D8BBD910035CFDB /* AppDelegate.m */,
10595
E0ADB06C1D8BBDE70035CFDB /* ViewController.h */,
@@ -113,6 +103,7 @@
113103
E0ADB0541D8BBD910035CFDB /* Supporting Files */ = {
114104
isa = PBXGroup;
115105
children = (
106+
574EC28B1EA9EE52000469E1 /* icon.png */,
116107
5748F0851E710222004E6044 /* LaunchScreen.storyboard */,
117108
E0ADB0601D8BBD910035CFDB /* Assets.xcassets */,
118109
E0ADB0651D8BBD910035CFDB /* Info.plist */,
@@ -147,7 +138,7 @@
147138
E0ADB0491D8BBD910035CFDB /* Project object */ = {
148139
isa = PBXProject;
149140
attributes = {
150-
LastUpgradeCheck = 0730;
141+
LastUpgradeCheck = 0830;
151142
ORGANIZATIONNAME = mobi.oneway;
152143
TargetAttributes = {
153144
E0ADB0501D8BBD910035CFDB = {
@@ -179,7 +170,6 @@
179170
isa = PBXResourcesBuildPhase;
180171
buildActionMask = 2147483647;
181172
files = (
182-
574EC28A1EA9DE0A000469E1 /* logoImg.png in Resources */,
183173
574EC28C1EA9EE52000469E1 /* icon.png in Resources */,
184174
5748F07E1E70F00B004E6044 /* MainView.xib in Resources */,
185175
5748F0861E710222004E6044 /* LaunchScreen.storyboard in Resources */,
@@ -217,8 +207,10 @@
217207
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
218208
CLANG_WARN_EMPTY_BODY = YES;
219209
CLANG_WARN_ENUM_CONVERSION = YES;
210+
CLANG_WARN_INFINITE_RECURSION = YES;
220211
CLANG_WARN_INT_CONVERSION = YES;
221212
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
213+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
222214
CLANG_WARN_UNREACHABLE_CODE = YES;
223215
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
224216
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -262,8 +254,10 @@
262254
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
263255
CLANG_WARN_EMPTY_BODY = YES;
264256
CLANG_WARN_ENUM_CONVERSION = YES;
257+
CLANG_WARN_INFINITE_RECURSION = YES;
265258
CLANG_WARN_INT_CONVERSION = YES;
266259
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
260+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
267261
CLANG_WARN_UNREACHABLE_CODE = YES;
268262
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
269263
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
@@ -302,11 +296,7 @@
302296
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
303297
LIBRARY_SEARCH_PATHS = (
304298
"$(inherited)",
305-
"$(PROJECT_DIR)/OnewaySDK-Demo/OneWaySDK",
306299
"$(PROJECT_DIR)/OneWaySDK",
307-
"$(PROJECT_DIR)/NOWaySDK",
308-
"$(PROJECT_DIR)/OneWay/iOS",
309-
"$(PROJECT_DIR)/OnewaySDK-Demo/SDK-BITCODE",
310300
);
311301
OTHER_LDFLAGS = "-all_load";
312302
PRODUCT_BUNDLE_IDENTIFIER = "mobi.oneway.OnewaySDK-Demo";
@@ -330,11 +320,7 @@
330320
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
331321
LIBRARY_SEARCH_PATHS = (
332322
"$(inherited)",
333-
"$(PROJECT_DIR)/OnewaySDK-Demo/OneWaySDK",
334323
"$(PROJECT_DIR)/OneWaySDK",
335-
"$(PROJECT_DIR)/NOWaySDK",
336-
"$(PROJECT_DIR)/OneWay/iOS",
337-
"$(PROJECT_DIR)/OnewaySDK-Demo/SDK-BITCODE",
338324
);
339325
OTHER_LDFLAGS = "-all_load";
340326
PRODUCT_BUNDLE_IDENTIFIER = "mobi.oneway.OnewaySDK-Demo";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "universal",
5+
"scale" : "1x"
6+
},
7+
{
8+
"idiom" : "universal",
9+
"filename" : "logoImg.png",
10+
"scale" : "2x"
11+
},
12+
{
13+
"idiom" : "universal",
14+
"scale" : "3x"
15+
}
16+
],
17+
"info" : {
18+
"version" : 1,
19+
"author" : "xcode"
20+
}
21+
}
Loading

OnewaySDK-Demo/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
7+
<key>CFBundleDisplayName</key>
8+
<string>OneWaySDK</string>
79
<key>CFBundleExecutable</key>
810
<string>$(EXECUTABLE_NAME)</string>
911
<key>CFBundleIdentifier</key>

0 commit comments

Comments
 (0)