I have an iPhone application and later added support for Apple Watch (extension and watch). Now when i try to run the application from Xcode 7.1, it always launch watch application simulator and does not run iPhone application. I would like to do the other way round. When i press run/debug, xcode should launch iPhone app in simulator. Is there any way i can do this? or just disable apple watch application to run in simulator. (I have already tried disabling apple watch simulator by going to Hardware > External display > disable, but that does not help )
any guidance will be helpful.
You can run iPhone app by changing the active scheme to your iphone version.
This picture illustrate what i am saying to select from active schemes
And finally it should look like
Hope it helps....!!!
Related
As I heard, that using the iPhone Simulator in Flash CS 6 is now possible, I was really wondering to test my apps for the iPhone 5.
But honestly said, I haven't figured out, how this should work. So my question is: How to use the iPhone Simulator with Flash CS6?
I googled a lot and found only news, that it is possible now. But no tutorial or similar.
Thanks for your help.
You have to update your Flash Professional CS6 to version 12.0.2.
After updated, go to your target setting. You will found iOS Simulator SDK is available to be configured.
have you tried creating an AIR project for IOS? when you create an AIR for IOS it will automatically launch the simulator when you debug you movie. hope that helps! :)
Make sure you have XCode installed and an updated version of AIR SDK
You need to set the SDK location for the iPhone Simulator:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
You do this on the General Tab of AIR for iOS Settings.
Now in order to target the iPhone Simulator you need to set the following:
Control > Test Movie > on iOS Simulator
Then you will be able to do "CMD+Return" and it will publish to the simulator.
The app will show up on the second screen just like a device would.
More info here: http://forums.adobe.com/message/4923535
I made a simple application on XCode 4.2 and Sqllite.
It runs on Simulator smoothly. I made its build and run on Iphone 4S with iOS 5.
it Runs and crash without any error.
Guide me to detect the problem.
Try debugging on the device in your app delegate or if need be in your main.m file.
Also check the Console app on your Mac.
It contains device logs you might use to learn more.
make sure about ur version. and did you have the provisioning profile and certificate installed to push the kit in the device?
if you dont have any provisioning profile associated with the iphone it wont let you push or run the kit on your device..
Has the app ever worked on the iPhone?
If so, you may have changed the datamodel, which would cause the app to stop working.
You'll have to delete the app from the phone, then re run it.
Connect your device to Mac, Open Xcode, Open Organizer inside xcode. Than see Devices Section, you may get your device name.. Than see Device Logs. Now you run your app in device only not from xcode to device.. you will get same Console output see in Organizer Device Log
I am working on a universal application where I am stuck at one point. I was able to successfully launch my application both on iPhone and iPad but since 2-3 days, I am not able to launch my application on neither iPhone nor iPhone simulator but it runs smoothly on iPad/iPad simulator.
Also when I run my app choosing iPhone device it shows message like Running the App on iPhone simulator but I am not able to see any effect on my simulator. I am using Xcode 4.2.1 and I guess the issue is pertains to the same.
I don't know whether it is a solution or not but got a way out by reinstalling the iOS Simulator.
I have faced same problem. This probably happens when you replace the application with the newScheme/EditScheme by mistake.
Just carefully check when you run your application is there your application name appear. This will be immediate left at where you choose iPhone simulator or iPad simulator version.
I'm using Titanium to build my first mobile app. Ultimately, I need to to be universal, but I'm focusing on the iPhone initially in order to learn my way around. I'm running into a problem with image display in that I need to test both the retina and non-retina display, but I can't seem to toggle between the 2.
By default, for whatever reason, my simulator launches with the "old" iPhone resolution (specifically, the combo of iOS 5 -- so location bits mostly work -- and old iPhone hardware). I see in the simulator's Hardware menu that I should be able to switch to iPhone (retina), but attempting to do so just aborts the simulator all together.
Is there a better way to navigate between hardware/software combinations in the simulator? Can the default configuration be changed? Any tips or techniques would be much appreciated by this n00b to mobile dev. For whatever it's worth, the simulator version is 5.0 (272) and, although I'm not developing native code, my XCode version is 4.2.1.
Thanks.
Titanium has a debugger connection running between the simulator and Titanium Studio. When you switch hardware the connection is severed and titanium aborts the simulator all together.
What you can do, is create a build in titanium studio, which builds an Xcode project (project name > build > iPhone).
Then, open this build in xCode, and run it from there. This way there is no debugging session running, but you can test it on multiple devices / OS versions.
Good luck!
I do most development testing on my iPad. When I test an iPhone app, it runs in 'compatibility' mode where the little iPhone app runs in a small window or x2 magnification. Now that I've created a universal app it runs as a native iPad app. For testing I'd like to use the simulated iPhone when I don't have an iPhone handy for testing.
How can I build the project so that the iPad will run the app in compatibility mode?
Turns out it was really simple
Get Info for the project target
Change Targeted Device Family to iPhone
You can't. If the target is 3.2 SDK, then it will always run the simulator as an iPad. So your options are to debug on a device, or configure your app to be build under 3.1.3 so that the simulator will be an iPhone (too much trouble and unreliable).
Or hope for a later release with the option.