iOS could not be installed at this time - ios

So I have tried everything and am currently beating my head against the desk. I am using trigger.io to generate apps for both android and ios. The android apps work just find and I am able to distribute with MDM as needed. The ios app on the other hand just keeps throwing the error " could not be installed at this time."
I have generated and regenerated my certificates/profiles using the documentation provided and still nothing. Can anyone shed some light on this?
Thanks!
Bill

There are a number of additional things you can check:
Is Xcode up to date? Use the App Store to check for updates and install any updates if required.
Do you have the relevant iOS SDK installed in Xcode? Open up Xcode, go to Preferences and check the "Downloads" tab. Install any missing components that are required by your application (e.g. the supported iOS version needed for your app).
Does your iOS device support the minimum iOS version required by your application? Make sure you are running the minimum supported iOS. A difference in the installed version and the build version could be preventing install.
Does "Development Mode" need to be enabled on your device? Use Xcode > Window > Devices to see if Development Mode needs to be installed on your device. This will install some debugging tools to your device but won't affect any existing apps.
Check that your device is trusted with the computer you are using. Disconnect the USB cable and reconnect. You may be prompted on both the device and computer to "trust" each other.
Unlock your device with passcode and try running the app again to see if that makes a difference.
Hopefully one of these is your issue. Please comment if any of these helped.

Related

My iPhone apps cannot be made available on Apple Silicon Mac

In App Store Connect > Pricing and Availability, there is a new checkbox for managing availability on Mac for iOS apps.
I can check the checkbox named "Make this app available on Mac".
But under it, the following message is shown.
Version x.x.x cannot be made available on Mac
(x.x.x is the latest version of the app)
Can I make the app available on Mac or can't it be made available on Mac?
Which is correct, the made-available checkbox or the message?
Apple says "Compatibility with macOS is determined by Apple" in https://developer.apple.com/support/ios-ipados-mac
So, if the app is not compatible, the checkbox should not be shown?
My apps are normal iPhone apps which do not use any special features, devices, or third-party libraries except in-app purchase.
Does anyone know the conditions for iOS apps to be available on Mac?
What message is displayed on your Pricing and Availability's Mac Availability section?
Does anyone know the conditions for iOS apps to be available on Mac?
Not all frameworks are available on both platforms. In order to work on the Mac, you'll have to make sure that your app doesn't use any frameworks that aren't available on that platform.
So, if the app is not compatible, the checkbox should not be shown?
I'd interpret that checkbox as indicating whether you want the app to be available for Mac. There are reasons beyond compatibility that you might want to prevent the app from being installed on a Mac. For example, you might already have a macOS version of the app that you want people to use instead. Apple might be able to determine whether your app can run on macOS, but you still get to decide whether it should run on macOS.
Considering your question, it sounds like you think the app should, but Apple has determined that it cannot in its current state. You'll need to dig into the project and figure out what framework might be preventing that.
I've found that all my iPhone-only apps can not be available on Mac (the "Version x.x.x cannot be made available on Mac" message is shown on the Pricing and Availability settings in App Store Connect), but iPhone-and-iPad apps can be available on Mac (the message is not shown).
I guess iPad-only apps probably can be available on Mac, too, but I'm not sure about that because I don't have iPad-only apps.
It seems that Xcode versions with which apps are compiled are not relevant with Mac compatibility, because my iPhone-and-iPad apps which can be available on Mac are compiled many years ago.
Though all my iPhone-only apps can not be available on Mac, I don't know all iPhone-only apps can not be available on Mac, because Apple says "all compatible iPhone apps and iPad apps on the App Store will be available on the Mac App Store on Apple Silicon Macs" in https://developer.apple.com/support/ios-ipados-mac .
At this time, Big Sur is not released yet, so, it is still possible that the "Version x.x.x cannot be made available on Mac" message for iPhone-only apps might be a bug.
In case this is just a bug, I've unchecked the checkboxes of Mac availability.
UPDATE Sep 25, 2020:
I did nothing but the message "Version x.x.x cannot be made available on Mac" has disappeared. So, I turned the availability on again.

Why cant I build apps on my PC but I can on my mac? Xamarin

So I got my MacBook pro yesterday in hopes of developing some local apps to build on my phone.
And after setting everything up, Visual studio on my mac and XCode, and I already had Visual Studio on my PC things started messing up.
I tried debugging my app on my phone from my PC, with the phone connected to my PC ofcourse, didnt work, so I read around on the internet for a good 4 hours and it said that I should create a blank project in XCode, and for the Signing in preferences I had to choose Team, so I did and it debugged the application on my iphone when my iphone was connected to my Mac,
However I DONT want to code on Mac computers, I want to use my PC.
But everytime I try to debug the application from my PC it keeps saying
Could not find any available provisioning profiles for iOS.
I am running a iPhone 7 with the version 10.1.1 because I dont want to update due to various reasons.
I tried changing the Deployment target to something really low but that didnt fix it.
Why is this happening?
Visual representation of what the error looks like
Not sure if this picture helps, this is the project properties > iOS Bundle Signing
And my device log is empty aswell.. Why?
ANother error message saying it doesnt support
EDIT
I plugged it into the mac and now its visible in the Device log and I can see stuff happening in the device log but I still cant boot the project on my iPhone
Apple doesn't allow developing for iphone on a non IOS device. This simply means that you can't build apps on a Linux or Windows computer/laptop the normal way. You are stuck on building your project on an IOS device.
There are 2 options to fully develop on a Windows laptop though.
One way of doing so is by using your mac as a gateway to send your app from Windows to IOS to your phone. More info about this can be found here:
https://learn.microsoft.com/en-gb/xamarin/ios/get-started/installation/windows/
The second option is a newer one called Xamarin Live Player. You don't need to use a mac at all for developing, but you still need a mac if you want to publish the app. This option also works differently from normal development as you need to download an extra program on your phone.
https://www.xamarin.com/live
You could try to do manual provisioning. Create a development provisioning profile at the Apple Developer site, and have XCode download it for you. Then it should show on your PC for you to select.
See the Xamarin documentation on manual provisioning for some more details:
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/manual-provisioning?tabs=vsmac#creating-a-development-provisioning-profile

simulate xcode without development account

We have an app in Xcode from our old developers. We are in the registration process for an apple developer account, but on internet I read it can take a couple of weeks before it gets approved.
Is there a way I can simulate the app (like with TestFlight) without sending the actual code to potential new developers?
You can't distribute the app unless you have it signed/provisioned with needed UDIDs (which requires developer program). You can deploy it on your(s) device(s) using XCode though.
You should still be able to run the iOS simulator, which is generally the default behaviour for the build-and-run button - you can download more simulator environments in Xcode -> Preferences -> Components if you're missing one that you need.
Update: If you want third parties to run the app, there's no practical option apart from TestFlight. This is because iOS uses code signing to prevent trojan or pirated apps being installed on their devices. In that case you can consider other options which will achieve whatever your goals are, for example making a video of the app in use or setting up VNC access to a machine with the simulator (and code) on it.

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.

Testing Apps on a Device

When using trigger.io toolkit, there's an option that says
"Build and immediately run your app, either locally, on a simulator or on a connected device."
How do you run the app on a Connected Device? I want to see the app on my iPhone and see how it behaves directly. Is this possible?
Thanks
Marc
I'm going to assume you're working on windows with an iPhone that's iOS8 because that's where you currently can't run your app directly on a connected device.
What we did to "fix" this is creating a Development Provisioning Profile with the UDID's of our test devices and added this to config -> tools in the trigger.io toolkit. In the forge you now select package -> iOS giving you a .ipa file. This .ipa can now be installed using iTunes on your test devices.
It's a bit longer than just clicking run on device like you can for Android but at least you don't have to send it to testflight and wait for apple's approval.
This is possible but it depends on your os.
If your on a Mac you can deploy to both ios and android devices from forge, just connect them via usb and build, grated you need to make sure iTunes sees your devices etc.. there are guides on the trigger site
If you are on Windows, you are unfortunate out of luck right now, this used to work but ios8 broke this so if your building on ios7 you could still do it on Windows, otherwise you would need to use testpiolet from apple

Resources