This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface XmlParser : NSObject <NSXMLParserDelegate> | |
@property (strong, nonatomic) NSData *xmlData; | |
@property (strong, nonatomic) NSMutableDictionary *dictionary; | |
@property (strong, nonatomic) NSMutableDictionary *currentNode; | |
@property (strong, nonatomic) NSMutableDictionary *currentParentNode; | |
- (id)initWithXMLData:(NSData *)xmlData; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Change this line to the URI path of the xcode DMG file. | |
# XCode 3.2.5 | |
#XCODE_PATH="/ios/ios_sdk_4.2__final/xcode_3.2.5_and_ios_sdk_4.2_final.dmg" | |
# XCode 4 | |
#XCODE_PATH="/Developer_Tools/xcode_4_and_ios_sdk_4.3__final/xcode_4_and_ios_sdk_4.3__final.dmg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To follow up, this just "started working". I had introduced an unrelated error with debugging code in mkmf.rb. Once I removed that, everything compiled. | |
I suspect this (plus a reboot) was the magic fix: | |
Specified 64-bit arch in boot plist: | |
$ sudo vi /Library/Preferences/SystemConfiguration/com.apple.Boot.plist | |
# add: "<string>arch=x86_64</string>" |
NewerOlder