Quantcast
Channel: User trojanfoe - Stack Overflow
Browsing all 226 articles
Browse latest View live
↧

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 Article


Comment 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 Article


Comment 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 Article

Comment 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 Article

Comment by trojanfoe on Parse input with clap for command line

Use get_many() instead of get_one()?

View Article


Answer 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 Article

Comment by trojanfoe on Spritekit crashes sporadically on SKAction.move

Can you provide the stacktrace?

View Article

Comment 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 Article


Comment by trojanfoe on Error Building iOS App on iPhone from Xcode: Missing...

You're welcome.

View Article


Comment by trojanfoe on I can't call the function on C

Define "doesn't work"

View Article

Comment by trojanfoe on Simplifying this data structure: Rc

Sounds like Copy-on-write?

View Article

Comment 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 Article

Comment 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 Article


Comment by trojanfoe on Why is select() not returning in my code?

@user207421 and what about the address?

View Article

Comment by trojanfoe on NSLog wrapper in Objective-C not working in Swift

Wouldn't you use LogObjcWrapper directly?

View Article


Comment 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 Article

Comment 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 Article


Comment by trojanfoe on How to completely remove a piece of software from macOS?

Use AppCleaner. Voting to close.

View Article

Comment 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 Article

Comment 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
Browsing all 226 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>