我使用Xamarin.Forms它来开发跨平台应用程序,但是有一个问题。我用VS2015 Enterprise。当我在iPhone Simulator上模拟应用程序时出现问题。我选择“配置”模式作为“调试”,选择“平台”模式作为iPhone Simulator。在Windows方面,我使用Xamarin.iOS 11.2,在Mac方面也相同。而且我可以将Windows成功连接到Mac。我用XCode 9.2。
当我运行我的应用程序时,输出为:
启动失败。无法在“ iPhone 5s iOS 11.2”上启动应用程序“ ADF.XPF.iOS”。错误:错误MT1008:无法启动模拟器:找不到文件“ /Users/yazilim/Library/Caches/Xamarin/mtbs/builds/ADF.XPF.iOS/3d07b519b07c870401ed8b5058cf1d91/bin/iPhoneSimulator/Debug/trgovegmmobil.app/trgovegmm ”
我是Perl编程的初学者,我想学习Perl中的OOP.我开发了一个关于sql creator的简单应用程序,但是我有一个问题.我认为问题是传递多个参数.
package SqlCreator;
use warnings;
use strict;
sub new {
my ($class, %args) = @_;
return bless \%args, $class;
}
sub editArray {
my (@array) = @_;
my $text = '';
my $arraySize = scalar @array;
for(my $i = 1; $i<$arraySize; $i++) {
$text .= "'" . $array[$i] . "'". ",";
}
my $length = length $text;
$text = substr($text, 0, $length-1);
return $text;
}
sub createInsertColumn {
my (@column ) = @_;
my $sql = '';
$sql .= …Run Code Online (Sandbox Code Playgroud) 使用Perl开发简单注册表单应用程序时出错.
这是我的HTML.
<html>
<head>
<meta charset="UTF-8">
<title>Kay?t Formu</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<h2>Kay?t Formu</h2>
<form id="signup-form" action="/sample_perl_application/signup.cgi" method="GET">
<div class="form-group">
<label for="name">Ad</label>
<input class="form-control" id="name" name="name" type="text"/>
</div>
<div class="form-group">
<label for="surname">Soyad</label>
<input class="form-control" id="surname" name="surname" type="text"/>
</div>
<div class="form-group">
<label for="age">Ya?</label>
<input class="form-control" id="age" name="age" type="text"/>
</div>
<div class="form-group">
<label for="sexual">Cinsiyet</label>
<select class="form-control" id="sexual" name="sexual">
<option id="male">Bay</option>
<option id="female">Bayan</option>
</select>
</div>
<input class="btn btn-default" id="save" name="save" type="submit" value="Kaydet"/>
</form>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</html>
Run Code Online (Sandbox Code Playgroud)
这是我的perl脚本.
#!"c:\xampp\perl\bin\perl.exe"
use …Run Code Online (Sandbox Code Playgroud)