Page 1 of 2

iOS Required Capabilities and Included APIs

Posted: Fri Mar 07, 2014 1:08 pm
by Andy Parker

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

iOS Required Capabilities and Included APIs

Posted: Fri Mar 07, 2014 2:56 pm
by Nikita

Hello,

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


iOS Required Capabilities and Included APIs

Posted: Fri Mar 07, 2014 4:31 pm
by Andy Parker

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


iOS Required Capabilities and Included APIs

Posted: Tue Mar 11, 2014 12:09 pm
by Maryna Brodina

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


iOS Required Capabilities and Included APIs

Posted: Sun Mar 16, 2014 7:22 pm
by Tom6106181

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


iOS Required Capabilities and Included APIs

Posted: Sun Mar 16, 2014 7:53 pm
by Andy Parker

Yes, just remove the capability from that file.


iOS Required Capabilities and Included APIs

Posted: Mon Mar 17, 2014 6:56 am
by Tom6106181
  • 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.


iOS Required Capabilities and Included APIs

Posted: Mon Mar 17, 2014 7:06 am
by Nikita

Hello,

Just remove
"Use push notification" in project settings.


iOS Required Capabilities and Included APIs

Posted: Mon Mar 17, 2014 8:33 am
by Tom6106181

"Use push notification" are UNCHECKED in App settings.


iOS Required Capabilities and Included APIs

Posted: Mon Mar 17, 2014 9:47 am
by Nikita

Hi,

And with these lines isn't this message returned?