I just created a default project in Android studio and opened xworkspace from xcode. I successfully installed it on ios simulator. But after adding any package xcode gives the following error Parse issue Module 'package_name' not found. I could not run with any packages. For example catcher,flutter_chat_bubble,devicelocale. If I remove package it runs perfectly on ios simulator. I tried flutter clean , flutter pub get, pod install , pod update. After it gives me following message Pod installation complete... The podfile does not contain any dependencies. In xcode my IOS deployment target is the same as Podfile 12.0
Related
Unable to get Xcode project information:
2022-12-01 13:57:05.376 xcodebuild[71564:226197] Writing error result bundle to
/var/folders/6g/w7cqd0s54c33_20mrl4v2q640000gn/T/ResultBundle_2022-01-12_13-57-0005.xcresult
xcodebuild: error: Unable to read project 'Runner.xcodeproj'.
Reason: Project /Users/noel/Treegar/treegar-app/ios/Runner.xcodeproj cannot be opened because it is missing its
project.pbxproj file.
i keep getting this error when ever i run flutter run or flutter build ios.
i dont know what to do... it works fine on android but not on ios.
ive updated xcode and flutter same problem
flutter doctor -v
UPdate cocoapod to latest version
update flutter
update xcode
This error message indicates that the Runner.xcodeproj file is missing or cannot be opened.
This file is part of the Xcode project for your Flutter app and is necessary for building and running the app on iOS.
To fix this issue, try the following steps:
Make sure that you have the latest version of Xcode installed on
your computer. You can check for updates and download the latest
version of Xcode from the Mac App Store.
Make sure that you have the latest version of the Flutter SDK
installed on your computer. You can update Flutter by running the
flutter upgrade command in a terminal window.
Make sure that you have the latest version of CocoaPods installed on
your computer. You can update CocoaPods by running the
sudo gem
install -n /usr/local/bin cocoapods
command in a terminal window.
Make sure that you have a valid Xcode project file for your Flutter
app. If the Runner.xcodeproj file is missing, you can try running
the flutter create . command in the root directory of your Flutter
app to recreate the Xcode project files.
If the above steps do not help, you can try deleting the ios directory in your Flutter app and running the flutter create . command again to recreate the Xcode project files from scratch.
After trying these steps, try running the flutter run or flutter build ios command again to see if the issue has been resolved. If you continue to encounter errors, please provide more information about the specific steps you are taking and the full error message you are seeing.
try flutter clear and pubget.
or
try pod install
or
if it is not harmfull for your code try to delete ios folder and recreate it
in your project. may be this can work .
Error occurring:-
pubspec.yaml file:-
Podfile:-
Below are solutions I tried but still the app don't build on iOS Simulator on MAC m1.
Tried running pod init and pod install in iOS directory.
Tried running flutter clean and flutter pub get.
Tried re-installing the CocoaPods.
Tried updating the Xcode command line tools.
Tried deleting and again downloading the common line tools.
Tried updating the Xcode to latest version
I have flutter's app for iOS. It is working on device. but I cant run this on simulator. I have this error:
/Users/admin/StudioProjects/Cvetovik_app/ios/Runner/GeneratedPluginRegistrant.m:12:9: Module 'audio_session' not found
But I don't use this plugin audio_session. This is my architectures properties:
how do I fix this? I need to test the application on a simulator
First Open runner.xcworkspace not .xcodeproj
Hope its work for you
Try to reinstall Pod
Delete Pods folders and run
flutter clean
flutter pub get
in ios folder /
pod init
pod deintegrate
pod install
I am trying to compile and build the ReactNative project for IOS. I am now using XCode version 12.5 which is the latest at the moment. My ReactNative version is 0.59.10. Before I was compiling and building my project on XCode version 11.x and it was working fine. Then I installed the latest XCode version, 12.5. Then I deleted the node_modules folder and run the "npm install" again. When I opened the IOS project in the XCode and tried to build it, it is giving me the following error.
node_modules/react-native/React/../third-party/folly-2018.10.22.00/folly/dynamic.h:63:10: fatal error: 'boost/operators.hpp' file not found
#include <boost/operators.hpp>
^~~~~~~~~~~~~~~~~~~~~
When I built the project in the older version of XCode, it works fine. I looked up the solution online and it seems that that is because maybe the project is not using Podfile or Pods. In ReactNative version 0.59.10, it is not using Podfile or Pods to manage the dependencies. How can I build the project? Is upgrading the ReactNative only option? Is there any other solution?
I am able to run my React Native application in the simulator via Expo, but as soon as I try to build it with Xcode, I receive this error:
'SFSafariViewController' is only available on iOS 9.0 or newer (React
Native Build)
These are the steps I took to build.
Run npm run eject
Eject with 'ExpoKit' option
cd into the ios directory
Run pod install
Open up the xcworkspace file in Xcode
In both the project and the target, I changed the Deployment Target value to 11.0
Run the build to a iOS version 11 simulator
The build then fails with 7 of the above errors. I am using Xcode version 9.0, Pods version 1.3.1.
Any help would be greatly appreciated.
For me, the errors were coming from the "AppAuth" dependency.
I fixed this issue by setting the "iOS Deployment Target" of this package to iOS 9.0.