HELP!!! Xcode not working [SOLVED]
-
On 18/12/2014 at 15:22, xxxxxxxx wrote:
Here is a capture of the report:
-
On 19/12/2014 at 01:46, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Here is a capture of the report:
Rui,
the last icon in the navigator menu contains the "Show the Log navigator" icon. If you select one of the message - in the main window - and open the context menu (RMB), then you'll find an option "Expand All transcripts". This should give you a more detailed message of what is going wrong.
I suppose it 's the incompatible install path we reported for Xcode 5 & newer (@Apple; radar: ID 14771490) - and which is considered in the R16 SDK.
Another possible problem could be selecting the wrong command line tools (Xcode 5 should always include the right ones); please check in Xcode->Preferences->Locations ... "Command Line Tools" for the proper selection.
Best regards,
Wilfried
-
On 19/12/2014 at 15:58, xxxxxxxx wrote:
Thank you for the added information, Wilfried.
I managed to be able to perform successful builds from five out of my six C++ plugins. Just have to deal with a small (I hope) error in the last one.
This is one of the reasons I do most of my development in python. It is so much easier (but not as powerful, I know ) -
On 27/02/2015 at 10:50, xxxxxxxx wrote:
Damn! Damn! Damn!
This is happening again.
Now I tried using the project file I was using for my plugins that were already compiling, changed it to the new source code and I get a compilation fail with the same error as the one stated in my original post.
I also tried with the cinema4dsdk project file and I get the same error!!!!
Why? Oh why?!?!?!
Can someone help me? Please. -
On 27/02/2015 at 10:53, xxxxxxxx wrote:
The Command Line Tools are set to Xcode 5.0.2 (5A3005).
-
On 28/02/2015 at 09:19, xxxxxxxx wrote:
Already tried re-installing Xcode and I still get the same error:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1
I tried re-installing Xcode 4.6.2 and Xcode 5.0.2 and they both return the same error as I try to build my plugin.
Does anyone know how to fix this?
-
On 28/02/2015 at 13:00, xxxxxxxx wrote:
I tried installing Xcode 5.1 and now I got this error:
Libtool /./lib_api_debug.a normal x86_64
cd "/Applications/Maxon/CINEMA 4D R15/resource/_api_lib"
export MACOSX_DEPLOYMENT_TARGET=10.6
/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Developer/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/Applications/(build)/Debug -filelist /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/_api_debug.LinkFileList -o /./lib_api_debug.a/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/c4d_uuid.o has no symbols
error: /Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't create output file: /./lib_api_debug.a (Permission denied)Does this help?
-
On 28/02/2015 at 16:58, xxxxxxxx wrote:
I can't even compile the cinema4dsdk!!!
I get all these errors -
On 01/03/2015 at 03:27, xxxxxxxx wrote:
Has this never happened to anyone?
I simply can't do anything -
On 01/03/2015 at 04:52, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Has this never happened to anyone?
I simply can't do anythingBased on the output I'd guess you managed to write protect the sdk and build directory (making Xcode and the toolchain failing to create any compiled files).
Best regards,
Wilfried
-
On 01/03/2015 at 05:08, xxxxxxxx wrote:
When I read the errors, I set all the directories to be Read & Write.
And, even so, I get the same errors -
On 01/03/2015 at 05:16, xxxxxxxx wrote:
After setting the privileges, to Read/Write in the whole Cinema 4D folder and the (build) folder, I still get this error:
Libtool /./lib_api_debug.a normal x86_64
cd "/Applications/Maxon/CINEMA 4D R15/resource/_api_lib"
export MACOSX_DEPLOYMENT_TARGET=10.6
/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Developer/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/Applications/(build)/Debug -filelist /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/_api_debug.LinkFileList -o /./lib_api_debug.a/Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/c4d_uuid.o has no symbols
error: /Applications/Developer/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't create output file: /./lib_api_debug.a (Permission denied) -
On 01/03/2015 at 10:41, xxxxxxxx wrote:
Where exactly is located the /./lib_api_debug.a file that can't be created?
Just to make sure it is not write protected. -
On 01/03/2015 at 11:42, xxxxxxxx wrote:
Hi Rui,
I'm terribly sorry, I'm currently in the US attending GDC. I'm not sure Joey will find the time to help you out. So probably you'll have to wait a week until I return. Sorry
-
On 01/03/2015 at 13:31, xxxxxxxx wrote:
Ok, thank you in advance, Andreas. I will have some Cinema 4D classes to give this week so I will keep my plugins hibernating, in the meanwhile.
-
On 02/03/2015 at 13:03, xxxxxxxx wrote:
Can anyone, at least tell me where should reside the file that is not being able to be created?
-
On 02/03/2015 at 14:37, xxxxxxxx wrote:
Hi Rui,
I only have limited Mac experience, but tried to find the file you mention that has the permission denied error. I realized that it doesn't exist in the R16 SDK, the equivalent files were renamed from R15 SDK. Besides that, I compiled the R16 SDK from the installed version of C4D for the first time, and didn't have any issues whatsoever, using XCode 6, which is the only version I have installed.
However, I can share with you some bits of knowledge I gained in the attempt. To find the file, you'll have to either use the finder from the root of your hard disk, or if you are familiar with Terminal, go to the root of your hard disk in it and use the following command:
find . -iname lib_api_debug.a
If the file does exist, it will definitely find it if you search from the root and it's not in a totally blocked directory. You'll then know what directory structure to delete to get rid of the 'permission denied' issue, as it looks like an older copy of the file or the directory it's stored in is set to read only, thus not allowing the new one you're trying to build to overwrite it.
As for all the warnings you're getting ('Semantic Issue', etc.), it looks like you're trying to compile a version of the SDK with a compiler version that is newer than intended. However, I'm only guessing with the limited info.
Let us know how it goes, I'll watch this thread.
Joey Gaspe
SDK Support Engineer -
On 03/03/2015 at 01:59, xxxxxxxx wrote:
I tried to revert back to Xcode 4.6.3 and now it doesn't even start.
I mean, it starts and then quits -
On 03/03/2015 at 08:33, xxxxxxxx wrote:
Hi Rui,
Sorry to hear you're in a worse position, but it seems like something is really messed up on your computer with Apple's XCode. To some extent, computer platforms share common issues, and when things get really messed up, there's one general response (start over from scratch) :
1. Backup all your code and data, just to be safe.
2. You have to uninstall all your versions of XCode, probably from newest to oldest version.
3. Here's the crucial step: Delete all left over compiler configuration files, directories, etc. I have no idea how to do this, you'll have to look it up in Apple's forums or Mac OS X help sites.
4. Re-install the XCode versions you absolutely need in the recommended order from oldest to newest, carefully following the instructions you've certainly heard about to avoid any side by side issues.
5. Try compiling your projects again, making sure nothing is left to being discovered broken in the future.
We can't help you any further than that, as you're having major problems with an Apple software product, not Cinema 4D or anything to do with MAXON. I would recommend you follow any instructions and advice that Apple may provide. I don't know the full extent of system recovery and reset options on Mac OS X, so I wouldn't know what to recommend next.
Joey Gaspe
SDK Support Engineer -
On 03/03/2015 at 09:04, xxxxxxxx wrote:
Thank you for your reply Joey.
I will try to do that. In the meanwhile, I managed to make XCode 5.0.1 to work but I still get this error whem trying to compile de cinema4dsdk or my plugin:
Libtool /./lib_api_debug.a normal x86_64
cd "/Applications/Maxon/CINEMA 4D R15/resource/_api_lib"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/Applications/Maxon/CINEMA\ 4D\ R15/resource/_api_lib/../../../../(build)/Debug -filelist /Applications/Maxon/CINEMA\ 4D\ R15/resource/_api_lib/../../../../(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/_api_debug.LinkFileList -o /./lib_api_debug.a/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Applications/(build)/_api.build/Debug/_api.build/Objects-normal/x86_64/c4d_uuid.o has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't create output file: /./lib_api_debug.a (Permission denied)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1