I have been trying to publish my react-native app on expo so I can show it to others.
But i am facing error. I looked up on internet but couldn't find solution that can solve my problem.
The error is:
Building iOS bundle
Packager URL http://127.0.0.1:80/index.bundle?dev=false&minify=true&hot=false&platform=ios returned unexpected code 404. Please open your project in the Expo app and see if there are any errors. Also scroll up and make sure there were no errors or warnings when opening your project.
I am using visual studio code and when i run app by
expo start
It opens.. shows QR code... I scan with my iphone..and app opens in expo client.. works perfectly fine there but the above error comes when i try to publish.
can anyone tell me what might be the issue here please ?
Try to publish the app again unchecking the 'Optimize Assets' checkbox. This works for me.
Related
I have an ionic 6 app built with angular and cordova. I can build the app just fine for iOS and it runs on an iPhone with no issues.
But for some reason, when running the same build on an iPad I get CORS error accessing developers.google.com (I assume this is from firebase, which is in my app)
Most of the other questions I've found involve Capacitor, which I am NOT using.
Similar, but I'm not making http requests directly. I'm using AngularFire: https://forum.ionicframework.com/t/cors-issue-when-sending-request-from-ionic-to-firebase-cloud-function/185239
I've been able to repeat this scenario. If I remove the app from the iPad simulator and run it again, it works. However, if I refresh using Safari dev tools, or just re-run the app, the issue occurs. (maybe it's a timing issue?)
erorrs.
Some more information around the erorrs
The way I managed to address this was to switch from the Cordova build to the Capacitor build following the instructions here:
https://capacitorjs.com/docs/cordova/migrating-from-cordova-to-capacitor
Essentially, once I started using the newly create ios folder instead of the old platform/ios that was generated by Cordova, the error stopped.
I don't know why, but maybe this will help someone else.
In my ionic capacitor ios app, the app works just fine on a web browser using ionic serve. When I try running ionic capacitor run ios, that is successful but when I build the app I get this:
While that looks like a lot, you can see that at the end it says Webview failed to load and the request timed out. On my phone, all I see is the splash screen.
Instead, when I run ionic cap run ios -l --external, I get this:
In this console, the same warning messages happen, but it says "onscript loading complete" and then the actual app works.
I have looked through many StackOverflow + github pages offering help for this issue. From this issue, I made sure that my phone and computer were on the same wifi. Anyone experienced this error before/knows what to do? This code has worked in the past.
I figured out the issue! The app was trying to connect to a server that did not exist. I needed to remove the server field in capacitor.config.json. I cut out that json field and then ran ionic cap run ios, and the code worked.
Please comment if you are still experiencing this issue
I am working on an App that is made with Unity and I have to build it in Xcode to get it in the App store.
Now I'm running into a problem here. I am getting this error:
library not found for -lGoogleUtilities
However, when I build the app in debug mode and test it on my iPad, there aren't any troubles. But when I try to build it for TestFlight (Toolbar -> Product -> Archive) that error occurs.
I've followed this tutorial to get it working in debug mode (because I had that error there too before)
https://youtu.be/YHHj1bZUbsc (from 6:20).
I am using the 'Google Admob', 'CloudOnce' and 'Play Services Resolver' plugins for Unity. In the debug version the error (before I fixed it in the debug version), was caused by 'Google Admob'. I feel like I am missing a framework or something in the release build.
Alright, so after another few hours of trying and searching I found out that I was actually opening the wrong file, you would think .xcodeproj would be the correct extension, but actually you have to open the .xcodeworkspace file. It compiled for me.
looks like this :
I have a problem when flutter web debugging. My launching project doesn't stop and displays a blank page.
blank page like this :
i try too webdev serve, but no error.I don't know what made it like that, because there was no error in vs studio
If you have switched to the beta channel and you still encounter this issue, run the following commands
flutter clean
flutter pub cache repair
This is a link to the github issue
Please, verify that your computer is online. Sometime, the app need connexion to load some js files.
I am using phonegap and sencha touch to build mobile applications. I have successfully built Android and iOS application. When it comes to blackberry application, I am using the procedure given at phonegap docs. http://wiki.phonegap.com/w/page/31930982/Getting-Started-with-PhoneGap-BlackBerry-WebWorks
I can able build and deploy application on to the simulator. But when it comes to code signing it always getting failed.
When I run the command "ant build" the signature tools pops up and closes successfully, I even get 75 emails to my inbox.
Note: I have only sigtool.csk and sigtool.db. Is this the problem?
Any Suggestions?
Well at last I got the solution. If you get a code signing error which does not specify any details, just uninstall and reinstall Java, Blackberry web works and Ripple emulator in the same order. It works for me.