I'm trying to build an existing application that provides a Today widget. Unfortunately I cannot make the app to communicate with the widget. In the Capabilities section I get the following errors
I've installed appropriate provisioning profiles and I've double-checked that the App ID in DevCenter includes App Groups. Fix Issues button throws an error as I don't have sufficient privileges in the team. What else should I try?
You have to have at least one device in your developer account at the DevCenter.
Hope it helped.
Related
I'm working on a Xamarin application and I'm doing iOS builds to run and test on different devices using App Center.
Everything was ok, on Apple Developer I created the Ad-Hoc certificate, the provisioning file, and the identifier and it was all good.
During the last implementation, I added on Entitlements the Associated Domain due to enabling the possibility to use the App Link and let the user open the application using a link provided via email.
I updated the Identifier adding the feature also to it and I downloaded it and uploaded it again to the dedicated branch on App Center, but now when I try to download the app to the device I receive this message:
Unable To Install "App Name". This app cannot be installed because its integrity could not be verified.
I tried different ways trying to solve it:
Create a completely new certificate with a new identifier, provisioning, and .p12 file
Checked Entitlement feature list correspond to the identifier list on Apple Developer
Used different versions of SDK and Xcode on App Center
I already searched around on the web but they talk about the provisioning file list but I already checked and it is updated.
Thank you for your help and for your suggestions.
I want to run my cordova iOS Application on my iOS Device for testing.
Following are my build settings:
Clicking Enable Development Signing sets the Team to None.
My build is successful. On installing, XCode shows the following error:
Does it require a developer account to run the Cordova iOS build on a device for testing? The Cordova Android version is already on Play Store.
How to set a Signing Certificate without a developer account? How to fix the invalid signature error. I haven't set any signature yet.
I am completely new to iOS.
Yes, you must have a developer account to get a signing certificate. The signing certificate pairs with your provisioning profile, which also requires a developer account to create. You need both to run on a physical device. Your device must also be registered with your account and included in your provisioning profile device list to be allowed to run the app, outside of the App Store environment.
Xcode handles much of this for you automatically, if you have a developer account set up under Xcode Preferences > Accounts > Apple IDs. On the right-hand side of that screen you have a list of "Teams" along with buttons that say "Download Manual Profiles" and "Manage Certificates..." Is anything listed in there?
Your screenshot shows a Team with your name, which should mean that you have a developer account already?
You also have a button in your screenshot that says "Enable Development Signing." Have you tried running that? Does it not take care of things automatically for you? "Automatically manage signing" enabled should be helping you get through these issues with simple clicks of those buttons.
Otherwise, you will need to go to the Developer portal and register a signing certificate manually. That's a process that many have written blogs and manuals about already. I don't think it is necessary to re-write what has been said by many others already. Here's a YouTube video that does a nice job of explaining things: https://youtu.be/OwXIJchrDdA
As indicated in the title, Xcode is not being able to automatically create app Id and provisioning profile for an app i’m developing. I have checked the “Automatically manage signing” option but on the developer portal i can’t see any app id or provisioning profile matching the provided bundle identifier.
The problem arises only if I select, in the “team” selection, my developer account . For example, by using my enterprise account, the “waiting to repair” message is shown in Xcode and i can see the new app id created in the enterprise account portal.
If I change the bundle identifier and I select again my developer account, nothing happens, no errors and no warnings. I’m able to install the application on a device and all seems to be good. However, in my developer portal I still do not see the app id and provisioning profile so i can’t send the application to iTunes connect in order to submit to the Apple store.
Moreover, trying with other apps, all is ok even using my developer account.
I searched on line but i can’t be able to find a similar problem, are there any particular settings that are preventing the automatic Xcode app id creation to work for my app?
EDIT
it seems it’s not a problem related to the particular app. In fact I tried to create a new application fromo scratch and i have the same problem. I still do not have the problem on old apps (already uploaded on itunes connect) but i have the problem on all the newly created apps. Is that a problem with my developer certificate?
EDIT 2
I noticed that for all the newly created applications the App ID is set to: " * " (see image below). In my old apps the App ID and iOS Team Provisioning Profile are not equals to " * ". I have also deleted the wildcard id from my developer portal but the problem still remain.
I had a similar problem and i solved with a workaround. I have enabled push notifications in the "capabilities" tab (i.e, adding them to the entitlements), in this way the app id and provisioning profile have been correctly generated on the developer portal. Later, I have disabled push notifications (not needed in my project).
It's only a workaround, hope it helps
Somewhat related: I played around with Apples provisioning profiles in a desperate attempt of trying to wrap my head around their signing nightmare. In the process I deleted all the app ids from apple.developer that Xcode had automatically generated.
Afterwards I couldn't get Xcode to regenerate the app ids and I didn't wanted to manually create them, so what I had to do was to delete the automatically generated provisioning profiles from ~/Library/MobileDevice/Provisioning Profiles/.
I used to have a provisioning profile with an associated wildcard app ID (*) to sign a bunch of apps for customers. Each explicit app ID is declared into the Bundle ID field in the Xcode project. The problem is that each app uses Wireless Accessory Configuration capability. As reported by Apple (https://developer.apple.com/library/ios/qa/qa1713/_index.html),
Because an App ID specifies a unique configuration of entitlements, Wildcard App IDs are for use with code signing all apps that do not enable app-specific capabilities.
Until Xcode 7.3 this wasn't a big deal, it always worked. After updating to the last public beta of Xcode 8.0, I'm not able to code sign my apps anymore using the wildcard app ID associated to my provisioning profile and I can't add explicit app IDs to it because they are already managed by customers. When I try using the new automatic code signing feature, it tells me that the app ID that I suggested in the Bundle ID field of my Xcode project cannot be registered to my development team (of course not!, because it belongs to the customer's team which I'm not a member of).
If I click in the Info disclosure button next to the Xcode managed profile, the only issue that I can see is that the Wireless Accessory Configuration capability is missing
So, could I ask the customer to add this capability to the explicit app ID in order to solve this issue?
If I try to code sign the app directly in the Build Settings using the old method with my provisioning profile (which I regenerated again), I always obtain the following issue:
"App" isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.
Code signing is required for product type 'Application' in SDK 'iOS 10.0'
Could someone please help me addressing this problem? I'm stuck since days.
List of possible solutions:
Have them add you as a member to their development team.
Make the bundle ID dependent on the the build configuration. Then you can register an App ID yourself and add the capability.
Make the entitlements.plist-file dependent on the configuration. Have a separate entitlements.plist-file without the capability for your development and testing.
I am trying to create a widget on the Today extension but have been having some issues regarding entitlements with my provisioning profile.
In essence I'm just trying to output a greeting message on the Today extension. But I am not able to view this message because of what I believe is an entitlements/provisioning profile issue that is preventing the App Groups from being used. I am using XCode 6.1
The error I'm having is below (apologies for all the links; I don't have enough rep points to post inline images it seems)
http://imageshack.com/a/img540/6973/eYBQly.png
And on my Developer Account, you can see that I've enabled App Groups on this App ID
http://imageshack.com/a/img912/3636/jY84SI.png
But it still doesn't seem to work, i.e. I still get the errors pertaining to App Groups not being a part of the App ID which in turn is, I believe, preventing the Today widget from working.
Would someone be able to please explain how the provisioning profile works and what it is that I might be missing here?
Follow these steps
Find your App Id and make sure your App Group state is Enabled.
Use your App Id to create Provisioning Profiles and download to your computer then double click it
Check Xcode's Identity to make sure your team is the right one. If you have problems, click fix issue
Have a look at this link too
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html