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 6907865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:29:19+00:00 2026-05-27T08:29:19+00:00

I try to build an iPhone app with command line. I have a problem

  • 0

I try to build an iPhone app with command line.

I have a problem on Info.plist file.

XCode converts a XML file MyApp-Info.plist to a binary file Info.plist, like this :

builtin-infoPlistUtility MyApp-Info.plist -genpkginfo <path>/MyApp.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -resourcerulesfile <path>/MyApp.app/ResourceRules.plist -o <path>/MyApp.app/Info.plist

Today, I compile Info.plist with XCode and then I can sign MyApp.app with codesign successfully.

I try to compile Info.plist with plutil tool, like this :

plutil -convert binary1 <path>/MyApp.app/Info.plist

It works, but then codesign failed with error :

object file format invalid or unsuitable

I think I need other options for plutil utility but I don’t know which ones.

Any help please ?

  • 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-27T08:29:20+00:00Added an answer on May 27, 2026 at 8:29 am

    Im quite sure that the Info.plist file does not need to be in binary format to work. Does work if you just leave it as standard XML file?

    I have seen this error message when the CFBundleResourceSpecification key was missing, should probably have the value ResourceRules.plist. It also seams to happen if the CFBundleExecutable key is missing.

    A good way to see which keys that are used in a resulting app bundle is to do this:

    1. Create a new fresh iOS app in Xcode
    2. Configure minimum version, platform, orientations etc.
    3. Build the app
    4. Expand the “Product” group in the project tree and choose “Show in finder” on the app
    5. Choose “Show Package Contents” on the app bundle
    6. Open the Info.plist file and inspect it

    Use plutil if you want to convert to resulting binary plist to XML format.

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

Sidebar

Related Questions

Whenever I try to build my iPhone app in Xcode 3.2.1 I get an
Xcode 3.2 kind of broke the build process of my iPhone app. I need
I have XCode 3.2.2 and am trying to build an app to my jailbroken
i try to build a app that is in landsscape mode all the time.
Now I try to build iPhone application, like magazine online, that can download new
I'm having some strange behaviour ocurring when I try to run my Iphone app
I have an iPhone/iPad app which uses Core Data. In my DB I have
I have an iPhone app that compiles and runs fine in the Simulator on
Is it possible to actually use the Xcode debugger when running an iPhone app
I am getting Command failed with exit code -1 error when compiling iPhone App

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.