Tuesday, 14 May 2013

Why is my app still not 32-bit compatible.


backstory
when started project, had set use arc because greatest thing in world.

released app , got email asking why app didn't work on computer. after few , forth emails , googling, came answer:

because using arc, app not 32-bit compatible. computer had intel core duo, meant wasn't 64-bit compatible, app didn't run on computer.

verify issue
found terminal command check if app 32 bit compatible or not...
cd app bundle, contents, macos. use

file <the name of whatever @ directory... should executable file>

apps work on both 32 bit , 64 bit machines, returns this:

code:
ical: mach-o universal binary 2 architectures  ical (for architecture x86_64):	mach-o 64-bit executable x86_64  ical (for architecture i386):	mach-o executable i386
for apps don't work on 32 bit machines, mine, returns this:

code:
battery status: mach-o 64-bit executable x86_64
what tried
so, went xcode , changed both target , project setting "architectures" "standard (32/64-bit intel)".

and... nope, it's still not 32 bit compatible.

"valid architectures" both project , target "i386 x86_64", don't think that's issue either.

so... suggestions need check haven't already?
 

remove x86_64 valid targets?
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment