小编dru*_*dge的帖子

应用程序验证失败.我该怎么办?

当我构建应用程序以供发布时,XCode会给我这个警告.

应用程序验证失败.签名无效,或者未使用Apple提交的证书签名.(-19011)

我是否需要删除钥匙串中的所有条目并重做获取证书,配置文件等?

我可以毫无问题地在iPhone和iPad上构建和调试.

如果您知道如何解决这个难题,请提供确切的步骤或方式让我与您联系.

谢谢

----更新-----

构建日志

验证build/Release-iphoneos/iApp.app cd"/ Users/iosdeveloper/Documents/Programming/iPad/iApp HD"setenv PATH"/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin :/ usr/bin:/ bin:/ usr/sbin:/ sbin"setenv PRODUCT_TYPE com.apple.product-type.application /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/Validation"/ Users/iosdeveloper /文件/编程/ iPad/iApp HD/build/Release-iphoneos/iApp.app"

警告:应用程序失败编码验证.签名无效,或者未使用Apple提交的证书签名.(-19011)Executable =/Users/iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app/iApp codesign_wrapper-0.7.10:使用Apple CA进行配置文件评估/ Users/iosdeveloper/Documents /编程/ iPad/iApp HD/build/Release-iphoneos/iApp.app:在磁盘上有效/用户/ iosdeveloper/Documents/Programming/iPad/iApp HD/build/Release-iphoneos/iApp.app:满足其指定要求测试 - 要求:未能满足代码要求codesign_wrapper-0.7.10:无法执行codesign(1) - (null)

iphone xcode certificate ipad ios4

2
推荐指数
2
解决办法
2万
查看次数

从其他域读取cookie

我听说过人们可以使用XSS访问其他网站的cookie.这是一个合法的选择,你是如何实现这一目标的?

cookies xss

2
推荐指数
1
解决办法
390
查看次数

Auto positioning div as one scrolls the page down/up

Please see this UI sketch image, I have this div in sidebar (black box) on a certain site and as I scroll down or scroll up, I don't want it to hide...I want it to move itself down as I scroll down and move itself up as I scroll back up so that it never hides out. Can you recommend me some jQuery that can get this done? or something else. Please help, thanks.

html css

1
推荐指数
1
解决办法
2993
查看次数

有什么方法可以改进我的PHP数据卫生课程?

我正在组建一个网站,(我们已经在客户端使用javascript进行预验证).但是厌倦了每隔一行编写mysql_real_escape_string.我写了这个类只有两个函数,主要集中在用户输入/ sql中清理数据.我的问题是,有哪些方法可以实现更轻松的输入消毒并提高代码可读性?

<?php 
class Safe {
    function userinput($string){
        $string = strip_tags($string);
        $string = htmlspecialchars($string);
        return $string;
    }
    function sql ($string){
       $sqlstuff = Array("union", "select", "update", "delete", "outfile", "create");
       $string = Safe::str($string);
       $string = mysql_escape_string($string);
       $string = str_ireplace($sqlstuff, "", $string);
       return $string;

    }
}
?>
Run Code Online (Sandbox Code Playgroud)

php sql security sanitization class

1
推荐指数
1
解决办法
746
查看次数

搜索框到高级网址

我的网站上有一个搜索引擎,SERP的URL是search/QUERY/1/.

如何制作HTML搜索框以填写QUERY我的网址部分?

它不能真正使用PHP但它可以使用javascript,如果它必须.

html javascript search

1
推荐指数
1
解决办法
306
查看次数

我如何在双引号内解析数组元素

是否有更优雅的方式转义数组元素:

mysql_query("SELECT * from mytable WHERE name = '".$someArray['somename']."'");
Run Code Online (Sandbox Code Playgroud)

更喜欢的东西

mysql_query("SELECT * from mytable WHERE name = '$myname'");
Run Code Online (Sandbox Code Playgroud)

所以避免烦人的'"."'"

php variables

1
推荐指数
1
解决办法
450
查看次数

如何在单选按钮和单选按钮文本之间获取指定的空格?

我有以下代码<asp:RadioButton runat="server" Text="Male"></asp:RadioButton> 我想要单选按钮和单选按钮文本之间的间隙,我在文本字段中做了以下更改(前缀为空格)Text=" Male".但是,我觉得这不是最有效的方法.更好的出路?

html css asp.net spacing

0
推荐指数
1
解决办法
4742
查看次数

为什么我的filesize()方法不起作用?

为什么我的filesize()方法不起作用?我的路径适用于fread()file()方法,但它不会承认路径filesize().为什么不?我的正确道路应该是什么?

<?php     
    $strLessonDescription = fopen("http://nova.umuc.edu/~ct386a28/lovej2ee/exercise5/content/lesson5.txt", "r") 
                            or die ("Error - lesson5.txt cannot be opened");
    $lessonDescription = fread($strLessonDescription, 
                               filesize("http://nova.umuc.edu/~ct386a28/lovej2ee/exercise5/content/vocabulary5.txt"));
    fclose($strLessonDescription);

    echo $lessonDescription;        
    $arrLessonVocabulary = array();
    $arrLessonVocabulary = file("http://nova.umuc.edu/~ct386a28/lovej2ee/exercise5/content/vocabulary5.txt");

    if (arrLessonVocabulary == NULL)
        print "Error - vocabulary5.txt cannot be opened";
?>
Run Code Online (Sandbox Code Playgroud)

php fopen filesize fread

0
推荐指数
1
解决办法
193
查看次数