when trying to convert my .obj files to .usdz using command line, I can't find the generated file.
Screenshot showing the command line is not generating the file
I got a message saying the file was generated with success, but there's no generated file at all. :(
What I've done so far:
Updated my Xcode to Version 10.0 (10A255)
Updated 'USD' path environment variables, following USDPYTHON documentation. (export PATH=$PATH:/USD
export PYTHONPATH=$PYTHONPATH:/USD)
Using macOS High Sierra 10.13.6
Any clues on any step I missing to successfully convert a model to .usdz?
Note: When using a 3rd party tool, like https://vectary.com for example, I'm able to convert my .obj model.
Thanks!
Related
I am using following code to export test code coverage using Xcode11.4.
./xccov-to-sonarqube-generic.sh /DerivedData/MyApp-*/Logs/Test/*.xcresult/ > sonarqube-generic-coverage.xml
I am getting following error
This version of Xcode does not support opening result bundles created
with versions of Xcode and xcodebuild using the v1 API
Kindly help me with the proper way.
3 work arounds here for this as for as my research:
There is an update to xccov-to-sonarqube-generic.sh script for Xcode 11+. Try using this
https://github.com/SonarSource/sonar-scanning-examples/blob/master/swift-coverage/swift-coverage-example/xccov-to-sonarqube-generic.sh
Use Code Coverage Converter (cococo) utility to generate sonar's xml file format. Refer for more info:
https://medium.com/monsterculture/cococo-code-coverage-converter-from-xcode-11-to-sonarqube-7f48cff97b9b
Any shell script that is capable to convert Xocde 11+ *.xcresult file to sonar's xml file format
I have written a MATLAB 2019a function that I want to export via codegen. I want to run this C function on my iPhone. Here is how I am exporting the function via codegen:
When I export it, a very large portion of my .h files have this include header:
#include "omp.h"
XCode states that 'omp.h' file not found.
This is odd to me, as when I've exported on older Matlab versions never was omp.h file included. Looking around the net, there are several questions that talk about this missing file, such as :
Xcode C++ omp.h file not found
How to include omp.h in OS X?
However, the authors of this question seem to advertently want it. I suspect that I am just running the MATLAB codegen incorrectly, thus requiring it's use.
Questions:
Should I export differently via codegen to allow my code to work on an iPhone?
If I exported correctly, where would I want to fetch the omp.h file from in order to run the exported code on an iPhone?
I ended up finding an option to disable it, by selecting no in the image below, and it removed the code from having omp.h
I'm trying to get my app to recognize .obj files for importing.
I've tried to follow the instructions in this WWDC video.
I've tried specifying as both an Imported UTI, and an Exported UTI. Neither causes the file to be openable in UIDocumentBrowserViewController (the document icon is grayed). I don't understand how my native document format is openable in the browser either. I've tried deleting and reinstalling the app from the device.
What am I missing? Why isn't this simple?
Here's what I've got:
It turns out iOS already knows about .obj files. On macOS, I ran the following:
mdls myfile.obj
Which among other things shows:
kMDItemContentType = "public.geometry-definition-format"
kMDItemContentTypeTree = (
"public.content",
"public.geometry-definition-format",
"public.text",
"public.data",
"public.item",
"public.3d-content"
)
So the UTI is public.geometry-definition-format. I don't know if that already specifies the extension or is a more generic type.
The following worked to make the files openable in UIDocumentBrowserViewController:
The UTI isn't declared in the documentation (what a surprise!), so I'd recommend using mdls to look up UTIs.
I'm Trying to wrap a very simple Objective-C app all it does is display the Username to the screen if it's inside Citrix managed space otherwise it should write that it's not inside Citrix managed space.
However when I try to wrap it after Exporting the IPA file from Xcode. then I try to wrap that IPA file with the MDX toolkit. and this is what happens..
I have no Idea what to do to make this work ? I do not believe I've done any wrapping before this point. and I've just followed a tutorial from Citrix on youtube the newest one I could find.
it's called "Tutorial - Develop with Citrix WorxSDK part 1"
Edit
forgot to mention I'm using
Xcode 8.2.1
MDX toolkit 10.4.10
Newest Java jdk I could pull
I found the problem. MDX 10.4.10 is in my setup trying to wrap at compile time as I didn't supply the script in build phases it didn't know how to create the mdx file. which resulted in simply creating only the IPA file. The script creates a MDX file that I then later can imbed the IPA file into. this is the script that soleved it all for me:
export APPTYPE="Enterprise"
export STOREURL="http://example.com"
export DATE=`date +%Y-%m-%d_%H-%M-%S`
export POLICYFILE="/Path/to/Policyfile.xml"
/Applications/Citrix/MDXToolkit/CGAppCLPrepTool SdkPrep -in "${CODESIGNING_FOLDER_PATH}" -out "/Users/Udvikling/Documents/Debug Builds/${EXECUTABLE_NAME}_${DATE}.mdx" -storeUrl "${STOREURL}" -appIdPrefix "ABCDEFGH" -policyXML "${POLICYFILE}" -appType "${APPTYPE}" -entitlements "${CODE_SIGN_ENTITLEMENTS}"
In numerous places, the Apple documentation talks about packages of files (e.g. for iCloud) created by NSFileWrapper. Is this is any way similar to the .pkg format used to hide a folder as a single file on the OS X platform?
I have an app with multiple text files that I'd like to be able to let the user backup. I've used NSFileWrapper to create a single 'file' that does this. I had assumed that this was similar to a .pkg file on OS X, but despite then bringing the file into OS X (via email) I have no way of opening it - despite renaming files, etc.
So, is the NSFileWrapper 'package' completely different to the OS X 'package'?
Thanks,
Richard
No. One works on the filesystem level, while the other is a bunch of files compressed together with a specirfic set of unpacking instructions
NSFileWrapper, From the link you mentioned:
A file wrapper is a runtime representation of a file-system node, which is either a directory, a regular file, or a symbolic link.
While a .pkg would look something like:
A xar-based format used on a number of platforms to install files.
Wikipedia, (un)surprisingly enough, has a decent overview of what exactly a .pkg is.