xcode parse issue: Module webview_fltter_wkwebview not found - flutter

Use vscode to compile flutter app with webview on mac,run it in ios simulator,it's normal,
and I have added "io.flutter.embedded_views_previewYES" in ios's Info.plist,I am sure I have installed "webview_flutter" plugin,
but when I run it in xcode,always appears "Module webview_flutter_wkwebview" not found,
till now,I cound not solve the problem,please help,thanks!

https://github.com/fluttercommunity/flutter_webview_plugin/issues/657
I managed to make it work by opening Runner.xcworkspace instead of Runner.xcodeproj

Related

AppCode is unable to build any Swift apps

I am new to Swift and AppCode .
I am trying out existing projects for size and here is a set of interesting ones https://github.com/soapyigu/Swift-30-Projects In particular let's look at Project 28 - SceneDetector.
Here's the App in Xcode
And it works:
Here's the App in AppCode: not even building and no error details.
We get just this:
I have tried to open multiple Apps with AppCode and even create one from scratch. Nothing works at all. What am I misunderstanding? I am using Appcode 2019.3
It is working now! I have completely uninstalled two plugins R4Intellij and Haskell. Note that these were already disabled . Maybe uninstalling these got out of some bad mix of plugins code (disabled notwithstanding) for AppCode?
Debugger works!
Simulator launched from AppCode
Update This does not fix all cases. I am still running into the "Build failed" (without further information) at times.

Shell script invocation error xcode 4.5.1

when i am trying to run my app on device i got the following error.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 6.0'.
After changing any ios sdk in build settings to iPhone Developer now am getting the following error.
/Users/chandrasekhar/Library/Developer/Xcode/DerivedData/UnitConverter-
dhznawqrnkbqwvcrkgpzpkjmooox/Build/Intermediates/UnitConverter.build/Debug-
iphoneos/UnitConverter.build/Script-50524F424C454D533F.sh: line 4:
/Library/JailCoder/Entitlements/Entitlements.py: No such file or directory
help me solve this error. Reinstalling Xcode is not working
Download Jailcoder again and Unpatch the project.
It looks like the script is using JailCoder, which doesn't appear to be installed (or requires re-installing).
got It! I couldn't get jailcoder to unpatch so what you must do is go into the build phases and remove the part that inserts jailcoder into the build phase pretty easy once you take the time to dig into the guts of the app!

Cordova-Based application not and option for newProject

I made the command line helloworld project and it worked. When I try to build from XCode the option to build a "Cordova-Based" application is not there. This picture is what it supposed to show. I don't have the icon. I went through install like the wiki says, Xcode was closed, then I tried the helloworld, success:), and the New Project Cordova-Based... crap, really...
What I should see
and what I do see.
this option was deleted in Cordova 2.xx
you must use the command lines
http://docs.phonegap.com/en/edge/guide_command-line_index.md.html#Command-Line%20Usage
I ran the 1.9 installer and it showed up in Xcode.

Error launching remote program: No such file or directory

Anyone have an idea about this
Error launching remote program: No such file or directory (/Users/muself/Library/Developer/Xcode/DerivedData/myproject-hlelojuljidnnagbdqzliazpdgmn/Build/Products/Debug-iphoneos/myproject.app/myproject).
The project was working fine with the previous Xcode versions. I have just updated the Xcode to Version 4.3.2 (4E2002), & the error start coming.
I have search on the web, and tried a lot of the options like
Quit Xcode, clear the Derived Data folder, restart the Xcode.
Rename the project,
Reset the device,etc
I also tried this on another machine but did not work, the same problem occurs.
But one thing i have some other projects as well and they are working fine.
Thanks for at least reading this.
First try restarting Xcode. If it doesn't work, then try hard reset of your device. This happens to me when I change the bundle identifier of my app.
This solution,I found of the above problem its working fine for me.:)
have you tried to "validate settings" (button on the bottom of project settings)? Do you use some static libs in your app? – Vov4yk
Check your deployment target. I am running Xcode 4.5, and it gave me that cryptic message, while the reason was that my iPad is running version 5.1.1, and my app was set with deployment target of 6.0.
I also get same problem. This below solution works for me.
Thats really annoying. This error happens in a number of different situations. Sometime restarting the Xcode, fixes the problem. If not, follow these steps:
Disconnect your device.
Delete the app from your device.
Quit xcode (Don't just simply close the window, quit it)
Delete derived data folder (~/Library/Developer/Xcode/DerivedData/APPNAME -gbrvhlvwmpiobxdujegtghggrffp - or something like that)
Now start Xcode, connect device and run the project. It should work fine.
Source: http://dhilipsiva.com/2012/07/24/xcode-could-not-launch-app-no-such-file-or-directory-error.html
Hard reset of the device fixed it for me. i.e. power off and back on.
Quitting Xcode, disconnecting, reconnecting the device etc didn't.
The error occurred just after I had created a new project with the a duplicate Bundle Identifier to another. Both apps coexist OK on the device/ in Xcode, but this does seem to cause the above issue.
I saw this when I let the build configuration set up as ad-hoc. After I put it back to Debug it worked fine.

Type Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first

I have had all sorts of bizarre errors, like the one in the title, happen when I am using the Android SDK and AVD Manager with Eclipse. Generally I just unplug the phone and plug it back in or close and reopen Eclipse but it is frustrating. Apparently Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first doesn't allow me to compile my app, i think it is because I was trying to run the emulator with some suggestions from emulator is so slow to no avail. thought i should add im running eclipse 3.5.2 on Ubuntu 11.04
Just restart the eclipse and run the project. The error arises while installing a new target version. After completion of the installation it will get fix automatically. Else restart eclipse.
I met with the same error on my Macbook. I tried one of the methods explained at this link http://techmologies.blogspot.com/2009/05/conversion-to-dalvik-format-failed-with_06.html and solved the problem.
Put the following 2 lines in the eclipse.ini file:
-vm
C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe
Please modify the 2nd line according to the actual situation.
If you have upgraded your SDK, and if you have not updated ADT plugin it will show this error. Please check it once by updating ADT plugin
I made a new installation of Eclipse in different folder(with the same SDK folder) and imported the code to the workspace & it started to work again.