Closed codingwithashu closed 6 days ago
Remove / re-add the Cordova ios platform.
did still same error
What version of XCode are you using?
Version 15.0.1 (15A507)
show me your platforms/ios/Podfile
source 'https://cdn.cocoapods.org/' platform :ios, '11.0'
target 'SOS Lite' do project 'SOS Lite.xcodeproj' pod 'CocoaLumberjack', '3.7.2' end
In that folder, run $ pod install
Analyzing dependencies Downloading dependencies Generating Pods project Integrating client project Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
[!] The SOS Lite [Debug]
target overrides the PODS_PODFILE_DIR_PATH
build setting defined in `Pods/Target Support Files/Pods-SOS Lite/Pods-SOS Lite.debug.xcconfig'. This can lead to problems with the CocoaPods installation
$(inherited)
flag, or[!] The SOS Lite [Debug]
target overrides the PODS_ROOT
build setting defined in `Pods/Target Support Files/Pods-SOS Lite/Pods-SOS Lite.debug.xcconfig'. This can lead to problems with the CocoaPods installation
$(inherited)
flag, or[!] The SOS Lite [Release]
target overrides the PODS_PODFILE_DIR_PATH
build setting defined in `Pods/Target Support Files/Pods-SOS Lite/Pods-SOS Lite.release.xcconfig'. This can lead to problems with the CocoaPods installation
$(inherited)
flag, or[!] The SOS Lite [Release]
target overrides the PODS_ROOT
build setting defined in `Pods/Target Support Files/Pods-SOS Lite/Pods-SOS Lite.release.xcconfig'. This can lead to problems with the CocoaPods installation
$(inherited)
flag, orI suggest you follow the instructions in the warning:
The SOS Lite [Debug] target overrides the PODS_PODFILE_DIR_PATH build setting defined in Pods/Target Support Files/Pods-SOS Lite/Pods-SOS Lite.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $(inherited)` flag, or
- Remove the build settings from the target.
If i remove that , getting new error index/SOS\\ Lite.build/Debug-iphonesimulator/SOS\\ Lite.build/Script-6D4D156ED98FDAF483AC4DE8.sh diff: /Podfile.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
and also in platforms/ios -- run pod install then also same
I have no idea what's wrong with your app.
I suggest you attempt to reproduce this in a simple HelloWorld app.
I attached ionic test app
https://drive.google.com/file/d/1NuQUr70adzjicfqRCtvZvJuCjqghfNtS/view?usp=sharing
Your zipfile is messed up, it contains a weird __MACOS
folder with an apparent duplicate of the folder ionictest
.
Also, you added the node_modules
folder to your zip file.
While attempting to run $ ionic cordova build ios
:
Publish your demo app to a public Git repo instead and share the url here.
Did you actually test your helloworld before sending it to me?
I have tested getting same error
Publish your hello-world to a public repository and post the link here.
$ git clone ...
$ npm install
$ ionic cordova platform add ios
$ ionic cordova build ios
Try to install - npm install @ionic/cordova-builders
I'm not going to manually install anything on my end. Give me a simple hello-world app that works out of the box.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Your Environment
cordova -v
): 12.0.0 (cordova-lib@12.0.1)cordova platform ls
):#ready
:com.ourcodeworld.appinstalled 1.0.0 "Our Code World App Installed" cordova-background-geolocation-lt 4.15.3 "BackgroundGeolocation" cordova-plugin-actionsheet 2.3.3 "ActionSheet" cordova-plugin-android-permissions 1.1.3 "Permissions" cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter" cordova-plugin-appavailability 0.4.2 "AppAvailability" cordova-plugin-background-fetch 7.2.1 "CDVBackgroundFetch" cordova-plugin-camera-preview 0.12.3 "cordova-plugin-camera-preview" cordova-plugin-camera 6.0.1-dev "Camera" cordova-plugin-cszbar 1.3.2 "ZBar barcode scanner" cordova-plugin-device 2.0.2 "Device" cordova-plugin-dialogs 2.0.2 "Notification" cordova-plugin-file-opener2 3.0.5 "File Opener2" cordova-plugin-file-transfer 2.0.0 "File Transfer" cordova-plugin-file 8.0.1-dev "File" cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview" cordova-plugin-network-information 3.0.0 "Network Information" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" ionic-plugin-deeplinks 1.0.22 "Ionic Deeplink Plugin" onesignal-cordova-plugin 3.0.4 "OneSignal Push Notifications" uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.6 "Launch Navigator"