swift - How to run a previously compiled version (or a previous build) of an Xcode project in ios 10.0 simulator -


i'm trying test 1 of apps on ios 10. have downloaded xcode 8 beta ships ios 10.0 simulator. however, expected, xcode 8 throwing tons of errors on libraries i'm using [like alamofire] preventing me building in xcode 8, don't feel need worry right now. i'm looking easy way run last stable compiled version (which can build within xcode 7 ios 9.3). unable trigger ios 10.0 simulator terminal via xcrun have used achieve similar things in past.

any guidance appreciated!

edit -- solved

i figured out way achieve looking for, interested.

  1. in xcode7 go preferences > locations > , change command line tools xcode 8.0

  2. in terminal, type xcrun simctl list see available simulators (ios 10.0 simulators should available now).

  3. copy udid of simulator want.

  4. make sure normal simulator app not running, run open /applications/xcode-beta.app/contents/developer/applications/simulator.app --args -currentdeviceudid <copied udid>

  5. after desired simulator booted, run xcrun simctl install booted <path project .app file> (the path .app file can found in xcode on left pane, under main project, under folder "products" copy file path [project-name].app file located there)

this should install app onto desired simulator. did encounter errors first few times tried this. got around them quitting simulator.app , trying again (worked me on fourth try).


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

android - CoordinatorLayout, FAB and container layout conflict -