I have an iOS Universal app built using Corona Simulator. I want screenshots of the app in Xcode Simulator. How do I install the app in the simulator?
When you build the app with Corona Simulator (File > Build > iOS), select the option: Build for: Xcode simulator.
It will generate the binary and will launch the game directly in xcode simulator, where you can take screenshots etc
Related
When developing you can use Mac (Designed for iPad) which is running on iOS. When archiving I'm using "Any iOS device (arm64)". In the targets section in Xcode I have selected the iOS SDK for Mac (Designed for iPad).
In the iOS-App tab it lets me select a build I have uploaded. In the macOS tab it tells me I have to upload a build. So why can I not select an iOS build when submitting to the app store?
For some reason it's impossible to find any information on this. What am I supposed to do?
I am learning development for the Apple Watch app paired with the iOS app. I created an iPhone simulator and paired it with a watch simulator. I was going through this tutorial - https://developer.apple.com/tutorials/swiftui/creating-a-watchos-app downloaded the project files and opened the Xcode project from the 'Completed' folder.
When I run the app using the iOS scheme and select the paired simulator, I only see the iPhone simulator coming up. If I run the watch target, I only know the watch simulator and no iPhone simulator. I went ahead and unchecked "Supports running without iOS App Installation" from Watch Target -> General -> Deployment target and even after that I am just seeing the watch simulator getting displayed. I want to see both iPhone and watch side by side.
Please let me know how can I do this on Xcode 13.2.1. Below are some pics.
Apple watch tutorial (source - https://developer.apple.com/tutorials/swiftui/creating-a-watchos-app)
Open the simulator applications from your macOS applications, use the mouse options menu on the icon in the dock, and select -> device -> watchOS, you can start your paired watch simulator from there.
Currently i have a unity project which runs on iOS device or iOS simulator.
I have choose SDK choice in unity project player settings ,option available for choose either device sdk or simulator sdk.. i just want to build a single unity project for running iOS Devices and simulators,Can any one give me suggestions to achieve this..
This is not possible because Apple not supports universal builds with both device and simulator binaries. Unity just generates XCode project for you. And you can choose the target SDK (Device or Simulator) in XCode directly after the project was generated. So this is not a Unity limitation.
If you build for Simulator you compile for x86 architecture. But when you build for Device you compile for arm7. arm7 binary cannot run on x86 Simulator.
I have an Xcode project with iPhone and watchOS targets. The iPhone target uses the accelerometer, which the simulator doesn't support. Can I launch just the iPhone app without launching the watch target? I know from:
Can a real iOS device and Watch Simulator communicate for Testing purposes
that I can't pair a real iPhone with a simulated watch, but I'd be happy just to test the iPhone part on a real iPhone without hooking up a watch.
Should be as simple as taking a look at the General tab of the project details and removing the entry listed under Embedded Binaries. This will stop the app compiling and bundling the WatchOS executable in with the iPhone one.
If you build the iOS app with your iPhone as the device, it should install it on your phone with or without the Watch present. Are you getting an error?
The iPad 1 update past iOS 5. When I try to run my app from Xcode on it, it says
Xcode cannot run on the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
What do I need to do to be able to run my app on this iPad?
you can edit your project as follow.