Skip to content

Commit 50c09ac

Browse files
committed
v0.2.0
- Fix CocoaPods warnings
1 parent 2ef3a9b commit 50c09ac

File tree

8 files changed

+15
-7
lines changed

8 files changed

+15
-7
lines changed

.swift-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

GLTFSceneKit.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "GLTFSceneKit"
3-
s.version = "0.1.3"
3+
s.version = "0.2.0"
44
s.summary = "glTF loader for SceneKit"
55
s.homepage = "https://github.com/magicien/GLTFSceneKit"
66
s.license = "MIT"
@@ -11,6 +11,7 @@ Pod::Spec.new do |s|
1111
s.source_files = "Source/**/*.swift"
1212
s.resources = "Source/**/*.shader"
1313
s.requires_arc = true
14+
s.swift_version = "4.0"
1415
s.pod_target_xcconfig = {
1516
"SWIFT_VERSION" => "4.0",
1617
"SWIFT_ACTIVE_COMPILATION_CONDITIONS" => "SEEMS_TO_HAVE_VALIDATE_VERTEX_ATTRIBUTE_BUG SEEMS_TO_HAVE_PNG_LOADING_BUG"

GLTFSceneKit.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@
839839
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
840840
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
841841
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
842+
MARKETING_VERSION = 0.2.0;
842843
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
843844
PRODUCT_NAME = GLTFSceneKit;
844845
SDKROOT = iphoneos;
@@ -863,6 +864,7 @@
863864
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
864865
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
865866
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
867+
MARKETING_VERSION = 0.2.0;
866868
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
867869
PRODUCT_NAME = GLTFSceneKit;
868870
SDKROOT = iphoneos;
@@ -1006,6 +1008,7 @@
10061008
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
10071009
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/Frameworks";
10081010
MACOSX_DEPLOYMENT_TARGET = 10.13;
1011+
MARKETING_VERSION = 0.2.0;
10091012
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
10101013
PRODUCT_NAME = GLTFSceneKit;
10111014
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1031,6 +1034,7 @@
10311034
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
10321035
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/Frameworks";
10331036
MACOSX_DEPLOYMENT_TARGET = 10.13;
1037+
MARKETING_VERSION = 0.2.0;
10341038
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
10351039
PRODUCT_NAME = GLTFSceneKit;
10361040
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1050,6 +1054,7 @@
10501054
INFOPLIST_FILE = "$(SRCROOT)/Sample/iOS/Info.plist";
10511055
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
10521056
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1057+
MARKETING_VERSION = 0.2.0;
10531058
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKitSample;
10541059
PRODUCT_NAME = GLTFSceneKitSample;
10551060
SDKROOT = iphoneos;
@@ -1068,6 +1073,7 @@
10681073
INFOPLIST_FILE = "$(SRCROOT)/Sample/iOS/Info.plist";
10691074
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
10701075
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
1076+
MARKETING_VERSION = 0.2.0;
10711077
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKitSample;
10721078
PRODUCT_NAME = GLTFSceneKitSample;
10731079
SDKROOT = iphoneos;
@@ -1088,6 +1094,7 @@
10881094
INFOPLIST_FILE = "$(SRCROOT)/Sample/macOS/Info.plist";
10891095
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
10901096
MACOSX_DEPLOYMENT_TARGET = 10.13;
1097+
MARKETING_VERSION = 0.2.0;
10911098
PRODUCT_BUNDLE_IDENTIFIER = "jp.0spec.GLTFSceneKitSample-macOS";
10921099
PRODUCT_NAME = GLTFSceneKitSample;
10931100
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
@@ -1106,6 +1113,7 @@
11061113
INFOPLIST_FILE = "$(SRCROOT)/Sample/macOS/Info.plist";
11071114
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
11081115
MACOSX_DEPLOYMENT_TARGET = 10.13;
1116+
MARKETING_VERSION = 0.2.0;
11091117
PRODUCT_BUNDLE_IDENTIFIER = "jp.0spec.GLTFSceneKitSample-macOS";
11101118
PRODUCT_NAME = GLTFSceneKitSample;
11111119
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";

Sample/iOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.1.3</string>
18+
<string>$(MARKETING_VERSION)</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
<key>LSRequiresIPhoneOS</key>

Sample/macOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>0.1.3</string>
20+
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>LSApplicationCategoryType</key>

Source/Common/GLTFFunctions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func createKeyTimeArray(from data: Data, offset: Int, stride: Int, count: Int) -
126126
//var floatArray = [Float32]()
127127
//floatArray.reserveCapacity(count)
128128
var floatArray = [Float32](repeating: 0.0, count: count)
129-
_ = floatArray.withUnsafeMutableBufferPointer {
129+
floatArray.withUnsafeMutableBufferPointer {
130130
data.copyBytes(to: $0, from: data.startIndex + offset..<data.startIndex + offset + count * 4)
131131
}
132132
let duration = Float(floatArray.last!)

Source/iOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.1.3</string>
18+
<string>$(MARKETING_VERSION)</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

Source/macOS/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.1.3</string>
18+
<string>$(MARKETING_VERSION)</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

0 commit comments

Comments
 (0)