0
我在Xamarin中創建了iPhone應用程序。我在Entitlements.plist中啓用了KeyChain共享功能,以便我可以在類似的應用程序中共享一些數據。該應用程序在模擬器上正常工作並進行調試。但是,當我使用開發或分發供應配置文件簽署應用程序時,該應用程序不會部署在設備上。如果我禁用KeyChain共享應用程序工作正常。可執行文件僅在設備上使用無效授權錯誤進行簽名
我得到一個錯誤,像這樣: -
Info (216)/streaming_zip_conduit: _dispatch_source_read_socket_block_invoke:312: Failed to install application at file:///var/mobile/Media/PublicStaging/appname.iOS.app/ : Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.VEgA0a/extracted/Poll365.iOS.app : 0xe8008016 (The executable was signed with invalid entitlements.)" UserInfo={LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=147, FunctionName=+[MICodeSigningVerifier validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.VEgA0a/extracted/appname.iOS.app : 0xe8008016 (The executable was signed with invalid entitlements.)}
我以前實施的其他應用程序一樣。我認爲這可能是iOS 10的一個問題,我不確定。我怎樣才能解決這個問題?
任何幫助表示讚賞。
我建議使用相同的配置文件,並在'Xcode'中啓用'keychain'來查看它是否有效。 –