Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

iOS Required Capabilities and Included APIs

Hi,

After loading my project into Xcode, I noticed that there are a lot of required capabilities set by default that are not easily switched of in Appery's interface.

Also, although I have not enabled Push notifications in my app, when I pushed the app to the App Store, I then received the following notification:

------------------------------------------------------------------------------------------------------

"Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. "

------------------------------------------------------------------------------------------------------

Am I correct in assuming that I should edit the config.xml with the Appery Source to correct this?

For Push (when I dont require it), should I simply delete the following?

Code: Select all

 feature name="PushNotification" 
     param name="ios-package" value="PushNotification"  
 feature 

and for capabilities that I do not require (eg compass), should I simply delete the following?

Code: Select all

 feature name="Compass" 
     param name="ios-package" value="CDVCompass" 
 feature
Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

iOS Required Capabilities and Included APIs

Hello,

Please look at this topic:
https://getsatisfaction.com/apperyio/...

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

iOS Required Capabilities and Included APIs

ah, so it's something you are working on?

I have actually tried the above and it's allowed me to publish to Apple and it's now awaiting approval.

Look forward to hearing more, many thanks.

Andy

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

iOS Required Capabilities and Included APIs

Hello! Feel free to delete any feature from config.xml. If something stopped working, you can always undo changes.

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

iOS Required Capabilities and Included APIs

Hi.
I am not using push in my app, if I understand you correct, this can be removed from config.xml? Please elaborate on how to do this.

I am getting this message from Apple after submission to app store;
code

Dear developer,

We have discovered one or more issues with your recent delivery for "APPNAME". Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.

If you would like to update your binary for this app, you can reject this binary from the Binary Details page in iTunes Connect. Note that rejecting your binary will remove your app from the review queue and the review process will start over from the beginning when you resubmit your binary.

Regards,

The App Store team

/code

Andy Parker
Posts: 0
Joined: Wed Mar 27, 2013 10:21 am

iOS Required Capabilities and Included APIs

Yes, just remove the capability from that file.

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

iOS Required Capabilities and Included APIs

  • I removed not needed lines from config.xml

    • Exported my app as IPA

    • Pushed it to app store

      Again, I receive the same email from app store team. Please advice.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

iOS Required Capabilities and Included APIs

Hello,

Just remove
"Use push notification" in project settings.

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

iOS Required Capabilities and Included APIs

"Use push notification" are UNCHECKED in App settings.

Nikita
Posts: 0
Joined: Fri Feb 28, 2014 4:02 pm

iOS Required Capabilities and Included APIs

Hi,

And with these lines isn't this message returned?

Return to “Issues”