Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CodeSign error: code signing is required for product type 'App Extension' in SDK 'iOS 8.0'

“I am going to upload the binary of my app which contains App Extension but it give errors that the

bundle Identifier of the containing app does not matching with theExtension App. CodeSign error: code signing is required for product type 'AppExtension' in SDK 'iOS 8.0' Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“Profile Name”)has an AppID of “com.CompanyName.AppName” which does not match your bundle identifier “com.CompanyName.AppName.ExtensionName”

If we use the same Bundle Identifier then it gives error during the binary uploading.

     “The app extension is not signed with the valid Provisioning certificate”
    Embedded binary is not signed with the same certificate as the parent app. 
Verify the embedded binary target's code sign settings match the parent app's.

Any suggestion will be appreciated.Thanks

like image 899
jamil Avatar asked Sep 24 '14 07:09

jamil


1 Answers

Each extension is a separate target just like the host app. If you have 3 extensions for example, you will need 4 bundle IDs each including the host app, and 4 provisioning profile each.

Each target has its own set of configuration, so if host app and extensions all support CloudKit, you need to turn CloudKit on for each app ID.

Just treat them as separate apps.

like image 121
honcheng Avatar answered Sep 27 '22 22:09

honcheng