I'm trying to archive an iOS react native app with Xcode but it give me these errors:
error The resource /Users/andreacolombo/Desktop/projectName/ios/index.js was not found..
'error: File /Users/MyUser/Library/Developer/Xcode/DerivedData/projectName-bxaxxwslkvjsrgcpsonpisxutuei/Build/Intermediates.noindex/ArchiveIntermediates/projectName/BuildProductsPath/Release-iphoneos/appName.app/main.jsbundle does not exist. This must be a bug with'
My react native version is: 0.59.10.
If i build and run it in release configuration, it give me the same errors
With an other mac it works so it is not a code problem..
I'm going crazy...
What could be?
Thanks!
Related
I'm receiving the following error when trying to run my React Native app for iOS on Xcode: "'React/RCTMockDef.h' file not found". I'm on React Native v0.67.2 and I've already tried doing cd ios and pod install. Can anyone help? Thanks
My build fails when attempting to archive my react native project in Xcode. The following appears when trying to archive:
Does anyone know what may be causing this error? I have tried editing the run script in 'Bundle React Native code and images' to the below as suggested by the link https://github.com/facebook/react-native/issues/3935:
. ~/.nvm/nvm.sh
../node_modules/react-native/scripts/react-native-xcode.sh
However, I'm still getting the same error. Can someone please advise? I'm really stuck here.
Thanks.
My Flutter App builds perfectly fine in VS Code, but when I try to build the app in Xcode to publish it to the AppStore, it gives me the Error:
Module 'connectivity' not found
I'm not familiar with native iOS development, Cocoapods and Xcode. Has someone an Idea what the problem could be?
Thank you for your answer/input
Here is a screenshot of my Xcode:
I have an issue guys. For some reason, I decided to rename my Xcode project runner folder before sending to the apple store. Now I wanted to rebuild for iOS with this command: flutter build ios. But I get this error each time:
Expected ios/Runner.xcodeproj but this file is missing.
Application not configured for iOS
I also tried building this with Xcode. I got this error each time:
/Users/apple/FlutterProjects/kashbase/ios/Pods/Target Support Files/Pods-Kashbase/Pods-Kashbase.debug.xcconfig: unable to open file (in target "Kashbase" in project "Kashbase") (in target 'Kashbase')
What does this mean and how can resolve this? Any helpful effort will be greatly appreciated.
I'm trying to archive my iOS app which works fine when I build for debugging via xcode but when I try to archive the app I get the following errors which I'm not sure what's causing it
I think the real reason for failure would be a little above in the listing, which cannot be seen here.
I had similar kind of issue when updated react native to version 0.54.2 the iOS archive stopped working.
My error message was something like:
A problem occurred while trying to fetch the minifier. Path: "metro-minify-uglify" Cannot find module 'uglify-es'
And the problem was that my react native project only had uglify-js in node-modules (I quess that the new react native needed the uglify-es). So I installed that with:
npm install uglify-es --save
And after that I did (not sure if these are needed) xCode->clean project, shutdown xCode, delete Library->Developer->Xcode->DerivedData, restart Xcode and archive started working again.