What is wrong with Mac OSX and xcode?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Mon Dec 03, 2012 9:31 am

Mac world use to be teh best sytem to work for. but after thrir suscces thier are becoming by far the worse

since xcdoe 3.2.0 each version of Xcode is tide to a compile version.
xcode 4 only workl with Lion, but Lion does no exist, xcode 3.5 only work with mountan lion and is no xcode 4.5 campatibel with any vesrion of xcode prior to xcode 4.5

it also doe no open oder project made with xcode 3.2.
so bascially afet I upgrade to Lion my mak system and all tah I work on teh Max is runing an nothong since to work

has anyone brin able to acomplich anythong at all with Xcode 4.x?

the editor no lige have a menu with a build buttom, what the * is going on?

on top of all of that after instally montail Lion, all of the app that I bough form teh Mas sctore not longer work, I get the message PowerPC application are not longer supported
why people tolerate this and keep using Max products?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Mon Dec 03, 2012 9:55 am

The way I see Apple expect that if you upgrate from one system to teh Next, every developer have to start from the scratch.
for what I can see to since xcode 4.5 is the only version of xcode that can be install with Mountin Lion, and after you ugrade Apple does not let you go back, you with start again form scratch or you abandone Mac

an I the only one getting this wrong?
how it is that I do not head people complaining about this?
I never saw a windows or linux upgrade that make half of the application you have on that system stops running.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Mon Dec 03, 2012 10:12 am

After open the newton project as other. if I try to build (some how the took away the option to configure the toolbar button in Xcode 4.x) now you have to go though the menu.

I get these error

The run destination My Mac 64-bit is not valid for Running the scheme 'newton'.

The scheme 'newton' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.


but I can not figure out how to set the target. has anyone migrated from Xcode 3 to 4.
or has anyone manage to install xcode 3.x on mountain lion OX?
these shenanigan from Apple really stink
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby JoeJ » Mon Dec 03, 2012 11:47 am

Switching from Motorola to PowerPC, then x86, next to ARM...?
And if you need to update your Software, you need to update OS and then you recognize your platform is not supported anymore... buy a new one please, it's so cheap.
This is the every day life of a mac user. The reasons users tolerate this is: They have no other choice, they still believe that Mac is better or at least more easy to use - Or are they are afraid that their knowledge is too small to operate a unit with more than one button?
But Apple knows how to make money, and that's good for us! :) Google has no copy protection for Android (do they more like to see people googeling for warez than to buy from their store?)

Sorry for being not helpful, coding on Mac is very frustrating for me too.
But it's cool you keep to support the platform.
I've made 2 OSx86 PCs - each time that took me a lot of full days - not recommended if you are rich.
But it is possible to setup various OSX on one machine, maybe that's the only way to test on older XCode.
User avatar
JoeJ
 
Posts: 1489
Joined: Tue Dec 21, 2010 6:18 pm

Re: What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Mon Dec 03, 2012 11:51 am

I can get the project to build but I can not find anywere in the disk wh ethe intemediate file and teh librar is send.
This * really *.

The only thing that I like so far in xcode 4 is that the added integation with source control, but everything else really BS.
for what I see the only choice is to make a project from scratch and hope it works, but I lost all my confidence that this work at all.

They try to copy all o fteh feature of Visual Studio, but the did a really poor Job, why the jsut sople Licence Visual Studio for Mac and have somethong that work for a change?
Instead fo tryin to rip up Microsft on everything and go out there an Projec that is is Microsoft that is copy from them? Montain Lion OS * and so is xcode 4
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Mon Dec 03, 2012 12:20 pm

Oh,. I talk too soon about source controll integration. that * too.
The added integration to xcode, but is tedered to a project, thefe if you have more than on project in one archive, you are oput luck because you cna not browse the the archive form another project
Bascially teh option fo make a new project are you link you check out an archive, or you make one outsiode source control. Not option form making a new subproject form a existing solution.

VS2010 was really attrociuos IDE, but this xcode 4.x is by far the worse and most mediocre tool I have ever came across. It is a very poor imitation of VS2010 whish was already mediocre on his own.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Mon Dec 03, 2012 1:27 pm

I guess I am going to have to abandon mac, it has being almost a week just trying to make a simple project with snow leopard or lion and mountain lion and every upgrade make things much worse.

I made the project and build the library. xcode said is build and the file should be in folder
    /Users/juliojerez/Library/Developer/Xcode/DerivedData/newton-fzterbwceebgmxguyatkbheicupt/Build/Products/Debug/libnewton.a
but that file does not exist, not any intermediate file

it gets from bad to worse, I can not even add stuff to source control any more, xcode has the absolute worse source control integration, and in the process Apple made impossible for other svn client developers to write for for lion, it is their way or the hard way. I had Version which is not free and RapidSNV free and very cool, but both stopped working for Mountain Lion and worse new version do not even install saying that not longer PowerPC app are allowed.

This is Monopoly abuse of power, I witch the Government sue Apple for antytrust abuse.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby Bird » Mon Dec 03, 2012 3:55 pm

I guess I am going to have to abandon mac,


Please don't do that! I would have to abandon Newton if you did that and I really don't want to do that. :)

I've had good success using premake4 to create a Newton core_300 and Packages workspaces using Xcode4.

Here's the preamake lua script I used to make the core_300 static library. In the Newton distribution, I created a "build" folder in the coreLibrary_300 folder and put the script there. To create an Xcode4 workspace just open a shell and cd to the coreLibrary_300/build folder and type "premake4 xcode4" from the shell( after installing premake4.4 of course )

If you need any help at all please let know.

-Bird

Code: Select all
debugSuffix = "d"
suffix32 = "_32";
suffix64 = "_64"

solution "Newton"
    configurations { "Debug", "Release"}
   location (_ACTION)
   
   -- A project defines one build target
   project "Newton"
      kind "StaticLib"
      language "C++"
      files { "../source/**.h", "../source/**.cpp" }
     platforms {"x32", "x64"}
    
     includedirs {
      "../source/ai",
      "../source/core",
      "../source/meshUtil",
      "../source/newton",
      "..source/physics"
     }
    excludes { "../source/openCL/**" }
    
    defines { "_NEWTON_STATIC_LIB" } 
    
    if os.get() == "windows" then
         configuration "vs*"
            defines { "NOMINMAX", "_CRT_SECURE_NO_WARNINGS", "_MSWIN", "_WIN32_VER"}
            buildoptions ("-MP", "-Gm-")
     end

    configuration("xcode*")
         defines { "_MACOS", "_MACOSX_VER"}
    
     configuration(_ACTION)
         location ("../build/" .. _ACTION)
         targetdir ("../libs/" .. _ACTION)
         
      configuration("Debug")
         defines {"DEBUG"}
         flags {"Symbols"}
 
      configuration("Release")
         defines {"NDEBUG"}
         flags {"Optimize"} 
         
      configuration {"Debug","x32"}
         targetsuffix (suffix32 .. debugSuffix)
 
      configuration {"Release","x32"}
         targetsuffix (suffix32)
         
      configuration {"Debug","x64"}
         targetsuffix (suffix64 .. debugSuffix)
      
      configuration {"Release","x64"}   
         targetsuffix (suffix64)
      
Bird
 
Posts: 636
Joined: Tue Nov 22, 2011 1:27 am

Re: What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Mon Dec 03, 2012 4:19 pm

No I do not want top do that, this is very very frustrating

I have a book COCOA Programming, and everything that is writing on tha book is alian to OS X lion. The difference are bigger that moving from windows to Linux. very bissard move apple made from une revision to the next.
are you using xcode 4?

I am going to the store to see if I find a newer book on xcode 4 because I do not find heads or tail here.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby tshannon » Mon Dec 03, 2012 4:23 pm

Are you just trying to build, or actually develop on a Mac? I have no experience with either, but your cmake files should work for building on Mac. They work great for my development platform of choice (Linux), and as I understand it, it's cross platform.
tshannon
 
Posts: 22
Joined: Wed Sep 05, 2012 3:21 pm

Re: What is wrong with Mac OSX and xcode?

Postby Julio Jerez » Tue Dec 04, 2012 12:29 pm

Bird when you work on teh Mac do you use Objective C Binding?
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What is wrong with Mac OSX and xcode?

Postby Bird » Tue Dec 04, 2012 2:37 pm

Julio Jerez wrote:Bird when you work on teh Mac do you use Objective C Binding?

No I don't.

I've just used Premake4.4 to generate XCode3 and Xcode4 projects for Newton's coreLibrary_300 and package static libraries. That's worked fine for me without any Objective C code at all. AFAIK, which admittedly isn't very far, you only need to use Cocoa and Object C to set up your opengl window and gui. After that all your Newton calls could be in c++.

I don't have any experience setting up a Cocoa opengl app but I found a little tutorial that might help you with it.

http://www.alecjacobson.com/weblog/?p=2110

I don't like programming on the Mac either. It's usually a total killjoy for me. I only do it cause I have to support it.

-Bird
Bird
 
Posts: 636
Joined: Tue Nov 22, 2011 1:27 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests