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

  • Home
  • SEARCH
  • 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

Does anybody know of any open source project that deals with creating forms or
I just finished an open source project for the company I was interning with.
Ive been roaming around the interwebs looking for my first open-source project to contribute
I think tow months ago. I found a google's open source project that can
I have a solution with many many projects, I did not write this project
I'm interested in starting an Open Source project that could be packaged as a
I am working on an enormous project (the project) which is open-source, and I
Are there any open source BlackBerry PDF renderer application. I have searched for PDF
I would like to update an open-source war file in Maven with some additional
I wrote a Linux program based on a buggy open source library. This library

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.