Iphone被拒绝的应用程序(Iphone Rejected Apps)
我将我的应用程序从版本1.0更新到版本1.1,并且我在一周前将我的iPhone应用程序提交给Apple。几分钟前我收到Apple的这份报告
我们发现您的应用使用了一个或多个非公开API,这些API不符合App Store审核指南。 不允许使用非公共API,因为如果这些API发生变化,可能会导致糟糕的用户体验。
我们在您的应用中找到了以下非公开API:
setContentToHTMLString
。如果您在源代码中使用与上述API相同的名称定义了方法,我们建议您更改方法名称,以便它们不再与Apple的私有API冲突,以避免在将来的提交中标记您的应用程序。
此外,上述API中的一个或多个可能位于应用程序附带的静态库中。 如果您无权访问库的源,则可以使用“strings”或“otool”命令行工具搜索已编译的二进制文件。 “strings”工具可以输出库调用的方法列表,“otool -ov”将输出Objective-C类结构及其定义的方法。
这些技术可以帮助您缩小有问题的代码所在的位置。
请告诉我,怎么做才能解决它?
I update my application from version 1.0 to version 1.1 and I submit my iPhone App to Apple a week ago .Few minutes ago I got this Report from Apple that
We found that your app uses one or more non-public APIs, which is not in compliance with the App Store Review Guidelines. The use of non-public APIs is not permissible because it can lead to a poor user experience should these APIs change.
We found the following non-public API/s in your app:
setContentToHTMLString
.If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions.
Additionally, one or more of the above-mentioned APIs may reside in a static library included with your application. If you do not have access to the library's source, you may be able to search the compiled binary using "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods.
These techniques can help you narrow down where the problematic code resides.
Please tell me, What to do to resolve it?
原文:https://stackoverflow.com/questions/10208416
最满意答案
用这个:
for line in file.split('\n'): # Replace multiple dots with space line = re.sub('\.\.+', ' ', line) # Remove single dots line = re.sub('\.', '', line) print line
Use this:
for line in file.split('\n'): # Replace multiple dots with space line = re.sub('\.\.+', ' ', line) # Remove single dots line = re.sub('\.', '', line) print line
相关问答
更多-
最明显的原因可能是PHP从Perl继承了它的很多语法 - 而Perl使用点( . )作为字符串连接。 但是,我们可以深入研究并找出为什么这是在Perl中实现的 - +运算符最常用于数学等式 - 它仅用于语言中的连接,其中变量类型可以定义运算符工作的方式(简单的解释,例子是C#) var intAddition = 1 + 2; Console.WriteLine(intAddition); // Prints 3 var stringConcat = "1" + "2"; Console.WriteLine ...
-
请试试这个: 下面的regex_replace表达式将替换(0-9)和“。”范围内不是(“^”)的所有字符。 SELECT regexp_replace('ABC$$$%%11633123.60','([^0-9.])','') FROM DUAL; 它返回预期输出"11633123.60" Please try this: The below regex_replace expression will replace all character which are not ("^") in the (r ...
-
更换多个句号(Replace multiple full stop)[2023-07-28]
用这个: for line in file.split('\n'): # Replace multiple dots with space line = re.sub('\.\.+', ' ', line) # Remove single dots line = re.sub('\.', '', line) print line Use this: for line in file.split('\n'): # Replace multiple dots ... -
尝试: SELECT * FROM table WHERE c1 REGEXP '^[a-zA-Z.]+$' anchor ^和$确保您匹配整个字符串而不是它的一部分。 接下来,字符类[a-zA-Z.]匹配单个大写/小写字母或句点。 +是前一个子正则表达式的一次或多次重复的量词,因此在这种情况下,它允许我们匹配句点或大写/小写字母中的一个或多个。 有关MySQL中正则表达式使用的更多信息 Try: SELECT * FROM table WHERE c1 REGEXP '^[a-zA-Z.]+$' Th ...
-
问题是表中域名末尾的一个不可见的字符。 修剪域名以删除其中任何一方的垃圾后,查询按原样应该运行。 Problem was an invisible character at the end of the domain names in the table. After trimming the domain names to remove any junk either side of it the query worked as it should have.
-
awk最适合这类工作 为了取代第二个领域的所有完全停止做 awk -v FS="," -v OFS="," '{gsub(/\./,". ",$2)}1' file.csv > tmpfile && mv tmpfile file.csv 8389383, hello my. friend,839083083,3390903 8389383, hello my. fri. end,839083083,3390903 awk is best suited for these kind of jobs F ...
-
删除字符串中的句号(Remove full stop in string)[2022-05-09]
您正在调用Utils.cleanWord(s2) ,其中s2是Scanner而不是String 。 你的代码应该是: while(s2.hasNext()) { String s = s2.next(); //or s2.nextLine(); depending on what you want.. s = Utils.cleanWord(s); System.out.println(s); } 此外,Java参数是引用,而不是指针。 您不能分配到word参数并期望它在函数外 ... -
由于您没有引用sed代码,因此产生了混淆。 因此,所有转义都由shell解释。 所以\. 你所包含的,被shell解释为普通的. 这就是sed看到的。 这就是sed与任何角色匹配的原因。 您可以通过在shell中键入以下内容来查看sed看到的内容: $ echo s/\$stateProvider.state\(\'app\./\$stateProvider.state\(\'app.myap\./ s/$stateProvider.state('app./$stateProvider.state('app ...
-
完全停止后检查空间(Check for space after full stop)[2023-06-15]
我自己的建议是: .replace(/\.(\S)/g, '. $1') var input = document.querySelector('p.input'), output = document.querySelector('p.output'); output.textContent = input.textContent.replace(/\.(\S)/g, '. $1');Donec malesuada rhoncus massa, eu im ...
-
原始字符串表示法就是指定字符串值的表示法。 当使用正常字符串表示法识别的反斜杠转义时,符号会产生不同的字符串值。 因为正则表达式还附加了反斜杠字符的含义,所以原始字符串表示法非常方便,因为它避免了必须使用过多的转义。 引用Python Regular Expression HOWTO : 解决方案是使用Python的原始字符串表示法来表示正则表达式; 在前缀为'r'的字符串文字中不会以任何特殊方式处理反斜杠,因此r"\n"是包含'\'和'n'的双字符字符串,而"\n"是单字符字符串包含换行符。 正则表达式通 ...