Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4574396
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:55:02+00:00 2026-05-21T19:55:02+00:00

I have an open source C++ project. My aim is now to extend this

  • 0

I have an open source C++ project. My aim is now to extend this project with additional code. This code is Objective-C code (because I don’t know C++). I have already found a way to call an Objective-C function from a C++ class (Calling Objective-C method from C++ method?)
But, when I try to compile my C++ code with XCode, XCode freezes (no error during the building phase). My question is if it is even possible to call an Objective-C class out of a project that is only written in C++.

Has anyone had some experiences with that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:55:03+00:00Added an answer on May 21, 2026 at 7:55 pm

    Xcode freezing is definitly a bug, it should compile or give an error. Try switching to another compiler in your project settings.

    As long as the c++ code is compiled in objective-c++ mode it should work. AFAIK it will only compile in objective-c++ mode if the file extension is .mm or if you explicitly tell the compiler. Commandline switch for both gcc and clang is -ObjC++

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been looking through some code on an open source project recently and
i have a code generator project i would like to offer like open source,
I have been contributing heavily to this open source project that aims to help
There is an open source project to which I have made modifications. I don't
I have an open-source C# project on Google Code Project Hosting and I'm curious
I have a maven pom file for an open source project. This pom file
I stumbled upon this open source project Fake It Easy , and I have
I have an open source project hosted on Google Code and I recently added
hello all i have code from open source project that im integrating into my
I have an open source project containing both Python and C code. I'm wondering

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.