Unable to find any valid iOS distribution provisioning profiles in Appcelerator - ios

I am currently trying to build an application and have had endless problems since titanium has discontinued. Once at the last window of Provisioning, there is no profiles and when I browse to downloads for the latest from apple I am greeted with "Specified Provisioning Profile is invalid or is the wrong type".
I have also ran appc ti info -t ios in the terminal which states "Unable to find any valid iOS distribution provisioning profiles". So my question is how do I add a distribution provisioning profile? Thanks

My Mistake, The reason being was the app ID was slightly different, trust me to spot it once the question was posted.

Related

Not getting untrusted developer prompt with Apple Enterprise with MAUI

I'm signing an app using an Apple Enterprise certificate and an in-house provisioning profile. I've added the IPA, along with the manifest.plist, to an HTTPS page and I can install the icon at least, with the itms-services://?action=download-manifest&url= link. If I view the device with the Apple Configurator app I can verify the provisioning profile was installed on the device.
BUT: when I try to open the app I don't get the expected message Untrusted Enterprise Developer and I don't see the option to trust the profile in Settings > General > Device Management. Instead I get a message This app cannot be installed because its integrity could not be verified. I see the same message in console logs as well as "A valid provisioning profile for this executable was not found".
This is a MAUI app but I'm getting the same problem if I create an app in Xamarin with the same app id. HOWEVER: if I create an app with the same app id in Xcode it works fine. All three are using the same manifest.plist, app id, version, build number, etc.
It's got to be a certificate issue, right? But I've checked a million times to make sure dotnet publish is using the correct cert. I've un-zipped the IPA after it's built and verified the correct provisioning profile was added. I've re-signed with Xcode and tried using that IPA. I'm not sure what else to try and I don't know why it works with an Xcode project but not Xamarin / MAUI.
Anyone have any ideas?
After much trial and error I was able to solve this by building using the command line only and not putting any of the Codesign information in a PropertyGroup in the .csproj. According to the documentation this shouldn't be necessary but it's working for me now.
My full build command is:
dotnet publish -f:net7.0-ios -c:Release /p:RuntimeIdentifier=ios-arm64 /p:ArchiveOnBuild=true /p:CodeSignProvision="your provisioning profile name" /p:CodesignKey="Your distribution certificate name”

Exporting In-House iOS app says certificate "Unknown", profile "none"?

I put together a test app simply to test In-House distribution through our Enterprise Developer Account.
Before archiving I checked that all signing settings looked good. Debug and Release show the correct provisioning profile and certificate.
Then I ARCHIVE the app. The prompts show this:
The correct cert and provisioning profile are shown. As the archive route continues I get to this screen:
I am trying to understand why it says: Certificate "Unknown" and Profile "None"
As I then try to distribute this through our MDM solution it never installs.
My question is: when distributing in-house enterprise apps, is it correct to see Certificate "Unknown" and Profile "None"?
I have same behaviour: Apps validate and distribute fine, so I guess this is just a display issue introduced by XCode 10.1
https://forums.developer.apple.com/message/338402#
Had the same issue, only downgrade to Xcode 10.0 fixed it: download old version of Xcode here
I had the same issue and spent whole today morning on it. I set certificate and profile but it showed None for both and app installation failed. I didn't fix None showing but fixed installation failing. In my case I've just remove string "Required device capabilities" from Info.plist. May be it helps you!
Hey #zumzum i have same issue with xcode 10.1
so i try with "Application Loader" and that Work
when you have failed dialog while upload app in app-store that time there is one more option to export build , just export and try to upload same build with "Application Loader"

Unable to fix code signing issue: Xcode7.3

I am trying to run my application on different devices for testing purposes. It successfully allows me to run the app on iPhone4S, iPhone6 & iPhone6S. I tried to run it on my iPhone 5 however I am getting the following error:
"Failed to code sign. None of the valid provisioning profiles include the devices "DEVICE NAME". Xcode can attempt to fix this"
When I click "Fix Issue" I get the following:
"Unable to fix code signing issue" "Xcode failed to resolve this issue. Check your code signing setting; ensure you have matching signing certificates and provisioning profiles installed and try again".
I have tried following various answers such as None of the valid provisioning profiles include the devices however I am using a free account and as a result i don't have access to the devices portal on developer.apple.com.
How can I fix this error without adding a device on the develop portal? Its odd that I only have this issue on this device.
Any help would be appreciated
P.s. I am using Xcode 7.3
UPDATE:
My apple ID looks like the below:
Go to PRODUCT click Profile! It will resolve your issue or just go for build for profiling.
firstly you have to Make sure you have a valid apple developer account then you have access to developer.apple.com and generate profiles for your app.
for more please check i hope it will solve your issues :
Xcode 7 error: "Missing iOS Distribution signing identity for ..."
If you are using Developer account, make sure that the device on which you are trying to install the build is registered in your Developer account and Provisioning profile. Otherwise Xcode won't let you install the build in there.
There is no limit on the number of devices that we can test our app using a free developer account. I tested my app on 5 devices, and all are working. But the only catch is that the provisioning profiles expire in 7 days, so the app does not not work after 7 days unless we re-launch it from XCode. The code signing issue could be due to some other issue. But I still dont understand why someone from the apple team told you that the limit is 3 devices.
More info on that - Is there a limit on the number of devices on which we can launch our app using the free apple developer account?

Missing code sign certificate when trying to deploy app to new TestFlight

We've been developing an app based on Appcelerator Titanium the last couple of months and to deploy the app to our testers, we've used TestFlight. Now, Apple have shut down the "old" TestFlight and integrated it into ItunesConnect.
Now we want to deploy an update to our testers. So we created a new app within Itunes Connect with the same app bundle as the app bundle the provisioning profile we're building the app with are using. We build an IPA file which we try to deploy using Apples tool "Application Loader".
When we try to deploy the app, we get the following error:
ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle nu.kodfabriken.ourapp [Payload/OurApp.app]" is invalid. [Missing code-signing certificate.] For more information, visit the iOS Developer Portal"
Some Googling and trial-and-error told us to recreate our certificates and provisioning profiles. So we did, and got the same result. We don't know what to do here. Feels like we are stuck, with no clue what to do.
Worth noting is that when Apple switched to "new TestFlight" we didn't change anything at first. We used the very same provisioning profiles as we used with old TestFlight, which worked.
What are we doing wrong? Is this somehow related to how Titanium packages the apps (as far as I know, it's actually Xcode which creates the final build)?

Titanium gives error: Specified Provisioning Profile is invalid or is the wrong type

I can't get Titanium to accept my provisioning profile.
I am using Titanium to build a development app to run on my iPhone and that of two others. I have created the certificates, app ids, and provisioning profiles but when I come to create a package for distributing via iTune I get the error:
"Specified Provisioning Profile is invalid or is the wrong type"
I have tried pretty much every option I can think with respect to ways to build the package and types of provisioning profiles but it consistently fails with this message.
Is there a solution to this problem?
I always get xCode to build correctly first. I set up a blank helloWorld application in xCode and follow the Apple guide there on their resources site. Once this is set up titanium will pick up on your valid certificate and provisioning profiles.
Check that when you are trying to run the project you have removed any invalid or old provisioning profiles. This can be done under xCode device manager > Selected device , click the settings wheel in the bottom left > Show provisioning profiles... You'll then see a list of profiles you re trying to build with, if you've created a couple that have the same name it could be selecting the wrong one.

Resources