I've been tasked with building a demo suite of our iOS application for our sales team to run on their laptops.
I know that I can install Xcode on their machines and then create a shortcut for the simulator, but that feels really heavyweight for our sales folks.
I've used my google foo and I see that there are several choices in the windows world, but I've not seen an alternative for OS X. Does anyone have suggestions for a standalone iOS emulator on OS X?
I suggest you do the following:
Install Xcode.app on your system
Build & Run your demo app, targeting each sim device you want them to demo (or use xcrun simctl install /path/to/your/built.app)
Make a tarball of ~/Library/Developer/CoreSimulator/Devices
Untar that tarball into ~/Library/Developer/CoreSimulator/Devices on each demo machine.
Install Xcode.app on each demo machine and just place Simulator.app in the Dock.
If you're really concerned about disk space, you can delete a bunch of things inside of Xcode.app that aren't needed, but make sure you keep CoreSimulator.framework, SimulatorKit.framework, Simulator.app, simctl, and anything that has "CoreSimulator" as a parent directory.
Have you tried https://appetize.io/?
I've used a few demos in the browser and it seems like a very lightweight way to at least demo an app (although performance is suffers a little since its in a web browser).
Related
I have a Mac but for some complex reasons that is not worth explaining here, I will be not be able to install xCode. I have checked the tutorial here, where they provide two options. In both options, XCode is used. My question is: Is it possible to generate a build for iOS on a Mac without using XCode.
It is not possible to do this in Android Studio. If you don't have a machine with macOS (or are not able to use XCode in your case), you might be able to make a build using a macOS docker image.
You can find a macOS docker image (Docker-OSX) here (200k downloads). On this page, you can also find container images with XCode installed.
If you don't want to use the XCode app('s GUI) on your machine (or when using this Docker image), but you do have XCode (and Command Line Tools) installed - you can also make a build via the terminal using the xcodebuild command: https://developer.apple.com/library/archive/technotes/tn2339/_index.html
For more on xcodebuild, see this StackOverflow answer.
No, it's not.
What you can do though is use an external tool like appollo which will let you have access to a Mac build machine with XCode installed.
Then you can generate an IPA like this :
appollo build start --build-type ad-hoc
Here are some demo videos or Appollo's documentation
I'm not too familiar with mac and iOS but I need to downgrade xcode on a mac host for CI stuff (current app build is failing on xcode 12). I have access to the host via jumphost and I'm not sure if I can connect via VNC (I also don't like this since it's terribly slow) and most of the guides need a UI to download xcode. Any ideas on how to do this completely via terminal?
First of all download older version of Xcode, you will be need sign in to open the Downloads page.
Here is the Xcode releases page with downloads and release notes.
And install it.
After installing you can switch to the version you currently desire (for example 11.2 below) via terminal using a command like this:
sudo xcode-select -switch /Applications/Xcodex.11.2.app
I've got DalekJS running really well on WinLin, but am interested to know exactly what the process is for running it on iOS.
http://dalekjs.com/docs/ios.html
When running on Windows, for example, I install the DalekJS npm globally, and then install the IE web-driver, before executing my test suite.
On iOS am I expected to do the same thing? Can you install NodeJS on an iPhone? Is there a difference in doing it on the actual device, vs doing it through the emulator?
Also, what are the current obstacles in making it run on iPad?
Thanks!
Dalek will not run on the IPad/Iphone etc. itself (neither will or must NodeJS), it uses the native debugging tools that come with the dev environment through Appium.
Unfortunately, due to some changes that happened in MacOS 10.8 & 10.9 (Changes in the user rights management, etc.) it can only do this in the simulator. We are working on bringing back support for "real" devices with the next version of DalekJS.
So we're building this iOS application. We have performance tests that are automatically run by Jenkins. Of course these tests must be run on the device.
Right now we have a lot of trouble with some tests, and I suspect that they don't clean up after themselves, leaving the app's Documents folder in an uncertain state. Obviously I can fix the cleanup, but this will take a huge time.
I'd love to be able to just delete the app from the device before running the tests. Is there any way we can do this via xcodebuild or any other automatable tool. Could be even applescript or a non-official tool. The only rule is that we may not jailbreak the device.
One multi-platform option is libimobiledevice and the ideviceinstaller utility. It runs on Linux, Mac and Windows and even supports iOS 9.
As noted in the library webpage, it does not depend on jailbreak.
To delete an app do:
ideviceinstaller -uninstall com.somecompany.someapp
I'm creating an app that can be purchased and personalised so the buyer can have their own app to upload to the app store. I want to be able to automate the personalisation, and I was wondering if it's possible to build and app over command line in CentOS? I know it's possible in OS X, but other unix systems?
I was wondering if it's possible to build and app over command line in
CentOS? I know it's possible in OS X, but other unix systems?
Yes. The iphone-dev teams appears to have ported to CentOS 4.
The folks who work on Cydia use Debian based systems for their development, so I would expect other linux derivatives to be available. The Cydia folks even bake in apt-get and a repo for the device.
Jailbreak QA, Upgrading the iPhone Toolchain, iphone-dev Portability, and Bringing Debian APT to the iPhone would probably be helpful to you.