Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
- Fix CocoaPods warnings
  • Loading branch information
magicien committed Jul 18, 2021
1 parent 2ef3a9b commit 50c09ac
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 7 deletions.
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

3 changes: 2 additions & 1 deletion GLTFSceneKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "GLTFSceneKit"
s.version = "0.1.3"
s.version = "0.2.0"
s.summary = "glTF loader for SceneKit"
s.homepage = "https://github.com/magicien/GLTFSceneKit"
s.license = "MIT"
Expand All @@ -11,6 +11,7 @@ Pod::Spec.new do |s|
s.source_files = "Source/**/*.swift"
s.resources = "Source/**/*.shader"
s.requires_arc = true
s.swift_version = "4.0"
s.pod_target_xcconfig = {
"SWIFT_VERSION" => "4.0",
"SWIFT_ACTIVE_COMPILATION_CONDITIONS" => "SEEMS_TO_HAVE_VALIDATE_VERTEX_ATTRIBUTE_BUG SEEMS_TO_HAVE_PNG_LOADING_BUG"
Expand Down
8 changes: 8 additions & 0 deletions GLTFSceneKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
PRODUCT_NAME = GLTFSceneKit;
SDKROOT = iphoneos;
Expand All @@ -863,6 +864,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
PRODUCT_NAME = GLTFSceneKit;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -1006,6 +1008,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
PRODUCT_NAME = GLTFSceneKit;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1031,6 +1034,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKit;
PRODUCT_NAME = GLTFSceneKit;
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1050,6 +1054,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Sample/iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKitSample;
PRODUCT_NAME = GLTFSceneKitSample;
SDKROOT = iphoneos;
Expand All @@ -1068,6 +1073,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Sample/iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.0spec.GLTFSceneKitSample;
PRODUCT_NAME = GLTFSceneKitSample;
SDKROOT = iphoneos;
Expand All @@ -1088,6 +1094,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Sample/macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = "jp.0spec.GLTFSceneKitSample-macOS";
PRODUCT_NAME = GLTFSceneKitSample;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
Expand All @@ -1106,6 +1113,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Sample/macOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 0.2.0;
PRODUCT_BUNDLE_IDENTIFIER = "jp.0spec.GLTFSceneKitSample-macOS";
PRODUCT_NAME = GLTFSceneKitSample;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
Expand Down
2 changes: 1 addition & 1 deletion Sample/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1.3</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
2 changes: 1 addition & 1 deletion Sample/macOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1.3</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/Common/GLTFFunctions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func createKeyTimeArray(from data: Data, offset: Int, stride: Int, count: Int) -
//var floatArray = [Float32]()
//floatArray.reserveCapacity(count)
var floatArray = [Float32](repeating: 0.0, count: count)
_ = floatArray.withUnsafeMutableBufferPointer {
floatArray.withUnsafeMutableBufferPointer {
data.copyBytes(to: $0, from: data.startIndex + offset..<data.startIndex + offset + count * 4)
}
let duration = Float(floatArray.last!)
Expand Down
2 changes: 1 addition & 1 deletion Source/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.3</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/macOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.1.3</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
Expand Down

0 comments on commit 50c09ac

Please sign in to comment.