I have an app on App Store. When I try to deploy a build on a device which already has an older retail version of my app installed, it does not update the icon of the app unless the device is restarted. It only happens on FW 6.0+. Does anybody have any ideas on why it is happening or any suggestions to fix it?
What I noticed seemed to work for me last night was to remove any of the files from my project and the Finder folders for the same project that sit next to the main project file. I also had different names for the older and newer ones so I removed the older ones from the plist file too both under icons and iOS 5 icons. Finally I did a Command+Shift+K to clean the project. That all seemed to do it for me on the emulator and on my iPhone I just had to reboot.
Related
My app has modified the launch screen on this version. and the previous version of my app was uploaded already on App Store.
And I found something strange during the ready to deploy this version.
This is the process that I found the problem.
Deleted the debug mode app(It is confirmed that the launch screen was updated well).
Installed the previous version of my app from App Store.
Reinstalled the new version from TestFlight or Xcode.
Found the issue that the image resources of launch screen are previous version's.
Why is this? and how can I solve this problem?
delete your app on your device. and restart your device. if you install apps from Xcode.try to restart your Xcode too. then reinstall the app.
Since updated to Xcode 8 when I launch my app in the device (iPhone or iPad both with iOS 10), it launches a version not updated of the app.
But if I launch the app in the simulator, it launches the updated app...
Things that i tried: Clean the project, clean the build folder, uninstall the apps in the devices, reboot Xcode...
Any idea with this? It will go crazy!
Sadly I don't have time to know what it is happening here, so I created a new project and moved all the files from the older project. Now it is working.
I know it isn't the best solution but i can't spend more hours into this.
Thanks all for the responses!
I have the iOS 9.3 beta installed on a testing device as I'm running a few 9.3-compiled apps, but I also have an old app that is compiled in Xcode 7.2. I can run the app on any iOS 9.2 device with ease, but if I try to run it on the one iOS 9.3 beta device, I get the "could not find Developer Disk Image" error.
Xcode 7.3 includes some updates to Swift, so I'd have to change a great deal of my files, and I just want to test to see if it's working fine. Is there any way to do this without having to change a lot of Swift code? It's on the App Store compiled for 9.2 and I can run it on my 9.3 device, so I don't understand why it's so difficult.
If you want to avoid the beta version of Xcode from potentially altering your original project, just make a copy of the project and then just open it up in the beta version. If you have an app running in Swift 2.1.1 (Xcode 7.2), the differences to Swift 2.2 (Xcode 7.3) are pretty modest. And if you do this with a copy, you can be confident that your original project won't be altered.
If you don't want to do that for some reason you can install apps from a production version of Xcode on a device running a beta version of iOS:
First, you want to make sure you have the profiles installed on your beta iOS device. The easiest way to do this is to run some "Hello World" app on your beta device from the beta Xcode. If prompted to add a team/profile onto your device, you should go ahead and do so, like usual.
Quit the beta Xcode and start the production Xcode and open the project for the app you want to install. Select "Generic iOS Device" where you choose the active scheme in jump bar and then build the app. You should then see the .app file (not in red) in the Products folder in the "Project Navigator" tree in the left panel.
Install the app on the device by opening the devices window (shift+command+2) and selecting the device in question. In the right panel (or top right panel if you're showing the console, too), you'll find a "Installed Apps" section. Just drag the .app file from the Products folder into this installed apps section.
Clearly, if you have other apps you want to install, you can just repeat steps 2 and 3 as appropriate.
There are a bunch of different ways to install an app on a device, but I find this is the easiest for one-off installs with a device sitting in front of me. You won't be able to debug if you do it this way, but you can at least fire it up, run it through its paces, watch the device console for any debugging messages you may be NSLog'ing, etc.
While developing with all my tools up to date, I noticed that on 8.3 and lower devices my extension seems to have disappeared and not show at all in the list from which users can enable it. I extracted the contents of the app file and the extension does get compiled and packaged.
On a few devices we decided to update, the extension immediately started showing up on iOS 8.4 devices (post update with no app reinstall required).
What's up with this? Has anyone else run into this issue? Is there anything I can do to fix it?
NB: I have to mention, the only thing that changed was updating our dev tools. The extension project was untouched. Dev environment is using Xamarin.
Make sure that the CFBundleDisplayName and CFBundleName values are both set in your Info.plist for the Share Extension. If my memory serves correctly, I've run into the same issue before and that's how I managed solved it.
After checking with Xamarin, the project template does not set the deployment target in the info.plist by default (or it might have gotten lost with updates to the tooling).
If the "Deployment Target" is not set, the extension will only show on devices running the latest os version that was supported at the time the app was packaged.
I know already that there are topics like that, but nothing helped in my case ...
Here the info:
The app worked both on simulator and device the whole time.
I renamed the project recently into another name. Still worked both fine.
Today I realized that it didn't change the folder name and then it couldn't run anymore because it had somewhere the location saved from before. Then I gave the folder the old name again and it could build and run it on the device again. But weirdly enough it doesn't run on the simulator anymore.
Funny thing is also that it said that the profiles were expiring, which weren't even related to that project so I deleted them. No errors, nothing. It just builds and directly finishes on the simulator.
The app is build for iOS6 and doesn't support earlier versions. So it can't be the armv6 armv7 architecture problem ...
What I also tried is the following: I zip every bigger version change and save it on an external HD (in case anything dies) and also have it uploaded at bitbucket. I reset my project to those old working versions and it neither ran on the Simulator.
Thanks in advance for further tips!
I guess the problem should be in your simulator but not necessarily in your app. Please have a try to:
reset the simulator and retry
if it still doesn't work, remove the app on simulator and re-install it via Xcode debugging