我正在尝试将我的应用程序部署到设备上进行测试。
在调试模式下,我可以成功地部署它,并且它工作得很好。
但是,当我试图在发布模式下部署时,它给了我这个错误。
error MT1006: Could not install the application
'/Users/development/Library/Caches/Xamarin/mtbs/builds/AppName.iOS/longstring/bin/iPhone/Release/AppName.iOS.app'
on the device 'My iPhone': AMDeviceSecureIns
我正试图从VS转到Rider。我的Xamarin.Forms项目在iOS和Android上为Mac编译和部署VS。现在我已经在rider中打开了这个项目,它对Android应用程序非常有用,但是当我尝试运行这个iOS应用程序时,我得到了这个错误(在成功构建之后):
Application bundle was not generated after deployment
我试过清理和重建,但没有结果。
有什么想法吗?
我们已经将迁移添加到xamarin forms项目中,并且从那时起我们就不能将其部署到iOS设备上。它可以在模拟器上正常运行,但在部署到设备时会失败,并出现AOT错误。
这似乎是一个在网络上广泛传播的话题,但到目前为止,这些想法都没有起到作用。我们使用的是EntityFrameworkCore v2.2.6和xamarin.forms v4.1.0。
我已经尝试添加-v -v -v,以获取有关构建日志的更多详细信息,但仍然只能得到:
Error Could not AOT the assembly '/Users/MyUser/Library/Caches/Xamarin/
我试图在我的iPad上运行一个Xamarin.Forms应用程序,但得到了以下错误:
Launch failed. The app 'AppIOS' could not be launched on 'My iPad'. Error: error MT1006: Could not install the application '/Users/mycompany/Library/Caches/Xamarin/mtbs/builds/AppIOS/someguid/bin/iPhone/Debug/my.app' on the device
我刚刚安装了Visual 2017,我正在尝试开发一个Xamarin.Forms项目。我克隆了现有的回购程序,可以很好地构建和部署iOS应用程序,但是当我尝试构建Android应用程序时,它会引发以下错误:
Severity Code Description Project File Line Suppression State
Error The file "obj\Debug\android\bin\packaged_resources" does not exist. [Solution Name].Android C:\Program
使用Xamarin.Forms、PC上的Visual Studio2017和MacBook Air将移动应用程序构建到iOS。
昨天,我将Visual Studio版本更新为15.3.5。我还更新了MacBook Air (通过VS for Mac)以获得最新版本的iOS (11.0)。我创建了一个新的应用程序(Xamarin.Forms)只是为了测试更新,一切都像预期的那样工作。
我试图运行我之前开发的一个较旧的应用程序,但我无法在Mac上运行它。
我得到了以下错误:
Launch failed. The app 'AppName.iOS' could not be laun
我正在Visual Studio2015中设置一个新的Xamarin.Forms (可移植)解决方案。目标是在Windows、OSX、iOS和Android上部署该应用程序。到目前为止,我在解决方案中看到了XamarinApp (可移植)、XamarinApp.Droid、XamarinApp.iOS和XamarinApp.UWP项目。
有没有办法将XamarinApp.Mac项目添加到solution Xamarin.Forms解决方案中?或者,是否所有的Xamarin.Mac项目都必须使用Xamarin Studio/Visual Studio for Mac在mac上开发,因为我看到使用