My application is working on simulator.There is no any error.But when running on iPhone device I get to this error
OpenGLES/ES2/gl.h is not found
Error location
iphoneOS6.1->Frameworks->CoreVideo.framework->CVOpenGLESTexture.h
I did not use this framework in my application.What is CVOpenGLESTexture.h ?Why I get to this error when running on device ?
Related
[default] LSPrefs: could not find untranslocated node for <FSNode 0x600003002ae0> { isDir = ?, path = '/private/var/folders/k7/zdtfstr13gxcrwg98wc0k1dm0000gn/X/14ADFEAC-68C8-59CF-AC5B-21F464164A42/d/Wrapper/Dicee-iOS13.app' }, proceeding on the assumption it is not translocated: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"
I am getting similar messages in the console when running an iOS app from XCode on the target myMac (Designed for iPad).
However, as far as I am concerned, this is just a warning that does not prevent the app from running.
More information on translocation here: https://eclecticlight.co/2021/04/19/ios-apps-are-translocated-when-run-in-macos/
I also had a similar error on the target My Mac (Designed for iPad).
M1 Mac, Xcode 14.0.1, MacOS Monterrey 12.6.
The app builds fine on all other targets. It started crashing on the Mac target when I added MKLookAroundViewController to the storyboard, as shown at 36:00 in https://developer.apple.com/videos/play/wwdc2022/10035/
To solve this, I deleted the Look Around view controller from the storyboard and added it programmatically instead.
There is an exception throwing somewhere in the codebase of my flutter application.
However this is what the console output:
[VERBOSE-2:dart_error.cc(16)] Unhandled exception:
// (nothing, should be printing stack-trace or error message here)
Not having the stack-trace makes it very hard to find where this bug is coming from.
Does anyone know if it is normal that the stack-trace or the error message does not print?
Is there a mode in which I should run flutter run in order to see more information about the error being thrown?
Setup :
flutter: 0.2.8
running on an iphone device
One insight to obtuse ios physical device / flutter errors is review the the physical device console and device logs. In my case, I'm using an iphone 6S trying to work on a camera app.
The logs are available via Xcode --> Window --> Devices and Simulators --> choose Devices, then select either "View Device Logs" or "Open Console" button. Select the button for "Errors and Faults" to make this a bit easier.
In my case I discovered an error in camera permissions that wasn't visible at all from my development environment. The app just crashed, I had no clue why... Then I found this in the log...
error 21:51:03.438135 -0700 tccd Refusing TCCAccessRequest for service kTCCServiceCamera and client /var/containers/Bundle/Application/A817FC3E-F55D-46F5-9EF2-372E4FC90B1B/Runner.app[319] without NSCameraUsageDescription key
error 21:51:03.476854 -0700 Runner This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
The fix for my camera dilemma on the iPhone is as follows:
Find the Info.plist file (Location = flutter_image_picker/ios/Runner/Info.plist )
Add the following key/string pair:
<key>NSCameraUsageDescription</key>
<string>Camera used to take photos in support of the app.</string>
All fixed!
Im in the ipad air 2 simulator and trying to test replaykit and see if the window pops up to view the video of the recorded screen. When I do that I get an error saying this. Is that because Im testing it in the simulator?
plugin com.apple.ReplayKit.RPVideoEditorExtension interrupted
Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.ReplayKit.RPVideoEditorExtension" UserInfo={NSDebugDescription=connection to service named com.apple.ReplayKit.RPVideoEditorExtension}
I ran into this issue as well in the simulator. It breaks in there. On-device it's fine. Searching the internet this seems to always be the case.
I just created my new iOS project as a single view app and tried running it with no codes added, but there appears just a blank black window in the iOS simulator, and it generates the below error:
"The operation couldn't be completed. (Mach error -308 -(ipc/mig)server died)"
Have a look at this question:
Swift Playground and Simulator Error (ipc/mig) server died, Unable to boot the iOS Simulator
Hopefully that will help you too.
I have tried to open my application using start_test_server_in_background. I can see the iPhone simulator but my application is not opening in the simulator. It's showing the following error message.
Note: I have set APP_BUNDLE_PATH.
Any suggestions?