Phonegap / Xcode更新的启动画面图像现在无法构建(Phonegap / Xcode Updated Splash Screen Images Now Won't Build)
我有适用于iOS的Phonegap项目。 我只是通过覆盖它们来更新3个不同文件夹中的闪屏图像。 当我开始构建应用程序时,它失败并出现以下错误:
从终端输出
当前的发布故事板未定义
不更改信息plist中的启动故事板设置。
需要更新构建设置,因为项目正在使用旧版启动图像而没有故事板。
将ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME设置为LaunchImage,因为项目正在使用旧版启动图像而没有故事板。
错误:/fulfilled上的/private/var/root/tester/platforms/ios/cordova/lib/prepare.js:239:29出错:/ private / var / root / tester / platforms / ios / cordova / node_modules / q / q.js:834:54)来自Promise.promise.promiseDispatch的self.promiseDispatch.done(/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:863:30) private / var / root / tester / platforms / ios / cordova / node_modules / q / q.js:796:13)/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js: 857:14 at runSingle(/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:137:13)在flush(/ private / var / root / tester / platforms / ios / cordova) /node_modules/q/q.js:125:13)在module.runMain的process._tickCallback(internal / process / next_tick.js:98:9)的_combinedTickCallback(internal / process / next_tick.js:67:7)处( module.js:607:11)
从终端输出结束
在此期间我没有更改config.xml或Xcode中的任何设置,并且应用程序能够在覆盖图像之前构建。 不知道这会是一个问题,因为我只是替换图像。
如果有人想要更多我可以提供的细节,但我认为我必须做一些非常愚蠢和简单的事情。
I have Phonegap project for iOS. I just updated the splashscreen images in 3 different folders by just overwriting them. When I go to build the app now it fails with the following errors:
OUTPUT FROM TERMINAL
Current launch storyboard undefined
Not changing launch storyboard setting in info plist.
Need to update build settings because project is using legacy launch images and no storyboard.
Set ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME to LaunchImage because project is using legacy launch images and no storyboard.
Error: Error at /private/var/root/tester/platforms/ios/cordova/lib/prepare.js:239:29 at _fulfilled (/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:834:54) at self.promiseDispatch.done (/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:863:30) at Promise.promise.promiseDispatch (/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:796:13) at /private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:857:14 at runSingle (/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:137:13) at flush (/private/var/root/tester/platforms/ios/cordova/node_modules/q/q.js:125:13) at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9) at Module.runMain (module.js:607:11)
END OUTPUT FROM TERMINAL
I didn't change any settings in config.xml or Xcode during this and the app was able to build before overwriting the images. Didn't think it would be a problem since I was just replacing images.
If anyone wants more details I can provide but figured I must be doing something quite dumb and simple here.
原文:https://stackoverflow.com/questions/42171009
最满意答案
准备语句时,必须使用标志。
例如
ps = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
When you prepare the statement, you have to use a flag.
e.g.
ps = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);
相关问答
更多-
有没有办法从准备的语句中检索自动增量ID(Is there a way to retrieve the autoincrement ID from a prepared statement)[2023-11-14]
是。 看到这里 第7.1.9节。 将您的代码更改为: String sql = "INSERT INTO table (column1, column2) values(?, ?)"; stmt = conn.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS); stmt.executeUpdate(); if(returnLastInsertId) { ResultSet rs = stmt.getGeneratedKeys(); ... -
您的绑定被反转。 $stmt->bind_param("isi", $nickname, $points, $difficulty) 说$nickname和$difficulty是整数。 您的数据库的nickname为varchar 。 它应该是: $stmt->bind_param("sii", $nickname, $points, $difficulty) 你可以在这里看到它。 Character Description i corresponding variable h ...
-
在所有应有的尊重下,你这样做的方式都会破坏准备好的陈述的全部目的。 我会用这个表单来代替: SET @query = 'INSERT INTO tblcommodity (id, idname, count) VALUES (?, ?, ?)'; PREPARE stmt FROM @query; EXECUTE stmt USING @p1, @p2, @p3; With all due respect, the way you do it kindof defeats the whole purpos ...
-
Java - H2数据库 - getGeneratedKeys()不返回任何结果(Java - H2 Database - getGeneratedKeys() not returning any results)[2021-12-11]
您需要在提交连接之前获取生成的密钥,而不是之后。 You need to get the generated keys before committing the connection, and not after. -
如果没有影响行,executeUpdate返回0或受影响的行数。 您的代码中的哪一步抛出异常? 编辑2:好的,看起来合并将起作用。 PreparedStatement stmt = connection.prepareStatement( "merge table_1 t1 " + "using (select 'testvalue' as col1) t2 " + " on t1.col1 = t2.col1 " + " when not m ...
-
该错误表明prepare语句已失败,但不清楚哪一个。 下面的代码没有经过测试,我想知道你的重音是否可能导致问题(?)所以我将该变量重命名为$hashResultSet rs = stmt.getGeneratedKeys(); JDBC驱动程序将添加'RETURNING。 。 。 INTO。 。 '到您提供的查询结尾,以返回要求的值。 在你的情况下,SLAB_ID总是为INSERT生成,因为你没有指定自己的列。 当“RETURNING ..”被添加到查询结尾时,生成的语法无效,从而显示错误消息。 ORA-00933:SQL命令未正确结束 返回。 。 。 仅支持INSERT ... VALUES; 也就是说,对于使用VALUES子句的INSERT语句来 ...我将这个问题发布到了IIUG ,并且我在那里得到的回应指出了Informix(APAR IC98247)中的一个错误,并在比我使用的版本晚的版本中进行了修复。 我现在正在尝试的解决方案,是朋友在同样的困境中推荐的,是从刚刚插入的行中读取request_id SELECT max(request_id) from Header where order_id = ${orderId} ; // Avoid race condition, accidentally reading the last row ins ...
这个getGeneratedKeys()JDBC语句有什么问题?(What is wrong with this getGeneratedKeys() JDBC statement?)[2022-03-24]
你的问题是这一行: statement.executeUpdate(query); 不使用no参数版本传递query参数: statement.executeUpdate(); 第一个版本不使用您已经编写的语句,而是使用您的查询字符串创建一个新语句(不使用RETURN_GENERATED_KEYS选项) Your problem is this line: statement.executeUpdate(query); don't pass the query parameter in use the ...Java Prepared-Statement getGeneratedKeys()错误(Java Prepared-Statement getGeneratedKeys() error)[2021-11-10]
准备语句时,必须使用标志。 例如 ps = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS); When you prepare the statement, you have to use a flag. e.g. ps = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);相关文章
更多- phonegap分享到微信插件(安卓版)
- phonegap分享到微信插件(iOS版)
- zoj 2966 Build The Electric System
- 【Hadoop】Build and Run HDFS
- phonegap与微信开放平台接口整合
- redhat6.4上build storm 0.9.0.1
- Nutch 1-build
- 重新Build Hadoop后进入Hive客户端异常
- Don’t work. Be hated. Love someone.
- 关于如何参与到开源项目中《How To Succeed In Open Source ( In Ways You Haven't Considered Yet )》
最新问答
更多- h2元素推动其他h2和div。(h2 element pushing other h2 and div down. two divs, two headers, and they're wrapped within a parent div)
- 创建一个功能(Create a function)
- 我投了份简历,是电脑编程方面的学徒,面试时说要培训三个月,前面
- PDO语句不显示获取的结果(PDOstatement not displaying fetched results)
- Qt冻结循环的原因?(Qt freezing cause of the loop?)
- TableView重复youtube-api结果(TableView Repeating youtube-api result)
- 如何使用自由职业者帐户登录我的php网站?(How can I login into my php website using freelancer account? [closed])
- SQL Server 2014版本支持的最大数据库数(Maximum number of databases supported by SQL Server 2014 editions)
- 我如何获得DynamicJasper 3.1.2(或更高版本)的Maven仓库?(How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?)
- 以编程方式创建UITableView(Creating a UITableView Programmatically)
- 如何打破按钮上的生命周期循环(How to break do-while loop on button)
- C#使用EF访问MVC上的部分类的自定义属性(C# access custom attributes of a partial class on MVC with EF)
- 如何获得facebook app的publish_stream权限?(How to get publish_stream permissions for facebook app?)
- 如何防止调用冗余函数的postgres视图(how to prevent postgres views calling redundant functions)
- Sql Server在欧洲获取当前日期时间(Sql Server get current date time in Europe)
- 设置kotlin扩展名(Setting a kotlin extension)
- 如何并排放置两个元件?(How to position two elements side by side?)
- 如何在vim中启用python3?(How to enable python3 in vim?)
- 在MySQL和/或多列中使用多个表用于Rails应用程序(Using multiple tables in MySQL and/or multiple columns for a Rails application)
- 如何隐藏谷歌地图上的登录按钮?(How to hide the Sign in button from Google maps?)
- Mysql左连接旋转90°表(Mysql Left join rotate 90° table)
- dedecms如何安装?
- 在哪儿学计算机最好?
- 学php哪个的书 最好,本人菜鸟
- 触摸时不要突出显示表格视图行(Do not highlight table view row when touched)
- 如何覆盖错误堆栈getter(How to override Error stack getter)
- 带有ImageMagick和许多图像的GIF动画(GIF animation with ImageMagick and many images)
- USSD INTERFACE - > java web应用程序通信(USSD INTERFACE -> java web app communication)
- 电脑高中毕业学习去哪里培训
- 正则表达式验证SMTP响应(Regex to validate SMTP Responses)