ios - The executable was signed with invalid entitlements (0xE8008016) - tried all other solutions -


i know has been asked hundred thousand times, after 3 hours none of answers have provided solution issue.

i changed app i'm developing ad-hoc distribution enterprise distribution. updated xcode 7.1 morning (although i'm not sure if it's related). nothing else changing in application, whenever try compile application , install on device, error code signing entitlements file toes not match entitlements in provisioning profile.

xcode error

my entitlements:

$ cat godriver/godriver.entitlements

<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict>     <key>aps-environment</key>     <string>development</string>     <key>keychain-access-groups</key>     <array>         <string>$(appidentifierprefix)com.rudylimo.godriver</string>     </array> </dict> </plist> 

the app id on developer portal:

apple developer portal

and apps capabilities:

app capabilities

i've attempted run app on 2 devices , simulator , run on simulator.

edit:

after more testing, if remove aps-environment row entitlements file, app builds , installs (but without push notifications working).


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -