The reason is indeed that LaunchImage is not suitable. But it’s easy to feel strange when you say this. This is not the startup interface. Intuitively, the two seem to have nothing to do with each other. So let me tell you a story...
A long time ago, the iPhone was so short.
Then one day, the iPhone 5 came out. The width remained the same but the height increased. I remember everyone was complaining at that time...
Anyway, there were already many apps in the AppStore at that time; after the screen changed, how should the original apps be displayed? It definitely cannot be stretched directly to make the square into a rectangle; nor can it be directly rendered according to the stretched screen size. Although in theory there should be no problem, but at that time, the code of the app was a combination of hard-coded coordinates + calculations, so direct changes would definitely It will cause display confusion.
So Apple’s idea is to give the original app some preparation time and require it to adapt to the new screen as soon as possible; before adapting, the height of the display remains unchanged, and it is displayed in the center as you see, with a black border on the top and bottom. ; After adaptation, press the elongated screen display.
So how does the app tell the Apple system whether it is ready or not ready for this epoch-making new screen? The answer is: LaunchImage.
The system will first check whether an app has a 4-inch LaunchImage. As long as it is given, it is assumed that it has been adapted and it will be displayed as 4 inches; otherwise, as long as it is not given, it will be displayed as 3.5 inches, which is the black border you see.
Since then, when iPhone6 and 6Plus were launched, they were also differentiated in the same way. Those that are not provided with 3x LaunchImage will directly stretch the display, while those that are provided with it will be rendered on a large screen, helping existing apps survive the lean years.
Okay, let’s ask and answer our own questions. The real machine debugging has been completed. Just copy the ios8.4 platform in xcode6.4 to xcode7. There is no 8.4 in xcode7, haha!
How to set up real-machine debugging in Xcode 7?
My appid has been registered as a developer account, but it is not a paid one. How can I fix this?
Doesn’t it mean that only one appID is enough?
But why is the following Provisioning Profiles empty?
How to solve this problem?
I also encountered this problem
This is the solution previously adopted by Apple for compatibility with old projects.
Your project should have been built on iOS6 or before. I only know that it is caused by the project configuration, but I don’t know where to change it!
But I have a solution, create a new Xcode project, and then migrate the old code to the new project!
The official version of xcode7 was released today, and when testing on a real machine, the phone prompted that the application cannot be run because the phone does not trust the source of the application, but it can be set on the phone
In "Settings->General->Profile"
There is a file related to your own development account, just click on "Trust"
After reading the above answer, I will add something
The reason is indeed that LaunchImage is not suitable. But it’s easy to feel strange when you say this. This is not the startup interface. Intuitively, the two seem to have nothing to do with each other. So let me tell you a story...
A long time ago, the iPhone was so short.
Then one day, the iPhone 5 came out. The width remained the same but the height increased. I remember everyone was complaining at that time...
Anyway, there were already many apps in the AppStore at that time; after the screen changed, how should the original apps be displayed? It definitely cannot be stretched directly to make the square into a rectangle; nor can it be directly rendered according to the stretched screen size. Although in theory there should be no problem, but at that time, the code of the app was a combination of hard-coded coordinates + calculations, so direct changes would definitely It will cause display confusion.
So Apple’s idea is to give the original app some preparation time and require it to adapt to the new screen as soon as possible; before adapting, the height of the display remains unchanged, and it is displayed in the center as you see, with a black border on the top and bottom. ; After adaptation, press the elongated screen display.
So how does the app tell the Apple system whether it is ready or not ready for this epoch-making new screen? The answer is: LaunchImage.
The system will first check whether an app has a 4-inch LaunchImage. As long as it is given, it is assumed that it has been adapted and it will be displayed as 4 inches; otherwise, as long as it is not given, it will be displayed as 3.5 inches, which is the black border you see.
Since then, when iPhone6 and 6Plus were launched, they were also differentiated in the same way. Those that are not provided with 3x LaunchImage will directly stretch the display, while those that are provided with it will be rendered on a large screen, helping existing apps survive the lean years.
Okay, let’s ask and answer our own questions. The real machine debugging has been completed. Just copy the ios8.4 platform in xcode6.4 to xcode7. There is no 8.4 in xcode7, haha!
Add a startup image of the corresponding size
Set launch images source in targets-general-app icons and launch images
How to set up real-machine debugging in Xcode 7?
My appid has been registered as a developer account, but it is not a paid one. How can I fix this?
Doesn’t it mean that only one appID is enough?
But why is the following Provisioning Profiles empty?
How to solve this problem?
I also encountered this problem
This is the solution previously adopted by Apple for compatibility with old projects.
Your project should have been built on iOS6 or before. I only know that it is caused by the project configuration, but I don’t know where to change it!
But I have a solution, create a new Xcode project, and then migrate the old code to the new project!
Use Xcode 7 beta to debug iOS applications on a real machine for free
http://ju.outofmemory.cn/entry/182050
It’s easy to use after personal testing
The official version of xcode7 was released today, and when testing on a real machine, the phone prompted that the application cannot be run because the phone does not trust the source of the application, but it can be set on the phone
In "Settings->General->Profile"
There is a file related to your own development account, just click on "Trust"
After reading the above answer, I will add something
Can the poster explain in detail how question 1 ends? I am qq 453457224