Comment by trojanfoe on Xcode C++ how to read file inside xcframework and...
I think you may have issues getting your app onto the App Store. I recently had a project that used a .dylib in an app extension and it was rejected during submission with an obscure ITMS-90427 error....
View ArticleComment by trojanfoe on Cannot find the dynamic library in Xcode
When you finish building the external library, you will need to modify its install name (using install_name_tool -id ...) to @rpath/libtest-xx.dylib. The app executable should have the frameworks...
View ArticleComment by trojanfoe on Objective C - freopen command creates file but does...
I assume you based that code on an SO answer from 2011? I believe that Xcode 15 no longer captures stderr to show NSLog entries, and instead gets it from the system log. So you could argue that the...
View ArticleComment by trojanfoe on Error Building iOS App on iPhone from Xcode: Missing...
I think this is a Provisioning Profile issue. What sort of app are you writing?
View ArticleComment by trojanfoe on Parse input with clap for command line
Use get_many() instead of get_one()?
View ArticleAnswer by trojanfoe for CC crate example won't link with the C functions
The build.rs file needs to be in the top-level directory, next to Cargo.toml, and not in the src directory.Also note that you have an error in foo.c:printf("this is foo\n");
View ArticleComment by trojanfoe on Spritekit crashes sporadically on SKAction.move
Can you provide the stacktrace?
View ArticleComment by trojanfoe on Objective C - freopen command creates file but does...
I didn't downvote your answer, but I can see why someone might have. This is terribly expensive logging code. Firstly open the log file once per process, not every log call. Secondly what's going on...
View ArticleComment by trojanfoe on yacc returns without parsing full sentence
I am confused by your example test session; you enter 5am twice but get different output.
View ArticleComment by trojanfoe on GCC -Woverride-init warning with anonymous structs in...
@clem822 I am trying to convey to you that the way the data is laid out externally has nothing to do with how the data is represented internally. That's where marshalling comes in. Please take a minute...
View ArticleComment by trojanfoe on Why is select() not returning in my code?
@user207421 and what about the address?
View ArticleComment by trojanfoe on NSLog wrapper in Objective-C not working in Swift
Wouldn't you use LogObjcWrapper directly?
View ArticleComment by trojanfoe on GCC -Woverride-init warning with anonymous structs in...
@clem822 And there are no endian requirements on this bus? It's always the same as the native byte order?
View ArticleComment by trojanfoe on Set tracing log level from commandline in libtest_mimic
What logger is used? If it's env_logger then you could set $RUST_LOG.
View ArticleComment by trojanfoe on How to completely remove a piece of software from macOS?
Use AppCleaner. Voting to close.
View ArticleComment by trojanfoe on Why is the second or looped select() blocking?
I think you'll need to reset that fd_set before every select() call.
View ArticleComment by trojanfoe on An error Command PhaseScriptExecution failed with a...
So what's the error message? You can see that by expanding the line in the build log.
View Article