我想在Mac(el capitan OSX)上使用xamarin測試記錄器從iOS設備記錄測試。我選擇設備和.ipa(已由開發人員用企業證書籤名),但我收到以下錯誤:代碼簽名失敗。沒有能夠對找到的應用程序進行簽名的密碼標識。 我在機器上有一個免費的蘋果開發者帳戶,我可以在沒有任何問題的情況下從xcode部署一個空白項目。我是否需要一個不同的帳戶才能使用測試記錄器重新簽署.ipa,還是可以使用免費帳戶? 在此先感謝。xamarin測試記錄器上的代碼簽名失敗iOS(物理設備)
0
A
回答
0
免費供應配置文件綁定到特定的包標識符,這是您在Xcode中創建的用於生成免費供應配置文件的標識符。具有顯式應用程序包標識符的配置配置文件不能與具有不同包ID的應用程序一起使用,而使用免費配置過程時,無法爲配置配置文件創建通配符應用程序標識。您可能會嘗試的是再次通過該免費配置程序,但是使用您要在測試記錄器中運行的IPA的確切捆綁ID。見guide on creating the free provisioning profile:
您應該已經完成步驟1-4,所以第5步開始:
- Plug in the iOS device you wish to deploy to and create a new blank single-view iOS project in Xcode.
- Under the General > Identity section, make sure that the Bundle Identifier matches exactly the Bundle Identifier of your Xamarin.iOS app and ensure the deployment target matches or is lower than your connected iOS device. This step is extremely important, as Xcode will only create a provisioning profile with an explicit App ID:
- In the Signing section, select Automatically Manage Signing and select your team from the drop down list:
- The previous step will automatically generate a provisioning profile for you. You can view this, by clicking on the information icon, next to provisioning profile:
- To test in Xcode, deploy the blank application to your device by clicking the run button.
- Return to your IDE, with the same device plugged in, and right-click on your Xamarin.iOS project name to open the Project Options dialog. Browse to the iOS Bundle Signing section and explicitly set your signing identity and provisioning profile:
而且本說明Limitations section是相關的:
Provisioning Profiles created in this way will expire after one week, Signing Identities after one year. Furthermore, provisioning profiles will only be created with explicit App IDs and so you will need to follow the instructions above for every app that you wish to install.
相關問題
- 1. React本機iOS調試物理設備WebSocket連接失敗
- 2. System.Net.Http.HttpRequestException異常將在物理設備上運行xamarin UI測試
- 3. 在設備上進行測試時的代碼簽名問題
- 4. iOS分發失敗代碼簽名
- 5. 在物理設備上測試
- 6. SPF記錄失敗測試
- 7. 測試失敗已記錄
- 8. Xamarin的iOS終止模擬器上運行測試記錄
- 9. Ionic POST在設備上測試時失敗,狀態碼爲-1?
- 10. kivy-ios構建物理設備失敗(iPad Pro 10.5)
- 11. Inno設置 - 簽名失敗,「簽名工具失敗,退出代碼爲0x1」
- 12. iOS:代碼簽名無效/所需的代碼簽名缺失
- 13. Web客戶端失敗的物理設備和仿真器
- 14. Xamarin測試記錄儀
- 15. 如何使用NUnit記錄測試名稱來記錄哪些測試失敗以及哪些測試成功?
- 16. 從Visual Studio運行測試代理的單元測試:登錄嘗試失敗
- 17. 爲什麼我的代碼不能在我的物理設備上運行(iOS)
- 18. xamarin ios。沒有有效的iOS代碼簽名密鑰
- 19. PyCUDA:設備代碼中的Pow嘗試使用std :: pow,失敗
- 20. XCode 4.3代碼簽名失敗
- 21. Xcode 8.2.1代碼簽名檔案失敗
- 22. iOS KIF測試失敗
- 23. Xamarin iOS設備進行簽約
- 24. Xcode 6在物理iOS設備上運行測試不起作用
- 25. 升級到OS X時iOS代碼簽名驗證失敗10.9.5
- 26. iOS版iPad在編程時觸摸失敗(代碼簽名前)
- 27. visual studio 2017 cordova ios在本地設備上調試失敗
- 28. `試點upload`失敗, 「缺少的代碼簽名證書」
- 29. 測試用例失敗此代碼?
- 30. Xamarin在iOS設備上調試時調用ios應用System.IO.FileNotFoundException
不幸的是,如果我複製只是包ID,沒有團隊ID,我在xcode上收到錯誤:「無法創建配置文件,應用程序ID無法註冊到您的開發團隊,請將您的包標識符更改爲唯一的字符串以再次嘗試。 卡在第8步。 – Marco
套件ID是否爲唯一字符串,IOW您沒有與您的Apple Team關聯的應用程序ID與您正在嘗試使用的測試記錄器相同? – jgoldberger
不。我創建了一個全新的蘋果開發賬戶,以執行一些測試並評估Xamarin studio和Xamarin測試記錄器。此外,我想嘗試記錄的應用程序由另一個開發團隊(僅.ipa)提供。 – Marco