• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Binary File Byte-Swapping on Build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binary File Byte-Swapping on Build


  • Subject: Binary File Byte-Swapping on Build
  • From: "Curtis Jones" <email@hidden>
  • Date: Sun, 17 Dec 2006 22:27:18 -0500

Until recently, working with Xcode has been complete bliss. It's still
great ... but this problem is really perplexing.

I have a binary configuration file in my Xcode project that is
included in the application bundle when I build.

The first time I ran the program after doing a release build, it
failed telling me that this configuration file was corrupt. I opened
the file up in a hex editor and I noticed that the first four bytes
had been swapped around ... 0x01020304 (for instance) became
0x04030201.

During the build process, CpResource is run and then pbxcp which is
passed some options like --strip-debug-symbols and other such things
that really aren't necessary for this file. Finally, "strip" shows an
error "can't process non-object and non-archive file".

Anyway, so I'm not sure which one is the culprit, but I'd sure like to
get it to just copy this file and otherwise leave it alone.

Any help would be appreciated.

Thanks.


-- Curtis Jones _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: Code Completion on Tab Only
  • Next by Date: C language dialect and optimization
  • Previous by thread: Re: Code Completion on Tab Only
  • Next by thread: C language dialect and optimization
  • Index(es):
    • Date
    • Thread