Trouble with building for the iPhone simulator due to missing i386 arch
7 views
Skip to first unread message
offwhite
unread,
Oct 15, 2009, 10:20:13 AM10/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Midwest iPhone SDK Developers
I get this error.
Undefined symbols:
"_bswap_32", referenced from:
_decode in libical-static.a(icaltz-util.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
If I build for the device it works because the library files all have
versions of the arm architecture for the iPhone, but I am finding they
often lack the i386 architecture with iPhone 3.2.1. If I drop back to
iPhone 3.2 or 3.1 I find more libraries have i386 in the universal
binaries.
If you run the following commands you will see the issue.
That is a library I need to build against in Xcode but it you can see
the lack of i386 in some versions.
I am closer now than I was when I started last night. I have been
messing with the build options for i386 with the CFLAGS and LDFLAGS
options but finding paths which have i386 binaries is the challenge. I
won't be able to build for the simulator until I get passed this build
issue.
Anyone have some time to look into this? The code is checked in
without a reference to libical-static.a yet. You can add it to the
Packers Schedule project and try building it with the line where
"set_zone_directory" is currently commented out is not commented out.
That is a call into libical-static which is what fails when it tries
to link to dependencies in Xcode.