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

  • SEARCH
  • Home
  • 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 7728257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:40:26+00:00 2026-06-01T05:40:26+00:00

I am developing an application for jailbroken iOS devices. I’d like to target booth

  • 0

I am developing an application for jailbroken iOS devices.
I’d like to target booth iPhone 3G (iOS 4.3.x) and iPhone 4/4S (iOS 5.x)

I successfully generated fat binaries with Xcode 4.3.x

marsu:LatestBuild sst$ otool -h myproduct.armv6
myproduct.armv6 (architecture armv7):
Mach header
   magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
   0xfeedface      12          9  0x00          2    20       2664 0x00200085
myproduct.armv6 (architecture armv6):
Mach header
   magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
   0xfeedface      12          6  0x00          2    19       2648 0x00000085

Running this on an iPhone 3G is OK
Running this on an iPhone 4, I received

iPhone:~ root# ./myproduct.armv6
Killed: 9

While running the armv7 only build on the iPhone 4 is OK.

What am I missing ?

  • 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-06-01T05:40:27+00:00Added an answer on June 1, 2026 at 5:40 am

    PARTIALLY SOLVED :

    Problem is that ldid can not sign fat binaries.
    See Building for Jailbroken devices on iOS SDK 4.2 for details.

    I found this ldid source code that is supposed to sign fat binaries
    https://github.com/rpetrich/ldid
    but it does nor work for me (ldid hangs at runtime)

    Solution probably is to use lipo tool to split the binary in two executables, ldid them separately and reassemble into one executable. (doesn’t work for me either but I am working on it)

    cd MyApp.app/; 
    lipo MyApp -extract armv6 -output MyApp6; 
    lipo MyApp -extract armv7 -output MyApp7; 
    ldid -S MyApp6; ldid -S MyApp7; 
    lipo -create MyApp6 MyApp7 -output MyApp
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to dig into developing for jailbroken devices, just to test what
I'm developing application with GWT 2 and would like to add float panel that
I am developing application having a resemblance appearance like Gallery application. When I click
I am developing application to filter logcat generated by android.I executed linux comand '/system/bin/logcat
I am developing application for iPhone environment for 1 year from now,In a recent
I am developing an iPhone application for jail broken phones and in this application
i am developing application in which i integrated the YAF forum successfully only one
I'm a first time iPhone application developer and I'm developing application for my client
G'Day Developers, I am about to hook my self into developing application for iOS
I am developing application for iPhone and iPad both, its working fine in iPhone

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.