You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.模拟器中log报错
Received memory pressure event 2 vm pressure 0
2020-05-21 10:45:21.529913+0800 APP[14272:1358689] [GatekeeperXPC] Connection to assetsd was interrupted or assetsd died
2020-05-21 10:45:21.599179+0800 APP[14272:1358604] [ProcessSuspension] 0x28162b2c0 - ProcessAssertion() Unable to acquire assertion for process with PID 0
2020-05-21 10:45:28.040734+0800 APP[14272:1358613] [error] error: XPC: synchronousRemoteObjectProxyWithErrorHandler encountered error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated.}
CoreData: error: XPC: synchronousRemoteObjectProxyWithErrorHandler encountered error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated.}
2020-05-21 10:45:28.051633+0800 APP[14272:1358613] CoreData: XPC: sendMessage: failed #0
2020-05-21 10:45:28.955553+0800 APP[14272:1357420] location:<+31.26448857,+121.48600270> +/- 1414.00m (speed -1.00 mps / course -1.00) @ 2020/5/21 中国标准时间 10:45:17
2020-05-21 10:45:29.004939+0800 APP[14272:1358989] [ImageManager] First stage of an opportunistic image request returned a non-table format image, this is not fatal, but it is unexpected
2020-05-21 10:45:30.044900+0800 APP[14272:1357420] Luban-iOS image data size before compressed == 6438.629883 Kb
2020-05-21 10:45:30.424797+0800 APP[14272:1357420] Luban-iOS image data size after compressed ==88.625977 kb
2020-05-21 10:45:30.438534+0800 APP[14272:1357420] All finished.
2020-05-21 10:45:32.144812+0800 APP货[14272:1357420] Ionic Native: deviceready event fired after 2526 ms
2020-05-21 10:45:32.153639+0800 APP[14272:1358688] | JIGUANG | D - [JIGUANGService] Action - setDebugMode
请问有什么解决办法吗?感谢。
The text was updated successfully, but these errors were encountered:
1.使用demo方法
ImagePicker.getPictures(async (result) => {
await this.presentLoading('uploading');
console.log('result is ↓');
console.log(result);
if (result && result.images.length !== 0) {
const imgList = await _.cloneDeep(result.images);
await imgList.forEach(i => {
this.getImgToBase64Code(i.uri);
});
}
}, (err) => {
console.log(err);
console.log('imagePicker Error↑');
}, {
maximumImagesCount : 2,
quality : 50,
enablePickOriginal: false,
});
2.getImgToBase64Code方法
getImgToBase64Code(resFilePath) {
const filePath: string = this.webview.convertFileSrc(resFilePath);
this.base64.encodeFile(filePath).then((base64File: string) => {
this.imgList.push({
attId: null,
fileName: new Date().getTime() + '.jpeg',
base64Code: base64File,
url: filePath,
innerUrl: ''
});
// await setTimeout(() => {
// this.showImgList = false;
// this.closeLoading();
// this.showImgList = true;
// }, 2000);
}, (err) => {
console.log(err);
alert(err);
});
}
3.模拟器中log报错
Received memory pressure event 2 vm pressure 0
2020-05-21 10:45:21.529913+0800 APP[14272:1358689] [GatekeeperXPC] Connection to assetsd was interrupted or assetsd died
2020-05-21 10:45:21.599179+0800 APP[14272:1358604] [ProcessSuspension] 0x28162b2c0 - ProcessAssertion() Unable to acquire assertion for process with PID 0
2020-05-21 10:45:28.040734+0800 APP[14272:1358613] [error] error: XPC: synchronousRemoteObjectProxyWithErrorHandler encountered error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated.}
CoreData: error: XPC: synchronousRemoteObjectProxyWithErrorHandler encountered error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection from pid 0 was invalidated." UserInfo={NSDebugDescription=The connection from pid 0 was invalidated.}
2020-05-21 10:45:28.051633+0800 APP[14272:1358613] CoreData: XPC: sendMessage: failed #0
2020-05-21 10:45:28.955553+0800 APP[14272:1357420] location:<+31.26448857,+121.48600270> +/- 1414.00m (speed -1.00 mps / course -1.00) @ 2020/5/21 中国标准时间 10:45:17
2020-05-21 10:45:29.004939+0800 APP[14272:1358989] [ImageManager] First stage of an opportunistic image request returned a non-table format image, this is not fatal, but it is unexpected
2020-05-21 10:45:30.044900+0800 APP[14272:1357420] Luban-iOS image data size before compressed == 6438.629883 Kb
2020-05-21 10:45:30.424797+0800 APP[14272:1357420] Luban-iOS image data size after compressed ==88.625977 kb
2020-05-21 10:45:30.438534+0800 APP[14272:1357420] All finished.
2020-05-21 10:45:32.144812+0800 APP货[14272:1357420] Ionic Native: deviceready event fired after 2526 ms
2020-05-21 10:45:32.153639+0800 APP[14272:1358688] | JIGUANG | D - [JIGUANGService] Action - setDebugMode
请问有什么解决办法吗?感谢。
The text was updated successfully, but these errors were encountered: