Giter Club home page Giter Club logo

gltfkit's Issues

Apple new Privacy manifest files In May

Description

At the end of April, after the latest version of Apple submitted for review, Apple restored a warning email, which does not block the review at present. According to the official warning, it will be used as a condition for blocking the review around May. We hope to deal with the warning problem before May.
According to Apple's May 1 Privacy Policy, if you use the API in your app's code, you need to report the API in the app's privacy manifest file. If you use the API in the code of a third party SDK, you will need to report the API in the privacy manifest file of the third party SDK.
Since we use Swift packages to reference the GLTFKit2 framework in our app, but I can't see which interfaces need to handle Apple's privacy policy in the dynamic library, I hope the author can check the interfaces in the implementation code. Then add the PrivacyInfo.xcprivacy file.

Version

v0.5.7

How the app depends on the framework

Swift packages

App Store review issues

Although submission for App Store review was successful, you may want to correct the following issues in your next submission for App Store review. Once you've corrected the issues, upload a new binary to App Store Connect.

ITMS-91053: Missing API declaration - Your app’s code in the “FOURTRY” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryDiskSpace. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “FOURTRY” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategorySystemBootTime. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “FOURTRY” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “FOURTRY” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

Apple Developer Relations

Write at the end

We hope to get a clear reply and solution as soon as possible, so that we can deal with the review of Apple's shelves in May. Thank you.

CocoaPods branch not found error

Hi, when trying to import this library using CocoaPods I get this error:

[!] Error installing GLTF
[!] /usr/bin/git clone https://github.com/warrenm/GLTFKit.git /var/folders/26/6jnb3c8577d4l4lc08vv19gc0000gn/T/d20180629-39482-ekkeka --template= --single-branch --depth 1 --branch 0.5.1

Cloning into '/var/folders/26/6jnb3c8577d4l4lc08vv19gc0000gn/T/d20180629-39482-ekkeka'...
warning: Could not find remote branch 0.5.1 to clone.
fatal: Remote branch 0.5.1 not found in upstream origin

In the mean time, a workaround that worked for me is to use the latest version directly from git, like so:

pod 'GLTF',     :git => "https://github.com/warrenm/GLTFKit.git"
pod 'GLTFSCN',  :git => "https://github.com/warrenm/GLTFKit.git"

Question about model loading

Hi
Im working on a Metal application which has to load models form .gltf files, but I will have to modify some vertex attributes of the model meanwhile. Could someone point me which part of the code processes the loaded data, and loads it into Metal buffers? Im new to objective-C, and could not find the place where this happens in the code.
Any help appreciated.

Question about running standalone

I have been trying to look into how to run a predefined glTF asset provided via a local url and load it on main start instead of going through the menu options every time. Is there an easy way of doing that? Sorry not very familiar with Mac OS windowing programming, been looking into NSDocuments and what not but struggling to do this easily.

Crash: Out of memory

I am experiencing a crash in SCNScene+GLTF.m with this model. Address Sanitiser is reporting "detected out-of-memory". The crash happens intermittently – around 1 in 5.

The screenshot below shows the stack trace:

Screenshot

  • The crash does not occur when using GLTFSceneKitSample for macOS.

Any ideas on the cause?

Details
iPhone 7 Plus
iOS 13.1.2
Xcode 11.1

Xcode doesn't appear to like use of C++20 and -fcxx-modules

I've had to revert a whole bunch of clang module use in order to enable C++20 support in Xcode. I had to turn off GLTFKit as a result, but will see about adding it back with regular includes.

None of my Objective-C++ files would compile once C++17 was changed to C++20.

Lighting models on devices lower than A11

Hello!

I am using GLTFMTL framework in iOS application, is works great on iphone XS (A12 chip). GLTFMTLLightingEnvironment and GLTFKHRLight works with any combinations. But on iphone 7 and 6s (A10 chip and lower) lighting don't work and the model is absolutely black. I tried many models and situation is the same. The problem was on the lines
_equirectToCubePipeline = [_device newComputePipelineStateWithFunction:equirectFunction error:error]; _irradiancePipeline = [_device newComputePipelineStateWithFunction:irradianceFunction error:error]; _specularPipeline = [_device newComputePipelineStateWithFunction:specularFunction error:error];
all the pipelines returned are nil.

The first suggestion is some parameter inside metal function is not compatible with a10 chip and lower. But I am not sure. Any suggestions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.