iOS Question How can i use iOS Simulator?

Discussion in 'iOS Questions' started by Rafael Ruiz, Jul 1, 2015.

  1. Rafael Ruiz

    Rafael Ruiz Member Licensed User

    Hello.

    I have xcode and local builder installed. Can you explain how to use the simulator? I have this message when i tried to Run the code: "Sending data to remote compiler. Error mobileprovision file not found."
    I read in other post that an Apple account is not needed when working with the simulator. What can i do to run an app in the simulator?

    Thanks in advance
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Choose Simulator as the device ip:

    [​IMG]

    The simulator will start on the Mac.
     
  3. Rafael Ruiz

    Rafael Ruiz Member Licensed User

    I have another error:

    Sending data to remote compiler. Error
    Error extracting project.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Have you installed B4iBuilder v2.0 on your Mac?
     
  5. Rafael Ruiz

    Rafael Ruiz Member Licensed User

    Yes. I have version 2.0 installed. Now i have a new error:

    Sending data to remote compiler. Error
    Error: No devices are booted.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Click on the Simulator in the devices list again.

    The simulator should start (assuming that you are running Xcode 6.3+).
     
  7. Rafael Ruiz

    Rafael Ruiz Member Licensed User

    It works. Thanks for your time.
     
  8. moster67

    moster67 Well-Known Member Licensed User

    the simulator is FANTASTIC ! :)

    Great work as usual. Don't know but the possibility to access the ios simulator could be ANOTHER B4x feature "only"!!???
     
    Last edited: Jul 1, 2015
  9. moster67

    moster67 Well-Known Member Licensed User

    As to the simulator, it would be a great (sellling point and feature) if you could get this working remotely in hosted mode too. In windows, I believe it is possible to let a user connect to a remote windows computer and restrict the user to run/execute ONLY one program. If this would be possible with MAC and in addition running the remote session in a sandbox environment, you could set up a remote hosting server which could run the ios simulator. Of course this would also require some bandwidth but bandwidth and an adequate server is not a technical problem I believe but more of a financial issue.

    Just some thoughts....
     
  10. omidaghakhani1368

    omidaghakhani1368 Well-Known Member Licensed User

    Open iOS simulator from /Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app
    and use b4i builder 2 and in b4i select iOS simulator from Device ip
     
Loading...