Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Oct 14, 2016 at 09:19 AM by flojeulin for the following reason:

Problem solved

avatar image
0
Question by flojeulin · Oct 07, 2016 at 10:32 AM · iosbuild-errorxcode

xcode build failure: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstring:70:9: No member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?

Hello, I am working with Unity 5.4.1 and XCode 8.0. I am new to Unity and I am trying to build the xcode project generated for iOS. I've got plenty of errors related to C++ code like the one below. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstring:70:9: No member named 'memcpy' in the global namespace; did you mean 'wmemcpy'?

Any idea what is wrong here? Thanks

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jessespike · Oct 07, 2016 at 06:26 PM 0
Share

Perhaps the versions are incompatible. I'm having no problems running Unity 5.4.1f1 and XCode 7.3.1 together.

avatar image elenzil · Oct 07, 2016 at 06:58 PM 0
Share

they may be including the wrong C++ stdlib.

i'm able to compile w/ Unity 5.3.3 and XCode 8 by linking against libc++.tbd.

to set that up:

  1. in xcode, on the far left, select your project. (seems to always be 'unity-iphone' for me)

  2. in the left of the right-hand pane, be sure to select the Target, not the Project.

  3. go to "Build Phases"

  4. Expand "Link Binary With Libraries"

  5. if there's some C++ lib in there already, delete it. these would look like "stdc", "c++11", etc.

  6. click "+" and add "libc++.tbd".

avatar image flojeulin · Oct 14, 2016 at 09:19 AM 0
Share

Hello, I finally fixed the issue by re-importing Vuforia in Unity

1 Reply

  • Sort: 
avatar image
0

Answer by flojeulin · Oct 10, 2016 at 08:02 AM

Hi Jessespike and Elenzil,

Unfortunately, I already tried that without success. And I figured out that the issue is with a plugin I am using: Vuforia. If I build the Xcode project right after it's creation by Unity, I have an issue with Vuforia while linking: .... "_getVuforiaLibraryVersion", referenced from: _VuforiaNativeIosWrapper_getVuforiaLibraryVersion_m782910513 in Bulk_Vuforia.UnityExtensions_1.o (maybe you meant: _VuforiaNativeWrapper_getVuforiaLibraryVersion_m716106582, _VuforiaNativeIosWrapper_getVuforiaLibraryVersion_m782910513 ) ld: symbol(s) not found for architecture arm64

Thus I tried to change the build settings to look recursively into folders for the headers. When I do that, I have the issues with the C++ symbols.

Any clue ?

Thanks,

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Xcode warnings: Potential leak of an object and Dead store 0 Answers

Unity iOS build error 0 Answers

Unity3d project failed to build for iOS macos Catalina (cocoapods problem) 2 Answers

Unity 5.2 to Xcode7.1.1 build fail 4 Answers

xCode Errors 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges