Comments (7)
A couple of times a year, I waste of a day of my life trying to get SPM to work, and every single time, it's a miserable experience. I have made the offer before (#23) that if someone wants to contribute a working Project.swift file, I'll do my best not to break it. I haven't had any takers so far.
The problem is that many aspects of this project (use of multiple languages, idiosyncratic directory structure, using a framework target rather than a static library) go against the grain of SPM's assumptions, and coaxing it into building a usable library while maintaining compatibility across Obj-C and Swift seems nearly impossible.
In the meantime, if you want to incorporate GLTFKit2 into your project as a framework, you can add the self-contained GLTFKit2 project as a subproject of your Xcode workspace. This will make the GLTFKit2.framework target available in the scope of the workspace, and you can link to it in your own app target(s).
from gltfkit2.
It is now possible to consume GLTFKit2 as an xcframework in Swift projects without the need to compile it yourself or add the project to a workspace. Future tagged releases (starting with 0.5.1) will include updated binaries that incorporate support for KTX2 textures. Draco support remains optionally available via the existing plug-in architecture.
If you have questions or difficulty incorporating the framework in this way, this issue will remain open for the next seven days. Beyond that time, please file new issues detailing your problem or feature request.
from gltfkit2.
Thank you, will try :)
from gltfkit2.
It works now with SPM now, you're a hero! You've saved our team, thank you very much!
from gltfkit2.
Delighted to hear it :)
from gltfkit2.
Any support for Cocoapods?
from gltfkit2.
Please don't make new requests on closed issues.
But no, we don't expect to ever support Cocoapods.
from gltfkit2.
Related Issues (20)
- The problem with transparency of the model HOT 6
- Display of KHR_materials_transmission HOT 17
- Model broke app HOT 13
- Texture coordinate sets are not mapped deterministically to SceneKit geometry sources HOT 5
- Skinned, morphed, normal-mapped models have incorrect lighting in SceneKit HOT 15
- Add Mac Catalyst Xcode Destination HOT 3
- Building for 'macCatalyst', but linking in dylib (Cocoa.tbd) built for 'macOS' HOT 1
- Crash when loading animation HOT 4
- GLTFAssetReader convertBuffers crashes during asset loading HOT 8
- GLTFRealityKitLoader bad material rendering on some GLB Files HOT 19
- Crash when converting model containing 8-bit sparse accessor indices HOT 3
- How to use GLTFDracoMeshDecompressor need example HOT 5
- GPU instancing extension support? HOT 5
- Temperance bone direction HOT 4
- Inquiry Regarding Privacy Compliance HOT 1
- Add support for anisotropy in RealityKit converter
- Apple new Privacy manifest files In May HOT 4
- Broken surfaces in RealityKit HOT 3
- App crashes on iOS 15.x device stating dyld[7200]: Symbol not found: HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltfkit2.