Quick question

Discussion in 'iOS Development' started by hyernado, Dec 15, 2009.

  1. hyernado

    hyernado New Member

    Joined:
    Apr 13, 2009
    Messages:
    127
    Likes Received:
    0
    Device:
    2G iPod touch
    Hey, guys! I (finally) got Xcode code signature bypassing working on the firmware 3.1 sdk, but i have a question:
    Every other app i've seen (thats built with XCode)'s NIBs are in XML format, but when i open my app's single NIB (MainWindow.nib), it says:
    Code:
    NIBArchive <gibberish, gibberish>
    Did i build my app incorrectly, or will this still work?
  2. lauNchD

    lauNchD Well-Known Member

    Joined:
    Jan 27, 2008
    Messages:
    1,844
    Likes Received:
    261
    Device:
    iPhone 5 (Black)
    The only kind of officially 'read/writable' interface files is the XIB format (or nibs from OSX Tiger, but that doesn't really matter). Nibs are "compiled" versions of xibs, basically archived Objective-C objects inside a binary plist (afaik).
    They exist:
    a) to prevent tampering;
    b) to slim down the resourecs as much as possible to make it take up less space & load faster on your iPod.
    If you really want to look at Nibs, not Xibs, open them in the Property List Editor (comes with Xcode) or use plutil (in the Terminal) to convert them into XML.

    In conclusion: No, your nibs aren't f***ed up

    Please Register or Log in to view images

  3. hyernado

    hyernado New Member

    Joined:
    Apr 13, 2009
    Messages:
    127
    Likes Received:
    0
    Device:
    2G iPod touch
    Thanks a lot, thought maybe my xcode install was messed or something.
  4. hyernado

    hyernado New Member

    Joined:
    Apr 13, 2009
    Messages:
    127
    Likes Received:
    0
    Device:
    2G iPod touch
    Mods: might as lock this thread, my problem is resolved
  5. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    Your question may be answered, but others may have the same question. Closing the thread pretty much assures that any future questioners won't see the thread and will be forced to start a new thread. Closing the thread would only make it more difficult for future forum members to also find this information.

Share This Page