Post

Replies

Boosts

Views

Activity

Reply to Undefined Symbols with no other info
Interesting, now that I can see the detail it's referencing a function call instead of a library that its missing. More troubleshooting to do, thank you for the lead ld: Undefined symbols: SplashScreen::createScene(), referenced from: AppDelegate::applicationDidFinishLaunching() in AppDelegate.o clang: error: linker command failed with exit code 1 (use -v to see invocation)
Oct ’23
Reply to StoreKit2 with C++ application. How?
Does anyone know the proper way to call storekit 2 from C++? I'm getting blocked by asyncronous functions and main actors not being exposed to C++, but they are required for storekit 2 function calls. I can call functions that do simple things but not Product.products() which require await and main actor threads on my view. I can't even get a basic view to appear from C++ at this point! Any function or struct that can do it is blocked from C++ export it appears. Thanks!
Topic: App & System Services SubTopic: StoreKit Tags:
May ’25
Reply to Xcode 15 beta 6: Undefined symbols, Linker command failed with exit code 1
I just upgraded to xcode15 and I'm getting "undefined symbols" but it doesn't tell me what they are. How can I troubleshoot that?? I'm doing a pretty basic cocos2dx game with spine. It also has a new 'ignoring duplicate libraries' warning which makes me think its a clue but I can only find one version of the library it says is duplicate?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Undefined Symbols with no other info
Wow thank you! This is gold!
Replies
Boosts
Views
Activity
Oct ’23
Reply to Undefined Symbols with no other info
Interesting, now that I can see the detail it's referencing a function call instead of a library that its missing. More troubleshooting to do, thank you for the lead ld: Undefined symbols: SplashScreen::createScene(), referenced from: AppDelegate::applicationDidFinishLaunching() in AppDelegate.o clang: error: linker command failed with exit code 1 (use -v to see invocation)
Replies
Boosts
Views
Activity
Oct ’23
Reply to Undefined Symbols with no other info
Oh GAWD the error was that it wasn't seeing any of my custom source files at all (and thus any functions that I had defined) because although I added them to the Xcode project I didn't add them to the build target (although build_all was checked by default). XCODE fail Now it works thanks
Replies
Boosts
Views
Activity
Oct ’23
Reply to Swift / C++ Interop with Storekit - actor isolated structure cannot be exported to C++
I'm trying to work around this, but making a new structure that holds the view is resulting in all kinds of errors relating to the storeChooser being a main actor view. It doesn't like the constructor not being async. Is there a way to make an async init function? If there was, then C++ couldn't call it? or could it? Gahhh
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’25
Reply to StoreKit2 with C++ application. How?
Does anyone know the proper way to call storekit 2 from C++? I'm getting blocked by asyncronous functions and main actors not being exposed to C++, but they are required for storekit 2 function calls. I can call functions that do simple things but not Product.products() which require await and main actor threads on my view. I can't even get a basic view to appear from C++ at this point! Any function or struct that can do it is blocked from C++ export it appears. Thanks!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’25
Reply to Calling StoreKit Swift from C++
FYI in the meantime using original storekit 1, it works just fine from C++ as a class with the old SK functions and calls
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’25