0

For installing the .app file using Terminal I followed the steps provided here https://stackoverflow.com/a/27313079 . It worked fine but when I try to launch, the application gets crashed. I followed few suggestions mentioned here Failed to Attach to Process ID Xcode but nothing worked for me so far. Your help is appreciated.

Community
  • 1
  • 1
Chan
  • 447
  • 1
  • 5
  • 18

1 Answers1

0

Well, head over to Terminal, (assuming you have Xcode command line tools installed)

But first, launch iPhone Simulator.

Then type xcrun simctl install booted /foo/bar.app into the Terminal, Where /foo/bar.app is of course, your app. Then wait a couple seconds.

After it completes, head over to the app's Info.plist file and find the line that says bundle identifier. Next to it is the bundle identifier, which should look like this: com.foo.bar or the like.

Then go to Terminal again and type xcrun simctl launch booted com.foo.bar, Where com.foo.bar is your app identifier.

ianh
  • 1
  • 2