cocos2d-x Mac error?

Hi!

So have been made a school project but i need to make at available for mac too?
So i changed to target to “My Mac” and tried to build but here is my error:

What can i do? Actually i am kinda in a hurry haha…

Thanks! <3

add sqlite to your project?

Here is what i have added and it is still not working:

Thanks!

I have never seen a .tdb file before. I have this:

but I see trying to add it only shows me a .tdb file.

but I just read this: https://forums.developer.apple.com/thread/4572

Thanks, do you think it is going to fix it?

I haven’t tried, read the next few comments, they say the .dylibs are still available…just browse to it directly.

Okay, i know it isn’t you who made the answer but can you help?

it said this, "This is a known issue in the Xcode 7 beta.

To work around this issue for now, please:
Delete all references to .tbd files from either your linked libraries phase, or from the copied bundle resources phase (where they sometimes will be added).

Add the library you want to link manually to the “Other Linker Flags” build settings, by adding the argument:
-l<library_name>
for each library you want to link (for example, add “-lsqlite3” (without quotes)).


I did that by deleted the tbd and then included “-l -libsqlite3” in the “other linker flags” for my desktop target… But it still won’t work… I know you probably can’t do much but do you have any idea?

Thanks!

Actually i figured out how to add that files:


But i still have the exact same error… :frowning:

Your solution should work as i tried before with Cocos2d-JS v3.8.1.

Make sure you choose “Mac” under project Targets.
Then add -lz and -lsqlite3 in “Other Linker Flags” and remove references to libsqlite3.tbd and libsqlite.dylib

Still the same error…Damn it but thanks anyway