Peter4Lakers2 / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
0 stars 0 forks source link

GData.framework needs to actually be built 64-bit #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to link to GData.framework with your "Universal" (32/64-bit) app.

What is the expected output? What do you see instead?

The app should be able to build

What version of the product are you using? On what operating system?

You'll see errors like this:

ld: warning: in (...)/GData.framework/GData, missing required architecture 
x86_64 in file

This is building on 10.6 but I think it will happen in 10.5 as well.

It looks like you want to set the architectures to the standard 32/64 bit 
universal:

ARCHS = $(ARCHS_STANDARD_32_64_BIT)

Since I see you are putting in 64-bit friendly data types like NSInteger, you 
will also need to set 
this, otherwise you get a build error

MACOSX_DEPLOYMENT_TARGET = 10.5

Original issue reported on code.google.com by dan94...@gmail.com on 23 Jun 2009 at 5:29

GoogleCodeExporter commented 9 years ago
We'll look at making it 32/64 for the next release. Unfortunately, that may 
make the
project less suitable for building 10.4 apps, so we need to consider the 
tradeoffs.

Original comment by gregrobbins on 27 Jun 2009 at 2:47

GoogleCodeExporter commented 9 years ago
So you need to be careful in how one does this.  On Calaboration we shipped a 
32/64 bit binary, and had it 
crash on lots of users.  For some reason a bunch of users have bad 64bit system 
libs.  Simple having them run a 
lipo version that removed 64bit was all happy.

Original comment by thoma...@gmail.com on 10 Jul 2009 at 8:05

GoogleCodeExporter commented 9 years ago
Here is a patch for 64 bit
- fix some NSInteger and update project for compile framework for 32/64 bit.

Original comment by ma...@queensu.ca on 16 Nov 2010 at 3:25

Attachments: