app works in simulator but closes in my iPhone - ios

I tried to search without success.
Im using Xcode and when I run my app in the simulator it works without any problem. But when I run it on my real device, iPhone 6s the app closes immediately when I press the app icon to open it.
I even tried to start a new empty project but the same problem occurs.
Does anyone know how to solve this?

Go to Apple's membership center and buy yourself a developer program membership:
https://developer.apple.com/programs/whats-included/
You will then be able to develop apps and run them on your device without the limitations imposed by the free trial-type membership, which you are now encountering.

Related

How can I run my own ios app on my iphone 6S with iOs 10.2?

I developed an app with XCode 8. However, I don't really find any help how to run my app on my own phone. There are just some tutorials for running it on my phone with XCode 7 but those don't really work for me.
Does somebody know how to do that ? Thank you !
Go to http://developer.apple.com and log in with your Apple developer account.
Create a developer certificate
Create an app id for your app
Create a provisioning profile
Download the provisioning profile and import it into Xcode.
Connect your iPhone to your computer. Select your iPhone in Xcode.
Build and run your app.
Or let Xcode do all that for you, since it happens automatically if Xcode is connected to your developer account.
This process is all documented on Apple's developer web site.
AFAIK you just need to:
Start Xcode
Unlock your iPhone
Connect your iPhone to your mac using the Lightning USB cable.
You should be asked (by Xcode) if you want to use the connected phone as a development device.
You can check, if the device is know to Xcode by clicking on Window / Devices. If you connect a device for the first time a little bit of 'magic' is going on that takes a while to complete.
Something like this maybe shown add 'Devices':

How to see iphone app how it works without having iphone?

I want to make an app in android like one of iphone app. I mean android version for an iphone app. So i need to see this iphone app working on iphone. I have this iphone app codes but it has provision profile problem. There is no free provision creation right? i just need to see how it is work in similator. But i cant see. I dont have iphone to download this app. can i use iphone similator to download iphone app from store to see how it works? How to know how it works?
Taking your question one by one:
There is no free provision creation right?
Lucky for you there is, Check it here.
I just need to see how it is work in simulator. But I cant see.
Select a Simulator before running application:
If there is problem with that, manage the scheme.
I don't have iphone to download this app. Can I use iphone simulator to download iphone app from store to see how it works?
No, you cant download an app from app-store to simulator.

How do you verify developer app install once and forever with Xcode 8?

Once I've upgraded and installed Xcode 8, my developing experience with iOS has gone down the gutter. Most frustrating of all is the need to verify the app every time the app is installed from Xcode.
I'm working on simulating data loss so that I can build correct error handling solutions, but when I install the app from Xcode with my device's data connection to off (no wifi, no cellular), Xcode prompts me to verify the app by turning on data connection. This is the case even when I simulate network loss with the network simulator.
I never dealt with this issue in Xcode 7.
Due to this issue, I'm unable to set breakpoints, work step-by-step troubleshooting, and work with the console when I have no data connection.
Is there something that'll verify an app forever, once and for all? I'm not deleting the app from my iPhone 7 each time I install the app. I'm just pressing the play button from Xcode like I always used to.
Thanks for your help.

Adobe Air app greyed on iOS 8.1.2

I have an app that is built on top of the Adobe Air and run under iOS. The app worked fine. But recently It stopped properly work. The icon of the app is grayed after the installation. I updated Flex & Air SDK to 4.14 and 17 release. I also changed the app id and took certificates from another Apple ID. I added the device to the list of allowed devices as I done before and built ipa-debug package. After install I get app icon greyed. What reason could cause this behavior? What should I check? I spent two days trying to make it work, but with no success.
Thanx.
There are many informations out there what causes greyed icons on iOS. Some are simple bugs that can be circumvented by a restart of iOS and/or reinstall via iTunes. But I think in your case (and we are talkin AIR here) you should try to read the Console via Xcode (if you can) like suggested here. How you can debug via Xcode is described here in Detail. Feel free to attach more informations about whatever you could receive from that output console.

Can install Enterprise app on all tested iPads except for one

I have an enterprise app, that has been installed on about 40 iPads without problems, and suddenly a user comes along with an iPad where the app simply won't install.
I have tried:
Restarting the iPad
Deleting the profiles
Checking restrictions
But so fare without luck
I dont have physical access to the iPad so I cant see any log.
Any suggestions?
It turns out the problem was related to the time on the device. The clock was set 1 hour off.
Check the iPad system version is suitable for your xcode, Check if this device are in your support list, It is device are jailbreak?

Resources