I have read that the iPhone SDK (part of Xcode 3) is restricted to Mac's with the intel chipset. Does this restriction apply to only the simulator part of the SDK or the complete shebang?
I have a Powerbook G4 running Leopard and would very much like to do dev on it rather than fork out for a new machine.
It is also worth clarifying that I am interested in development for personal reasons and therefore accept that I would need a certified platform to create a submission for the App Store.
You can run iPhone Simulator on Windows by installing simulators as native applications on PC. For example, iPadian is a popular tool used by more than 1 million users (official statistics) to simulate Apple's operating system and give you a feel of the iPhone.
An iOS Simulator basically mimics an iOS app or browser on top of a developer's operating system. This is viewable in an iPad or iPhone like window. They cannot virtualize the actual hardware conditions of an iOS device, which is the main requirement for comprehensive testing and debugging.
Specifying a device You can specify the device the simulator should run with the --simulator flag, followed by the device name as a string. The default is "iPhone 13" . If you wish to run your app on an iPhone SE (2nd generation), run npx react-native run-ios --simulator='iPhone SE (2nd generation)' .
As things have moved on since the original post on 3by9.com, here are the steps that I had to follow to get the environment working on my PowerBook G4.
BTW, I would like to say that I realise that this is not a supported environment and I share this for purely pedagogic reasons.
/Platforms
to /Developer/Platforms
(should be two folders starting with iPhone)iPhone Simulator Architectures.xcspec
' in /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications
and open in a text editor.Name = "Standard (iPhone Simulator: i386 ppc)";
RealArchitectures = ( i386, ppc );
// PowerPC { Type = Architecture; Identifier = ppc; Name = "PowerPC"; Description = "32-bit PowerPC"; PerArchBuildSettingName = "PowerPC"; ByteOrder = big; ListInEnum = NO; SortNumber = 106; },
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With