Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6324649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:44:40+00:00 2026-05-24T16:44:40+00:00

I seem to be having issues replicating the iOS png optimizations that xcode makes.

  • 0

I seem to be having issues replicating the iOS png optimizations that xcode makes. Our app allows users to update content via an asset server by comparing the checksums of the files stored in the bundle with those on the server. Before any pngs are uploaded to the server they are subjected to the iphoneos-optimize script inside the xcode developer directory (Stack Overflow post). The trouble is that the checksum performed (both by the server and the device) on the pngs produce different results.

It is worth mentioning that this is tested on the device and not the simulator (which doesn’t crush the pngs). Also the visible results are the same it is merely the checksum that is different.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:44:43+00:00Added an answer on May 24, 2026 at 4:44 pm

    I created a test in which I uploaded the bundle .png from device to our server so we could analyse the image more thoroughly. When I opened the .png file I could actually see the image, which suggested it had not been mangled by the XCode build process (as it swaps the bytes etc). I then disabled the png compression from the build settings within XCode and tried again. The image sent to the server this time was pngcrushed and the checksum of the file matched the image I crushed manually. It would suggest that the build setting for XCode 3.2.6 may be backwards. I then tested on a colleague’s machine running XCode 3.2.5 and the setting worked as expected; producing a crushed image when the compression flag was set.

    I tried googling for the issue but could not find any bug/issue reports on the subject. However the evidence suggests it is an XCode issue. It would be good to receive confirmation on this from another party.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm having two issues that I cannot seem to get unkinked. I run
I seem to be having issues. I have a query string that has values
Seem to be having an issue with std::auto_ptr and assignment, such that the object
I am having an issue that I can't seem to figure out. Hopefully somebody
I am having a strange issue that I can't seem to resolve. Here is
I seem to be having two issues with my project after I converted from
I'm having some issues with my table that has UITextFields in each cell. I
I seem to be having some issues while attempting to implement logging into my
I'm having issues with this regex it doesn't seem to grab the titles (everything
I'm trying to port the speakhere example into another app and I'm having issues.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.