doug-a-brunner opened a new issue, #1364: URL: https://github.com/apache/cordova-ios/issues/1364
# Bug Report ## Problem ### What is expected to happen? After building the project using `ionic cordova build ios --prod --release` from CLI, I can open `PROJECTNAME.xcodeproj` and build/debug the app on a physical device. ### What does actually happen? The build fails in Xcode, with an error message "Library not found for -lPods-PROJECTNAME". ## Information The build process succeeds when using `[email protected]`, but fails with 7.0.0. I noticed that when building with 7.0.0 `[!] The Podfile does not contain any dependencies` prints to the console when adding the platform and when building. This message does not appear when using 6.3.0. Interestingly, the actual content of `platforms/ios/Podfile` does not seem to differ between 6.3.0 and 7.0.0. I tried re-installing Cocoapods several different ways, since from my searches this error message usually indicates a problem with the Cocoapods installation. These included: - `sudo gem install cocoapods` using system Ruby, with pinning of `activesupport` to an old version as needed - `gem install cocoapods` using current Ruby installed with Homebrew via `rbenv` - Same as two preceding but with `arch --x86_64` - `brew install cocoapods` ### Command or Code The problem occurs both with my own project and when using a standard Ionic `tabs` template project generated like so: ``` % ionic start fnord tabs --type=angular --cordova % cd fnord % ionic cordova platform add ios % ionic cordova build ios ``` When I open `fnord/platforms/ios/fnord.xcodeproj` and select Product → Build, the error occurs. ### Environment, Platform, Device Mac Mini M1 (2020), Mac OS Ventura 13.0 ### Version information Cordova CLI 12.0.0 `cordova-ios` 7.0.0 `cordova-plugin-device` 2.0.2 `cordova-plugin-ionic-keyboard` 2.0.5 `cordova-plugin-ionic-webview` 5.0.0 `cordova-plugin-splashscreen` 5.0.2 `cordova-plugin-statusbar` 2.4.2 `@ionic/angular` 7.0.0 Ionic CLI 7.1.1 Mac OS Ventura 13.0 Xcode 14.3.1 ## Checklist - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
